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

    0
     
    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>
     
  2. Dimka

    Dimka Guest

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

    JustBen Guest

    0
     
    any solution?

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

    lueung Guest

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