Userdir mod in apache2.2

2007-12-10 Thread Alain G. Fabry
Apache/2.2.6 (FreeBSD)
PHP Version 5.2.5
FreeBSD 6.2

Trying to get the userdir module to work but it seems to fail all the time due 
to 'You don't have permissions'

Main webserver works fine. Only when trying to go to the 
'http://localhost/~user/index.html' I get the permissions error.

when looking at phpinfo - loaded modules identifies mod_userdir

I've uncommented the following in httpd.conf
Include etc/apache22/extra/httpd-userdir.conf

I've changed my extra/httpd-userdir.conf to where homedirs are in /data/username

UserDir public_html
(Also tried to put UserDir enable username)
Directory /data/*/public_html
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Limit GET POST OPTIONS
Order allow,deny
Allow from all
/Limit
LimitExcept GET POST OPTIONS
Order deny,allow
Deny from all
/LimitExcept
/Directory


I've made sure that the whole /data/username/public_html is readable by 
everybody by a simple
chmod -R 755 /data

But I just cannot get my userdir to functions correctly.

What am I missing?

Thanks,

Alain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Userdir mod in apache2.2

2007-12-10 Thread Paul Schmehl
--On Monday, December 10, 2007 09:35:14 +0100 Alain G. Fabry 
[EMAIL PROTECTED] wrote:



Apache/2.2.6 (FreeBSD)
PHP Version 5.2.5
FreeBSD 6.2

Trying to get the userdir module to work but it seems to fail all the
time due to 'You don't have permissions'






But I just cannot get my userdir to functions correctly.

What am I missing?


Post the results of this:
grep ServerName /usr/local/etc/apache22/httpd.conf

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Userdir mod in apache2.2

2007-12-10 Thread Alain G. Fabry
On Mon, Dec 10, 2007 at 10:13:58AM -0600, Paul Schmehl wrote:
 --On Monday, December 10, 2007 09:35:14 +0100 Alain G. Fabry 
 [EMAIL PROTECTED] wrote:
 
 Apache/2.2.6 (FreeBSD)
 PHP Version 5.2.5
 FreeBSD 6.2
 
 Trying to get the userdir module to work but it seems to fail all the
 time due to 'You don't have permissions'
 
 
 
 
 But I just cannot get my userdir to functions correctly.
 
 What am I missing?
 
 Post the results of this:
 grep ServerName /usr/local/etc/apache22/httpd.conf
 
 -- 

Not sure why this would matter but here we go anyway,

# ServerName gives the name and port that the server uses to identify itself.
ServerName localhost:80

FYI, I'm trying http://localhost/~username/ on the local machine (webserver), 
so I assume that the ServerName doesn't matter.





 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]