1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Mod Rewrite

Discussion in 'Plesk for Linux - 8.x and Older' started by randy998, Feb 26, 2005.

  1. randy998

    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]

  2. Dimka

    Dimka Guest

    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
  3. JustBen

    JustBen Guest

    any solution?

    were you ever able to figure this out using the vhost.conf?
  4. lueung

    lueung Guest

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