[mythtv-users] .19 mythweb - mod_rewrite not working
Jonathan Markevich
mythtv at jonandtina.net
Sun May 14 20:11:05 EDT 2006
>> I tried messing around with the rewrite rule, changing it to this:
>>
>> RewriteRule ^(.+)$ info.php/$1 [QSA,L]
>>
>> ...and added a phpinfo() page. It doesn't seem to be passing the $1
>> anywhere. I also tried:
>>
>> RewriteRule ^(.+)$ mythweb.php/$1.test [QSA,L]
>>
>> and I get an error page saying "An unknown module was specified .test"
>
>Put any changes you made back to what they should be before you played
>with them, then confirm your apache2 or apache is using the rewrite
>engine...
>
>You using apache2? If so, confirm rewrite.load is symlinked from the
>/etc/apache2/mods-enabled dir back to /etc/apache2/mods-available, and
>then restart apache2.
Yes, it seems to be rewriting. If I go to http://servername/mythweb/tv
it opens http://servername/mythtv/mythweb.php (though it doesn't show in
the address bar, that shows http://servername/mythweb/tv, as it
should). If I understand mod_rewrite, that is. It just refuses to pass
the "/tv" part.
No I'm using KnoppMyth, which has 1.3 by default. I could install
Apache2, if it would be easier than fixing 1.3...
More information about the mythtv-users
mailing list