Eric, Ah I see what you mean changing RewriteCond %{REQUEST_FILENAME}.gz -f to RewriteCond /usr/local/apache2/docs/www.journeycheck.southwesttrains.co.uk/%{REQUEST_FILENAME}.gz -f works. Thank you Ben On 4 October 2010 15:26, Eric Covener <covener@xxxxxxxxx> wrote: > On Mon, Oct 4, 2010 at 10:07 AM, Ben Short <ben@xxxxxxxxxxxxxx> wrote: >> Hi Eric, >> >> I have the DocumentRoot in my vhost. Sorry I omitted some of the configuration. > > I meant on the RewriteCond itself. REQUEST_FILENAME is just the URI > unless your rules are in <directory> or .htaccess, because the request > has not been mapped to any filename yet. > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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