Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Userdir
guilp
post Oct 6 2004, 10:06 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 4-October 04
Member No.: 3,891



I would like to be able to access the accounts on my server via the /~user however I am not sure if this will be possible as Plesk creates the accounts as /home/httpd/vhosts/domain.org/httpdocs for example. Using the domain rather than username. is http://server/~domain.org even a legal url? if it is possible to use UserDir with such a setup. Could I just call it with the username I use for ftp such as http://server/~bob?
If any of these is possible how would I modify this to get it to work?

<IfModule mod_userdir.c>
#
# UserDir is disabled by default since it can confirm the presence
# of a username on the system (depending on home directory
# permissions).
#
UserDir enabled

#
# To enable requests to /~user/ to serve the user's public_html
# directory, remove the "UserDir disable" line above, and uncomment
# the following line instead:
#
UserDir /home/httpd/vhosts/*/httpdocs

</IfModule>

#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /home/httpd/vhosts/*/httpdocs>
# AllowOverride FileInfo AuthConfig Limit
# 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>

Thanks for any help.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 07:50 PM