vishnu
vishnu

Reputation: 495

Folders redirection in apache

I have user files stored in a folder outside apache's documents root e.g. My project is in /var/www/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

Upvotes: 0

Views: 227

Answers (1)

thedom
thedom

Reputation: 2518

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.

Upvotes: 1

Related Questions