rbrcurtis
April 30th, 2009, 10:02 PM
I have two problems I've noticed since upgrading to jaunty last week. the first is that mod-rewrite stopped working for some mysterious reason.
I was using an .htaccess file to rewrite previously, I've since moved the rewrite rules into apache2.conf:
RewriteEngine on
RewriteLogLevel 9
RewriteLog /var/log/apache2/rewrite.log
RewriteRule ^(.*)play.go$ /play.php
RewriteRule ^(.*)trim.go$ /trim.php
Nothing is getting written to the rewrite.log (I actually added the logging because of this problem. All that shows up in error.log is:
[Thu Apr 30 15:49:14 2009] [error] [client 1.2.3.4] File does not exist: /var/www/Music/foo/play.go
(play.php creates a playlist and sends it to the browser)
I verified, and even removed and re-added rewrite via a2dismod and a2enmod.
Any suggestions?
Thanks.
I was using an .htaccess file to rewrite previously, I've since moved the rewrite rules into apache2.conf:
RewriteEngine on
RewriteLogLevel 9
RewriteLog /var/log/apache2/rewrite.log
RewriteRule ^(.*)play.go$ /play.php
RewriteRule ^(.*)trim.go$ /trim.php
Nothing is getting written to the rewrite.log (I actually added the logging because of this problem. All that shows up in error.log is:
[Thu Apr 30 15:49:14 2009] [error] [client 1.2.3.4] File does not exist: /var/www/Music/foo/play.go
(play.php creates a playlist and sends it to the browser)
I verified, and even removed and re-added rewrite via a2dismod and a2enmod.
Any suggestions?
Thanks.