[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] document root



On Sun, 2007-04-01 at 21:36 -0400, Terry Bailey wrote:
> Hi,
> 
> Using Apache, how do you serve up a file that does not reside within 
> the document root?  I thought there might be some setting in 
> httpd.conf, but if there is, I don't see it.

Use the Alias statement as follows for a specific file

   Alias /foo.txt  /home/blah/foo.txt

or this for a whole directory:

   Alias /blah  /home/blah

hth,

-Jim P.