Re: Limits of AddDescription directive
On Jan 18, 3:15pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Fri, 18 Jan 2008 11:48:30 -0800 (PST),
>
>
>
>
>
> chacon.o...@gmail.com wrote:
> >On Jan 18, 2:00pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> >> On Fri, 18 Jan 2008 08:01:17 -0800 (PST),
>
> >> chacon.o...@gmail.com wrote:
> >> >Is there a limit to the number of AddDescription directives that
> >> >httpd.conf can handle?
>
> >> >I am using Apache 2.0 and the present httpd.conf has six
> >> >AddDescription directives. I tried to add dozens more of different
> >> >directives but the Apache service was not able to restart (it just
> >> >choked up). As I cut back to the initial configuration, all went back
> >> >to normal.
>
> >> >The AddDescription directive or the associated directives in Apache
> >> >doc site did not document their limitations (or better said, I did not
> >> >find documentation related to the limitations).
>
> >> >BTW. I am using the Apache 2.0 in a Windows Enterprise Server 2003.
> >> >I have a Dell server with a Xeon processor and 6GB RAM
>
> >> >Thanks in advance and best regards.
>
> >> It is common to use AddDescription is used in .htaccess,
> >> which has the advantage that only the descriptions within
> >> one directory have to be loaded at the same time.
> >> I never had more than some 20 to 30 descriptions at the
> >> same time (per directory) and that worked fine.
> >> --
> >> ( Kees
> >> )
> >> c[_] Tidying the house while the children are growing
> >> is like shovelling snow while it's still snowing. (#235)-Hide quoted text -
>
> >> - Show quoted text -
>
> >Thanks for the reply Kees but I still don't know the answer to the
> >original question. Ideally I would like to use around 200+
> >descriptions.
>
> I never tried, and I doubt anyone did.
>
> >Would it be best (or possible) to create and link an .htaccess to
> >httpd.conf? I could then edit .htaccess with all the descriptions
> >that I need.
>
> I think that could be a viable solution. Just put a
> .htaccess with a lot of descriptions in a suitable
> directory, make sure Apache is allowed to use .htaccess in
> that directory and see what happens if you browse to it.
>
> To hide .htaccess itself, you need:
> <Files ~ "^\.ht">
> Order allow,deny
> Deny from all
> </Files>
> (usually in the default config anyway).
>
> And for that specific directory you would need
> Options +Indexes
> AllowOverride Indexes
>
> >Thank you for your reply once again.
>
> You're welcome, I hope it works.
> --
> ( Kees
> )
> c[_] By all means, let's not confuse ourselves with the facts! (#438)- Hide quoted text -
>
> - Show quoted text -
Kess. Once again, thank you for your input. Best regards
|