I have a PHP5 website on Windows Server 2008. I want to access .htaccess file. How can I?
Asked
Active
Viewed 151 times
1 Answers
0
Unless you are running Apache you will not be able to use .htaccess
files for your configuration. Your have two options:
- Install Apache and set the
AllowOverride All
directive as specified in the Apache Documentation. - If you decide to use IIS instead of Apache, you will need to use
Web.config
instead of.htaccess
files to change configuration options. See this page for a tutorial on converting.htaccess
toWeb.config
files.

Richard Keller
- 2,040
- 2
- 19
- 31