• 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

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