Re: How to disable IndexStylesheet on a subdirectory

Frank Gingras <[email protected]>
Newsgroups gmane.comp.apache.user
Message-ID <CAOY50ms++zY-qyYZ1UHSkMcbpnbV=ozcovyjVYDgab6V7s9ABg@mail.gmail.com>
On Mon, Sep 30, 2024 at 8:31 PM Dan Mahoney (Gushi) <[email protected]>
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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
Using DirectoryMatch to limit the scope should work.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.