Request for comments from Apache/FastCGI gurus/users

Hi, folks.

Please comment me few strrings from
http://wiki.bestpractical.com/index.cgi?FastCGIFAQ

DocumentRoot /opt/rt3/share/html

Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/

As remember Apache request cycle if you request
http://rt.example.com/NoAuth/images/foo.gif then apache strip URL to
/NoAuth/images/foo.gif then if there is no aliases for any location uses
DocumentRoot to map URL to file. So finally we get
’/opt/rt3/share/html/NoAuth/images/foo.gif’.

I don’t understand why alias is required in config.
Any comments.

			Ruslan.

Hi Ruslan,On Sat, 2004-07-17 at 00:18, Ruslan U. Zakirov wrote:

As remember Apache request cycle if you request
http://rt.example.com/NoAuth/images/foo.gif then apache strip URL to
/NoAuth/images/foo.gif then if there is no aliases for any location uses
DocumentRoot to map URL to file. So finally we get
’/opt/rt3/share/html/NoAuth/images/foo.gif’.

I don’t understand why alias is required in config.
Any comments.

We’re not using FastCGI, but what you say is completely correct. We
don’t have that alias here and it all works fine.

There is one case where an alias like that would be required, and that
is where you are using external authentication and you need to enable
unauthenticated access to the NoAuth stuff.

Carl