I have user files stored in a folder outside apache's documents root e.g. My project is in /var/www开发者_Go百科/ProjectName/ and the files are in local drive(D:\users).
I want to be able to link to those files from within my project. i am using symfony(php framework).
I trying to change the setting in apache like this, But no luck
Alias /users/ "D:\users" Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all
You have to update that in your httpd.conf
or in your specified {name of your vhost}.conf
.
Alias /users/ D:\users
Be sure to check the error log
to see where here Apache tries to find the files.
精彩评论