• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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