httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] apache2 vhst problem -- Symbolic link not allowed
Date Tue, 29 Sep 2009 13:12:49 GMT
On Tue, 2009-09-29 at 17:30 +0530, J. Bakshi wrote:
> Hello list,
> 
> I have a typical problem in my apache2 server running on opensuse 11
> server.  I like to add the Followsymlinks option in vhost. Previously I
> put the setting in .htaccess and it was running fine. But to get the
> performance benefit  I move the settings in the  vhost configuration. 
> To enable symlinks I put
> 
> `````````````````````
>  <Directory "/srv/www/htdocs/muydomain.com/">
> 
> Options -Indexes +FollowSymLinks
> 
> # .htaccess slows down apache; only use it when required #
> AllowOverride All
> Options None
> Order allow,deny
> Allow from all
> 
> </Directory>
> ```````````````````````````````````
> 
> I have restarted apache but still I can't access the site. log reports
> 
> ``````````````
> Symbolic link not allowed or link target not accessible
> ``````````````````
> 
> Though everything runs well if I put the symlinks option in .htaccess
> Any clue ?
> Thanks
> 
> 

You're setting Options twice for that directory, the first time removing
Indexes and adding FollowSymLinks, and the second removing all options.
See http://httpd.apache.org/docs/2.2/mod/core.html#options

Cheers

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message