• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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