I am building a website on a windows server running apache and need to use a .htaccess file for pretty urls. If I add the .htaccess file it is just ignored, do I need to use somehting else? Is a .htaccess ignored on a windows server?
Thank you for the help.
It shouldn’t be different, although I haven’t used Apache on Windows for a long time.
Check the values of any occurrences of the following for the affected directory, or a location in which the affected directory resides:
AccessFileName – this should be set to .htaccess
AllowOverride – this should not be set to None
Also, make sure that any modules that you are trying to use are enabled:
httpd -M