[ale] document root

Jim Popovitch jimpop at yahoo.com
Sun Apr 1 21:41:55 EDT 2007


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.






More information about the Ale mailing list