Limits of AddDescription directive

Limits of AddDescription directive

am 18.01.2008 17:01:17 von chacon.omar

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.

Re: Limits of AddDescription directive

am 18.01.2008 20:00:10 von Kees Nuyt

On Fri, 18 Jan 2008 08:01:17 -0800 (PST),
chacon.omar@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)

Re: Limits of AddDescription directive

am 18.01.2008 20:48:30 von chacon.omar

On Jan 18, 2:00=A0pm, Kees Nuyt 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. =A0I tried to add dozens more of different
> >directives but the Apache service was not able to restart (it just
> >choked up). =A0As I cut back to the initial configuration, all went back
> >to normal.
>
> >The AddDescription directive =A0or 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. =A0I 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.
> --
> =A0( =A0Kees
> =A0 )
> c[_] Tidying the house while the children are growing
> =A0 =A0 =A0is like shovelling snow while it's still snowing. =A0(#235)- Hi=
de 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.
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.

Thank you for your reply once again.

Re: Limits of AddDescription directive

am 18.01.2008 21:15:47 von Kees Nuyt

On Fri, 18 Jan 2008 11:48:30 -0800 (PST),
chacon.omar@gmail.com wrote:

>On Jan 18, 2:00 pm, Kees Nuyt 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:

Order allow,deny
Deny from all

(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)

Re: Limits of AddDescription directive

am 21.01.2008 01:27:01 von chacon.omar

On Jan 18, 3:15=A0pm, Kees Nuyt wrote:
> On Fri, 18 Jan 2008 11:48:30 -0800 (PST),
>
>
>
>
>
> chacon.o...@gmail.com wrote:
> >On Jan 18, 2:00=A0pm, Kees Nuyt 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. =A0I tried to add dozens more of different
> >> >directives but the Apache service was not able to restart (it just
> >> >choked up). =A0As I cut back to the initial configuration, all went ba=
ck
> >> >to normal.
>
> >> >The AddDescription directive =A0or 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. =A0I 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.
> >> --
> >> =A0( =A0Kees
> >> =A0 )
> >> c[_] Tidying the house while the children are growing
> >> =A0 =A0 =A0is like shovelling snow while it's still snowing. =A0(#235)-=
Hide quoted text -
>
> >> - Show quoted text -
>
> >Thanks for the reply Kees but I still don't know the answer to the
> >original question. =A0Ideally 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? =A0I 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:
>
> =A0 =A0 =A0 =A0 Order allow,deny
> =A0 =A0 =A0 =A0 Deny from all
>

> (usually in the default config anyway).
>
> And for that specific directory you would need
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Options +Indexes
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 AllowOverride Indexes
>
> >Thank you for your reply once again.
>
> You're welcome, I hope it works.
> --
> =A0( =A0Kees
> =A0 )
> c[_] By all means, let's not confuse ourselves with the facts! =A0(#438)- =
Hide quoted text -
>
> - Show quoted text -

Kess. Once again, thank you for your input. Best regards