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: web directory for users
Author
Ang3lus



Joined: 02 Aug 2010
Posts: 18

PostPosted: Mon 02 Aug '10 17:58    Post subject: web directory for users Reply with quote

Hi

I would like to Configure my server to allow each web directories for users to be created. i want to give each user web space under user directory which under Document root directory. for example:
/myserver/~David point to /myserver/DocumetRoot Directory/user/david directory

How i can achieve this ?
Back to top
James Blond
Moderator


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

PostPosted: Tue 03 Aug '10 11:39    Post subject: Reply with quote

So if the folder name is www in the user directory

e.g.
/myserver/DocumetRoot Directory/user/david/www

Code:

UserDir "www"

<Directory "/myserver/DocumetRoot Directory/user/*/www">
    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>
Back to top
Ang3lus



Joined: 02 Aug 2010
Posts: 18

PostPosted: Thu 05 Aug '10 15:11    Post subject: Reply with quote

Thank you for your help

but when i create html file inside the www and type full url address to browser check it work fine. it gave me error message: Not Found
Back to top
James Blond
Moderator


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

PostPosted: Thu 05 Aug '10 15:46    Post subject: Reply with quote

What is in your error log about that?
Back to top
Ang3lus



Joined: 02 Aug 2010
Posts: 18

PostPosted: Thu 12 Aug '10 2:02    Post subject: Reply with quote

Thank you very much James

I solve problem , now it works fine Very Happy
Back to top
James Blond
Moderator


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

PostPosted: Thu 12 Aug '10 11:12    Post subject: Reply with quote

What was the error?
Back to top
reenfoo



Joined: 12 Aug 2010
Posts: 2

PostPosted: Fri 13 Aug '10 5:45    Post subject: Reply with quote

It solved my problem .. your post must appreciated!!!

peace out~

Michigan computer repair
Back to top


Reply to topic   Topic: web directory for users View previous topic :: View next topic
Post new topic   Forum Index -> Apache