Народ! Помогите пожалуйста заставить apache слушать домашнюю папку. Я понимаю что с первого взгляда вопрос простой, но не тут то было...
Есть сервер, на нем много пользователей, у каждого пользователя сайты.
Ниже мои конфиги. Но спешу сказать, что сайты у меня работают только если положить их в /var/www из домашних папок ни в какую!!!
Подскажите пожалуйста, где я не прав???
<VirtualHost *:80>
ServerName site.ua
ServerAlias site.ua
ServerAdmin webmaster@site.ua
DocumentRoot /home/sch23/domains/site.ua/public_html
<Directory /home/sch23/domains/site.ua/public_html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
ServerSignature On
</VirtualHost>
...и default
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home (это я уже от безысходности)
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>