Jump to content

.htaccess unable to on windows xp


syngod

Recommended Posts

Hey i am trying to get .htaccess files on my server.

 

I run apache 2.2 php 5 and mysql 5 but what my problem is i get to the part where you set up the accessfilename because windows is bogus and don't let you name files like that.

 

but it is not in Apace config

 

here is config from about line 328 to 349 where the area to do this is supposed to be.

 

# a file of this type is retrieved from the registry by the same method as

# the Windows Explorer would use to handle double-clicking on a file.

# These script actions can be configured from the Windows Explorer View menu,

# 'Folder Options', and reviewing the 'File Types' tab.  Clicking the Edit

# button allows you to modify the Actions, of which Apache 1.3 attempts to

# perform the 'Open' Action, and failing that it will try the shebang line.

# This behavior is subject to change in Apache release 2.0.

#

# Each mechanism has it's own specific security weaknesses, from the means

# to run a program you didn't intend the website owner to invoke, and the

# best method is a matter of great debate.

#

# To enable the this Windows specific behavior (and therefore -disable- the

# equivilant Unix behavior), uncomment the following directive:

#

#ScriptInterpreterSource registry

#

# The directive above can be placed in individual <Directory> blocks or the

# .htaccess file, with either the 'registry' (Windows behavior) or 'script'

# (Unix behavior) option, and will override this server default option.

#

 

 

can anyone help

Link to comment
Share on other sites

You can create .htaccess files fine in windows. Open Notepad click File > Save As.. type C:\.htaccess in the Filename box. Now select All Files from the File Type pull down menu. Click the Save button and viola a .htaccess file should of been created in the root of the C: drive.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.