RH9 Apache Mod_rewrite problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have my httpd.conf set up like this:

<snip>
# Custom ReWrite engine stuff
RewriteEngine on
RewriteLog "/var/log/httpd/rewrite.log"
RewriteLogLevel 9
<snip>
<VirtualHost host.mydomain.com:80>
DocumentRoot "/var/www/html"
<Files index>
    ForceType application/x-httpd-php
    RewriteEngine on
    RewriteRule (.*) /index.php?action=$1
</Files>

now, this works fine when i go to http://host.mydomain.com/index but when i
browse to http://host.mydomain.com/option i get a page not found error.
i'm pretty sure i've got the RewriteEngine working since Apache has created
the rewrite.log but it's blank, and it's not working.

anyone got any ideas what might be wrong?

cheers

andy



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux