Re: apache2 vhst problem -- Symbolic link not allowed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux