logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Problem with user webs
Author
glenn3095



Joined: 07 Apr 2010
Posts: 1
Location: Eltham Vic Australia

PostPosted: Wed 07 Apr '10 5:21    Post subject: Problem with user webs Reply with quote

Hi,
I am trying to get user accounts going for WinXP using Apache with XAMPP.

I have the following httpd-userdir.conf settings:

<IfModule userdir_module>
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received. Note that you must also set
# the default access control for these directories, as in the example below.
#
UserDir "C:/Documents and Settings/*/My Documents/public_html"

#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory "C:/Documents and Settings/*/My Documents/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>
</IfModule>


When I try to access http://study/~glenn
I get the following error in C:\apps\xampp\apache\logs\error.log
[Wed Apr 07 12:52:40 2010] [error] [client 192.168.1.101] File does not exist: C:/htdocs/~glenn
[Wed Apr 07 13:17:59 2010] [error] [client 127.0.0.1] File does not exist: C:/htdocs/~glenn
[Wed Apr 07 13:18:08 2010] [error] [client 192.168.1.101] File does not exist: C:/htdocs/~glenn

Any ideas on what I have done wrong?

Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 07 Apr '10 8:11    Post subject: Reply with quote

I guess you don't load mod_userdir.so

Make sure that you removed the # before

#LoadModule userdir_module modules/mod_userdir.so
Back to top


Reply to topic   Topic: Problem with user webs View previous topic :: View next topic
Post new topic   Forum Index -> Apache