Running Apache on Windows 2003 – and module rewrite
So, following this fine guide, I was able to quit easily set up Apache, MySQL and PHP on my Windows 2003 R2 box. However – getting the Apache to work with module rewrite was however quite difficult.
But, digging a little into the Internet gave me a little to edit in httpd.conf:
- Remove "#" from the line that says "#LoadModule rewrite_module modules/mod_rewrite.so"
- Change "None" to "All" where it says: "AllowOverride None", in "<Directory "D:/where_your_files_are">"
And it now works like a charm… ![]()
Apache under Windows said,
February 1, 2007 @ 3:37 am
I believe for mod_rewrite the correct directive for ‘AllowOverride’ is ‘FileInfo’. Thought ‘All’ will work just as well.
If you are looking for an easier way of setting up Apache, PHP, MySQL under Windows, just download the Web-Developer Server Suite.