httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <>
Subject [PATCH] <Location > within .htaccess?
Date Mon, 05 Jan 1998 14:22:18 GMT
Happy new year everyone,

I just detected a difference between my apachen tree and the CVS version.
In urlsection(), the <Location> directive is prohibited in <Limit>, <File>
<Directory> and <Location> blocks. But it _ought to be_ allowed in .htaccess
files, right? I think I remember someone on the list (Lars?) mention this
bug a while ago.

Anyway, the appended patch reduces the check to <Limit> context.
BTW: when "globalizing" check_cmd_context(), where should the prototype
and #defines go? The function itself could go to util.c (or somewhere in
ap/?) but I don't think httpd.h is the appropriate place to put the defines.

| S I E M E N S |  <>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

View raw message