Welcome To Agriya FAQ

ID #0

How to solve .htaccess & Rewrite issues on windows server + Apache

How to solve .htaccess & Rewrite issues that involving kootali installation using windows server + apache server (based on windows package)

Solution:

We had the above issues on our kootali installation that involving windows server and apache server (windows based).

For this scenarios, we should make sure the following steps. If so, then this redirection (mod rewrite and .htaccess configuration) issues should be fixed and we can navigate the various section on our KOOTALI with very smoother way.

1. Make sure you have setup apache and php correctly. Make sure that you can run php scripts without any problem.

2. Use notepad to open httpd.conf config file. Make use the line "LoadModule rewrite_module modules/mod_rewrite.so" is un-commented.

3. Under "" section, change the line "AllowOverride None" to "AllowOverride All".

4. Change the line "AccessFileName .htaccess" to "AccessFileName htaccess". This is because in Windows, we can't have a file with filename that starts with a dot.

5. Save the changed file and restart Apache Windows Service. You can then use the file htaccess to process your url rewritting.

If you done the above steps, then the rest of the process would be going smoother and this redirection issues should be fixed as well.

Tags:

-