httpd.conf help!

David A. Bandel david
Mon May 17 11:51:17 PDT 2004


On Thu, 21 Aug 2003 15:13:11 -0400
Douglas J Hunley <doug at hunley.homeip.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> can anyone tell me why the attached httpd.conf would allow #include
> off the server root, but not from ~doug/public_html ? thanks

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

#
# Control access to UserDir directories.  The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /home/*/public_html>
#    <Limit GET POST PROPFIND>
#        Order allow,deny
#        Allow from all
#    </Limit>
#    <LimitExcept GET POST PROPFIND>
#        Order deny,allow
#        Deny from all
#    </LimitExcept>
#</Directory>

Uncomment and fix the above.  This stuff is for hte ~doug/ type
directories.

Your virutal host below with the /doug directory will work as
http://doug.hunley.homeip.net/ but not as URL/~doug/

<VirtualHost *>
    ServerName doug.hunley.homeip.net
    DocumentRoot /exports/users/doug/public_html
    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "/exports/users/doug/public_html">

    #
    # This may also be "None", "All", or any combination of "Indexes",
    # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options
All"
    # doesn't give it to you.
    #
        Options Indexes FollowSymLinks MultiViews Includes


Or am I missing what you want to do?

Ciao,

David A. Bandel
--
Focus on the dream, not the competition
	- Nemesis Racing Team motto

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.linux-sxs.org/pipermail/linux-users/attachments/20030821/6432e09f/attachment.pgp


More information about the Linux-users mailing list