• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

mod_rewrite not working at all!!!!!

T

Thratchen

Guest
HI
I'm trying to get mod_redirect work on my linux/FC3 but I'm having no luck.

Ive tried it on domains and subdomains with the same results.


For instance Ive checked the /etc/httpd/conf/httpd.conf

and found the loadmodule in the correct place

Code:
LoadModule rewrite_module modules/mod_rewrite.so

then I've checked that the /etc/httpd/modules/mod_rewrite.so exists.
(Ive also tried deleting mod_rewrite.so and restarting the webserver, just to see if it complains. Which it does :( )


After that Ive added the following to /home/httpd/vhosts/DOMAIN-NAME.com/conf/vhost.conf

Code:
<Directory /home/httpd/vhosts/DOMAIN-NAME.com/httpdocs/>
        RewriteEngine on
        RewriteBase /
        RewriteRule ^/player/(.*)/$ /player.php?ID=$1
</Directory>

then regenerated the config files by running

/usr/local/psa/admin/bin/websrvmng -a -r

after this i am expecting

http://DOMAIN-NAME.com/player/2/

to take me to
http://DOMAIN-NAME.com/player.php?ID=2


but it doesnt work and all I get is a 404.


can anyone help?
Are there any config options that would stop modrewrite working?
 
Back
Top