Hi - I'm probably posting this to the incorrect list (If there is a dedicated apache list would someone please point me in it's direction.) Here's my problem - I'm trying to grab the 'id' part of a url - e.g - www.somewhere.com/id and place the val. into an environment variable - which mod_rewrite can do! Here's the httpd.conf RewriteEngine on RewriteLog mod_rewrite_log.txt RewriteLogLevel 9 RewriteRule /([^\/{1}]\w+)$/) [E=STATUS:$1] The above regex seems to work in regular code, but in httpd.conf it passes nothing to STATUS? Whereas the following code (from the rewriteguide) RewriteRule ^(.*)/S=([^/]+)/(.*) $1/$3 [E=STATUS:$2] Where the URL /foo/S=java/bar/ gets translated to /foo/bar/ and the environment variable named STATUS is set to the value "java". Is there anything obviously wrong with my regex?? Any help is appreciated, Mick