Feb 102007
 

After migrating my server to Linux, I also tried to do something about the non-existent URL’s. The previous installation had some old websites, but they where never updated. Since I did not migrate them, quite some 404’s started to come up in the logfiles.

I already had quite a number of RewriteRules in place, but for some reason the Rewrite-logfile remained empty. Not sure why, but the logfile was called “rewrite_log”. I checked the httpd.conf and located the logfile. Same name. But whilst here, why not change it to rewrite.log. Restart Apache. New logfile rewrite.log was created. I deleted the old. To test, I opened my browser and pointed to an URL that should be rewritten. Well I’ll be damned! It works. And the logfile grows….

 Posted by at 23:45

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)