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 question
Author
psycho



Joined: 21 Aug 2006
Posts: 1

PostPosted: Mon 21 Aug '06 6:08    Post subject: userdir question Reply with quote

Hi all,
I am setting up for testing. Apache works fine if the website is in the working directory (in this case C:\WEB). But, I want to be able to work on several projects at once so I set up Apache to use the userdir (i.e. dad/~user1..... Some sites work but, not if they have subdirectories in the structure (for images, etc.). I know there has to be a simple fix for this but, I can't figure it out.

Thanks,

Kevin
Back to top
James Blond
Moderator


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

PostPosted: Mon 21 Aug '06 9:23    Post subject: Reply with quote

Under Windows that should set to
userdir "C:/Documents and Settings/*/www"
the www folder could have another name like public_html or htdocs or what ever.

Notice that mod_userdir works with existing user from the OS! I haven't tested it yet with "fake" user that only created by making aa folder in C:/Documents and Settings/ like user1

For that see http://httpd.apache.org/docs/2.2/mod/mod_userdir.html
and http://httpd.apache.org/docs/2.2/howto/public_html.html
Back to top


Reply to topic   Topic: userdir question View previous topic :: View next topic
Post new topic   Forum Index -> Apache