Author |
|
Ang3lus
Joined: 02 Aug 2010 Posts: 18
|
Posted: Mon 02 Aug '10 17:58 Post subject: web directory for users |
|
|
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
|
Posted: Tue 03 Aug '10 11:39 Post subject: |
|
|
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
|
Posted: Thu 05 Aug '10 15:11 Post subject: |
|
|
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
|
Posted: Thu 05 Aug '10 15:46 Post subject: |
|
|
What is in your error log about that? |
|
Back to top |
|
Ang3lus
Joined: 02 Aug 2010 Posts: 18
|
Posted: Thu 12 Aug '10 2:02 Post subject: |
|
|
Thank you very much James
I solve problem , now it works fine |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 12 Aug '10 11:12 Post subject: |
|
|
What was the error? |
|
Back to top |
|
reenfoo
Joined: 12 Aug 2010 Posts: 2
|
Posted: Fri 13 Aug '10 5:45 Post subject: |
|
|
It solved my problem .. your post must appreciated!!!
peace out~
Michigan computer repair |
|
Back to top |
|