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: UserDir not working after upgrade to apache 2.2.3
Author
aivars



Joined: 10 Dec 2006
Posts: 4

PostPosted: Sun 10 Dec '06 11:59    Post subject: UserDir not working after upgrade to apache 2.2.3 Reply with quote

Dear all,
Maybe someone can help me.
I had the following fragment in my httpd.conf on Apache 2.0.:
<IfModule mod_userdir.c>
UserDir "c:/Home/"
</IfModule>
and everyting worked just fine. I had many directories under C:/Home which were acessible.

Now I have exactly the same in apache 2.2.3 httpd.conf, module mod_userdir.so is enabled, bu I cannot access the user directories under c:/Home. Apache says 403 forbidden.
error log says: client denied by server configuration.

I use windows xp pro sp2

I discovered above fragment somewhere on internet and also read that Userdir command as described in Apache documentation actually is not working under Windows and above syntax should be used.

Maybe that is changed in Apache 2.2.3 but I was not able to get Userdir to work as per Apache documentation?

Thanks a lot

Aivars
Back to top
aivars



Joined: 10 Dec 2006
Posts: 4

PostPosted: Sun 10 Dec '06 13:16    Post subject: UserDir not working after upgrade to apache 2.2.3 Reply with quote

Hello,
I solved the problemand it works now.

I used httpd-userdir.conf file located in \conf\extra folder and in httpd.con used directive Include conf/extra/httpd-userdir.conf

httpd-userdir.conf configuration settings:
UserDir "C:/Home"

and changed the directory like:

<Directory "C:/Home/*/">

All other things remained as default.

So it seems userdir works as per documentation and no workarounds are needed any more.

Aivars
Back to top


Reply to topic   Topic: UserDir not working after upgrade to apache 2.2.3 View previous topic :: View next topic
Post new topic   Forum Index -> Apache