Re: Rewrite main.css to main-min.css

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

 



----- "Craig Huffstetler" <craig.huffstetler@xxxxxxxxx> wrote:

> > Is it possible to use mod_rewrite to alter a request for main.css
> to
> > main-min.css?
> 
> Yes, but for some reason I think this is more complex. However, I
> will
> answer given the scope given:
> 
> If mod_rewrite is active then add this to .htaccess:

No. Don't. If you have access to the httpd.conf you
should not, NEVER, put ANYTHING in .htaccess

> RewriteEngine on
> RewriteRule main.css main-min.css
> 
> There are no directories or special rules for this, Ben? I don't
> quite
> understand why you even need to use mod_rewrite in this case.
> 
> Craig
> 
> ---------------------------------------------------------------------
> 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