0

I have a PHP5 website on Windows Server 2008. I want to access .htaccess file. How can I?

Richard Keller
  • 2,270
  • 2
  • 18
  • 31
Varun Jain
  • 103
  • 1

1 Answers1

0

Unless you are running Apache you will not be able to use .htaccess files for your configuration. Your have two options:

  1. Install Apache and set the AllowOverride All directive as specified in the Apache Documentation.
  2. 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 to Web.config files.
Richard Keller
  • 2,270
  • 2
  • 18
  • 31