• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

mod_rewrite query

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