Re: Symbolic link not allowed:



beta wrote:
Hi All,

I have the "Symbolic link not allowed:" error that I don't know how
it to fix it. Your help would be very appreciated!

Part of my http.conf file ###
<Directory "/var/www/html">
Options Indexes FollowSymLinks Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
DirectoryIndex index.html index.shtml index.php

I want to make symbolic link from /export/home/dave/html TO /var/www/
html/faculty/dave
[root@snow mmedina]# cd /var/www/html/faculty/
[root@snow faculty]# ls -al
total 20
drwxr-xr-x 4 root root 4096 Mar 20 17:01 .
drwxr-xr-x 20 root root 4096 Mar 20 16:14 ..
drwxr-xr-x 3 dardell dardell 4096 Mar 6 17:29 dardell
lrwxrwxrwx 1 root root 25 Mar 20 17:00 dave -> /export/home/
dave/html

Everything looks fine with me so far, but when I do 'url'
http://www.myscholl.edu/faculty/dave
"Forbidden
You don't have permission to access /faculty/quoc on this server.
Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to handle the request.
Apache/2.0.52 (CentOS) Server at snow.ucmerced.edu Port 80"

And the error_log file has
Symbolic link not allowed: /var/www/html/faculty/dave

I think you may have to paste in your entire httpd.conf as the snippet you showed should allow it to work. Did you restart the web server after allowing the symlinks?

Can you provide an 'ls -al' of /var/www/html?

Does it really say "You don't have permission to access /faculty/quoc"?

Jeff Long
.



Relevant Pages

  • Re: Symbolic link not allowed:
    ... I have the "Symbolic link not allowed:" error that I don't know how ... it to fix it. ... You don't have permission to access /faculty/quoc on this server. ... a 403 Forbidden error was encountered while trying to ...
    (comp.infosystems.www.servers.unix)
  • Symbolic link not allowed:
    ... I have the "Symbolic link not allowed:" error that I don't know how ... it to fix it. ... You don't have permission to access /faculty/quoc on this server. ... a 403 Forbidden error was encountered while trying to ...
    (comp.infosystems.www.servers.unix)
  • Moozatech: MyServer Buffer Overflow vulnerability
    ... Application: MyServer Web Server ... Fix Available: Yes ... About Moozatech ...
    (Vuln-Dev)
  • Moozatech: MyServer Buffer Overflow vulnerability
    ... Application: MyServer Web Server ... Fix Available: Yes ... About Moozatech ...
    (Bugtraq)
  • Re: Cant log-in in Hotmail
    ... Fix if This problem occurs after you apply the 832894 security update ... Web server closes the initial connection request. ... > things, and is trying to install one other update, but it says that he ... The problem is that this pack ask me for previous ...
    (microsoft.public.windows.inetexplorer.ie6.browser)