Re: Pre compressed css and javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


First off:

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME}.gz -f


But.. what about Options +MultiViews?
http://httpd.apache.org/docs/current/content-negotiation.html

?
 
> 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

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux