Shyne wrote:
<VirtualHost *:80>
...

   RewriteEngine on
   RewriteCond /help/%(REQUEST_URI) !-d
   RewriteCond /help/%(REQUEST_URI) !-f

   RewriteRule ^help/?(.*)$ /help/index.php?id=$1 [L,QSA]

</VirtualHost>


- I am not sure if /help/%(REQUEST_URI) points to the right place, but

Round parenthesis are wrong, you must use {...}, but consider using

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

- Should it be ^help/ or ^/help/

In per-server context: ^/help/

In order to debug RewriteRules, use a RewriteLog

RewriteLog logs/rewrite
Rewriteloglevel 5

--
Robert

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to