On Tuesday 09 May 2006 21:16, David Förster wrote: > I found out that the case when the variable was actually set in the SSI > document only occured when index.shtml was rewritten to itself. > > Adding a "RewriteCond %{REQUEST_URI} !^/2005/index.shtml$" prevents this > and the problem persists regardless of the file extension. :-( > > I'd appreciate any hint on this Your original post was too long for me (I don't normally touch rewrite questions). But the above sounds like setting environment variables in a request, then creating a new request with your rewriterules. So the new request doesn't inherit the original one's environment. You could deal with that by setting the environment within the new request's URL space. -- Nick Kew --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx