LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   apache: location in location (http://www.linuxquestions.org/questions/linux-networking-3/apache-location-in-location-351194/)

eantoranz 08-08-2005 12:27 PM

apache: location in location
 
I have two locations, one "inside" the other:

/outerlocation
/outerlocation/innerlocation

How do I have to set configurations for them?

Code:

<Location /outerlocation>

    <Location /innerlocation>
    </Location>

</Location>

Or like this?

Code:

<Location /outerlocation>
</Location>

<Location /outerlocation/innerlocation>
</Location>

And how do authentication options affect them?

Matir 08-08-2005 02:22 PM

All options for an outer directory affect an inner directory unless otherwise specified. In other words, if you require basic authentication for /outer, then /outer/inner needs it too.

Your second example is the correct one, I believe.

eantoranz 08-08-2005 10:37 PM

I C.


All times are GMT -5. The time now is 03:58 AM.