Re: How to disable IndexStylesheet on a subdirectory

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

 





On Mon, Sep 30, 2024 at 8:31 PM Dan Mahoney (Gushi) <danm@xxxxxxxxxxxxxxx> wrote:
Hey there all,

I can't find this in the manual.  Assume I've set IndexStylesheet for some
directory of downloads, but on a subdirectory, would like apache to not
add the CSS header.

(Specifically, we want as simple HTML as possible, for use with automated
fetching scripts).

I don't want to simply point at a null file, that looks to Google
Analytics like a broken link.  I just want to disable the inclusion of any
style sheet, and there doesn't seem to be a way to do this.  Once you turn
it on, you cannot seem to turn it off in a subdir.  Even if you set it to
None, you just get a ref to a CSS file called None.

If it is possible, could you clue me in (and maybe fix the docs?)

-Dan

--

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
FB:  fb.com/DanielMahoneyIV
LI:   linkedin.com/in/gushi
Site:  http://www.gushi.org
---------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


Using DirectoryMatch to limit the scope should work. 

[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