Geht es das alle home/benutzername automatisch als subdomain angelegt werden.
z.b die Domain ist lalala.com
der User /home/lucky
dann die Subdomain lalala.com/lucky
Hier der Auszug aus der httpd.conf
Code: Select all
#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
DirectoryIndex index.html
</Directory>
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *>
ServerAdmin webmaster@*****.**********.de
DocumentRoot /usr/local/apache2/htdocs/
ServerName *****.**********.de
ErrorLog logs/*****.**********.de-error_log
CustomLog logs/*****.**********.de-access_log common
UserDir public_html
<Directory "/home/*/public_html">
</Directory>
</VirtualHost>
Danke
Bye Keule
