Re: httpd.conf help!

2003-08-21 Thread David A. Bandel
On Thu, 21 Aug 2003 15:13:11 -0400
Douglas J Hunley [EMAIL PROTECTED] 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



pgp0.pgp
Description: PGP signature
___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: httpd.conf help!

2003-08-21 Thread Douglas J Hunley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David A. Bandel shocked and awed us all by speaking:
 #Directory /home/*/public_html

that should be:
Directory /exports/users/*/public_html

my bad

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

is that what you meant by fix?

- -- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
http://doug.hunley.homeip.net  http://www.linux-sxs.org

/* Should be panic but... (Why are BSD people panic obsessed ??) */ -- 2.0.38 
/usr/src/linux/net/ipv4/ip_fw.c
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/RUYh2MO5UukaubkRAhpSAJ93OENuXxb/aPcXUfh6FxZ+t5wZGwCePcUz
rH9JHj6bPpBvxL9XZgOdeJI=
=5MQn
-END PGP SIGNATURE-


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users


Re: httpd.conf help!

2003-08-21 Thread Douglas J Hunley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Douglas J Hunley shocked and awed us all by speaking:
 can anyone tell me why the attached httpd.conf would allow #include off the
 server root, but not from ~doug/public_html ? thanks

never mind. thanks to david's hint, I got it...
- -- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
http://doug.hunley.homeip.net  http://www.linux-sxs.org

panic(Lucy in the sky); -- 2.2.16 
/usr/src/linux/arch/sparc64/kernel/starfire.c
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/RUmz2MO5UukaubkRAg/QAJ9PNZICnAJUL3+/jppeculjzATplwCgibZL
ppATRJ1hxHxuWSUzn8qpM1g=
=5SyS
-END PGP SIGNATURE-


___
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users