Re: httpd symlinks problem

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

 



Paul Johnson wrote:
Hi,

At the start of last week, the old webserver went belly up. I've now
installed a new server, copied over the httpd.conf file and changed the
bits I need to change, but there is now a problem

It won't follow symlinks!

On the old system (self compiled version of httpd, 2.0.48), I would have
a symlink in /var/www/html/reelnorth pointing to /web/reelnorth and
httpd would follow the symlink and all was happy.

Now it won't allow me to use symlinks at all.

I have in the config file the following

(snip)

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/var/www/html">

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
#   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important.  Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
    Options FollowSymLinks Includes ExecCGI Multiviews
    XBitHack On
#
# AllowOverride controls what directives may be placed in .htaccess
files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
#
    AllowOverride None

#
# Controls who can get stuff from this server.
#
    Order allow,deny
    Allow from all

</Directory>

Try adding:

<Directory "/web">
    Options FollowSymLinks Includes ExecCGI Multiviews
    XBitHack On
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

and see if that helps.

Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux