Using .htaccess in Windows

Posted by Johan Cyprich on 31 Dec 2008 | Tagged as: How To

Apache is most common web server for Linux, and there are even Windows servers that use it. There are certain issues that need to be addressed in order to run the application successfully.

One problem is with the .htaccess file. In Windows, this filename isn’t valid. Its just an extension with no filename. The file can exist in NTFS, but you may have difficult finding an application that can open and edit it.

The solution is simple, change the filename to one that Windows can understand.

  1. Rename the file to htaccess (i.e. remove the period in front of the name).
  2. Locate Apache’s httpd.conf file and add the following line of text to it:

    AccessFileName htaccess

Apache will now be able to read the htaccess file.



Tweet This Tweet This Post!

Related posts:
    Viewing .htaccess in Remote Connections in Eclipse
    Installing Fireboard in Joomla 1.5
    Eclipse 3.5 Galileo
    Using Deprecated Code in PHP 5

Share this post:

del.icio.us:Using .htaccess in Windows digg:Using .htaccess in Windows spurl:Using .htaccess in Windows wists:Using .htaccess in Windows simpy:Using .htaccess in Windows newsvine:Using .htaccess in Windows blinklist:Using .htaccess in Windows furl:Using .htaccess in Windows reddit:Using .htaccess in Windows fark:Using .htaccess in Windows blogmarks:Using .htaccess in Windows Y!:Using .htaccess in Windows smarking:Using .htaccess in Windows magnolia:Using .htaccess in Windows segnalo:Using .htaccess in Windows gifttagging:Using .htaccess in Windows

Follow Me:

Did you find this post interesting and useful? You can keep up to date on this blog by subscribing to my RSS feed, or you can have new posts sent to you by e-mail. You can also follow me on Twitter.


One Response to “Using .htaccess in Windows”

  1. on 16 Jan 2009 at 7:04 pm 1.mecozz said …

    i think add .htaccess only at website wp

Trackback This Post | Subscribe to the comments through RSS Feed

Leave a Reply

CommentLuv Enabled