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>
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>