• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Mod Rewrite

R

randy998

Guest
Does Mod Rewrite work with plesk/apache

Here is what I have in vhosts.conf


<Directory "/home/httpd/vhosts/ewebpc.com/httpdocs">

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/([a-z0-9_-]+)/?$ /details.php?id=$1 [L]

</Directory>
 
Hi
mod_rewrite does work in plesk ,i am not an expert in , but I do use it very often ,
Usually I place it into .httacess file and plesk is very naughty about the paths so don’t forget to use RewriteBase /(path)

Good luck
 
any solution?

were you ever able to figure this out using the vhost.conf?
 
Originally posted by Dimka
Hi
mod_rewrite does work in plesk ,i am not an expert in , but I do use it very often ,
Usually I place it into .httacess file and plesk is very naughty about the paths so don’t forget to use RewriteBase /(path)

Good luck

How did you get it to work? I am using plesk 7.5.4 on rhel4
 
Back
Top