httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Short <...@benshort.co.uk>
Subject Re: [users@httpd] Pre compressed css and javascript
Date Mon, 04 Oct 2010 14:38:18 GMT
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@gmail.com> wrote:
> On Mon, Oct 4, 2010 at 10:07 AM, Ben Short <ben@benshort.co.uk> 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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message