
August 10th, 2007, 08:15 AM
|
 |
mod_dev_shed
|
|
Join Date: Sep 2002
Location: Atlanta, GA
|
|
|
The alias itself will work, yes, but that doesn't mean your visitors will be able to see the contents of the aliased directory. Whether or not it "works" will depend on other settings in httpd.conf.
Apache has a default <Directory /> section that forbids access, effectively forbidding access to the entire file system. It then has a <Directory> for your DocumentRoot that overrides this restriction. In your example, the associated <Directory> is there to ensure permissions are granted to the directory to which the Alias points. Without it, you're relying on a parent directory of the aliased directory to have been given "open" permissions.
It's probable that there's a <Directory /Applications/GoLive.../TestSites"> that handles opening up that directory (and all subdirectories) already, in which case you would not need a <Directory> for the /php subdirectory.
__________________
# Jeremy
Explain your problem instead of asking how to do what you decided was the solution.
|