Author | Topic: Need apache help - mod_rewrite not working... | |
---|---|---|
Thomas Braun | Need apache help - mod_rewrite not working... on Fri, 25 May 2007 13:35:17 +0200 Hi, currently I'm migrating my WAA site form IIS to Apache 2.2. So because all of my urls contain waa1gate.isa, I thougt it would be a good idea to not change all html files but use mod_rewrite to change the .isa extension into .exe... but I can't get mod_rewrite to do anything at all. Basically, I'm using this lines in httpd.conf: LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine on RewriteRule ^(.*)waa1gate.isa(.*)$ $1waa1gate.exe$2 [R,L] RewriteLog logs/rewrite.log RewriteLogLevel 9 But no URL rewriting takes place and rewrite.log stays empty... The only thing I get is "couldn't create child process... waa1gate.isa" in error.log. I have been looking at this for hours now, read all the documentation I could get from the apache website - but without any success... I attach the complete configuration, so maybe some else immediately can tell what I'm doing wrong (I'm almost 100% sure it is my fault The most frustating thing is that I once had this working on a different machine, but lost the configuration due to a disk crash before I even had the chance to do a backup... ((( HELP Thomas httpd.conf | |
Thomas Braun | Re: Need apache help - mod_rewrite not working... on Fri, 25 May 2007 17:40:31 +0200 Thomas Braun wrote: > So because all of my urls contain waa1gate.isa, I thougt it would be a good > idea to not change all html files but use mod_rewrite to change the .isa > extension into .exe... but I can't get mod_rewrite to do anything at all. Problem solved, had to do with my virtual hosts... forgot to set the rewrite engine on in the virtual host settings. Thomas |