You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Tom Cat <st...@gmail.com> on 2006/02/02 20:21:23 UTC

[users@httpd] Change LimitRequestBody for one directory without htaccess

For one subdirectory in our document root, I want to change
LimitRequestBody to a much higher number.  The catch is I don't want
to allowoverride, so using an htaccess file is not possible.

What I did was create an alias and then did an directory tag for the
alias. Is this the best way?  Is there another way?  What kind of
trouble might I encounter doing it this way instead of another way?

Thanks

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Change LimitRequestBody for one directory without htaccess

Posted by Joshua Slive <jo...@slive.ca>.
On 2/2/06, Tom Cat <st...@gmail.com> wrote:
> For one subdirectory in our document root, I want to change
> LimitRequestBody to a much higher number.  The catch is I don't want
> to allowoverride, so using an htaccess file is not possible.
>
> What I did was create an alias and then did an directory tag for the
> alias. Is this the best way?  Is there another way?  What kind of
> trouble might I encounter doing it this way instead of another way?

Sounds like you are overcomplicating your life.

<Directory /usr/local/apache2/htdocs/subdirectory>
LimitRequestBody 99999999
</Directory>
should work just fine.

Joshua.

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org