При рестарте апача ругается на невозможность открыть файл:
/media/sda3/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable.
сам htaccess находится в /media/sda3/apache/site.ru/www/. Почему он ссылается на корень диска не понятно.
Файл /media/sda3/.htaccess не существует и не должно существовать
И лог пишется в /media/sda3/apache/site.ru/, что означает что доступ есть к каталогу.
Примечание:
Последние 100 строк конфа:
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
#
# Define an access log for VirtualHosts that don't define their own logfile
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.
# Include generic snippets of statements
Include /etc/apache2/conf.d/
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
<Directory /media/sda3/apache/_TEST_/www>
</Directory>
<Directory /media/sda3/apache/_WORK_/www>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Directory media/sda3/apache/_WORK_/www/site1/www>
</Directory>
<Directory media/sda3/apache/_WORK_/www/site2/www>
</Directory>
<Directory media/sda3/apache/_WORK_/www/site3/www>
</Directory>
<VirtualHost 127.0.0.1:80>
ServerName testing.ant
DocumentRoot /media/sda3/apache/_TEST_/www
CustomLog /media/sda3/apache/_TEST_/access.log common
ErrorLog /media/sda3/apache/_TEST_/error.log
ServerAlias www.testing.ant
ServerAdmin
[email protected]
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
</VirtualHost>
<VirtualHost 127.0.0.1:80>
ServerName working.ant
DocumentRoot /media/sda3/apache/_WORK_/www
CustomLog /media/sda3/apache/_WORK_/access.log common
ErrorLog /media/sda3/apache/_WORK_/error.log
ServerAlias www.working.ant
ServerAdmin
[email protected]
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot /media/sda3/apache/_ZEND_/www
ServerName zendfw.ant
ServerAlias www.zendfw.ant
ErrorLog /media/sda3/apache/_ZEND_/error.log
CustomLog /media/sda3/apache/_ZEND_/access.log common
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot /media/sda3/apache/_WORK_/www/site1/www
ServerName site1.working.ant
ServerAlias www.site1.working.ant
ErrorLog /media/sda3/apache/_WORK_/www/site1/error.log
CustomLog /media/sda3/apache/_WORK_/www/site1/access.log common
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot /media/sda3/apache/_WORK_/www/site2/www
ServerName site2.working.ant
ServerAlias www.site2.working.ant
ErrorLog /media/sda3/apache/_WORK_/www/site2/error.log
CustomLog /media/sda3/apache/_WORK_/www/access.log common
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
</VirtualHost>
<VirtualHost 127.0.0.1:80>
DocumentRoot /media/sda3/apache/_WORK_/www/site3/www
ServerName site3.working.ant
ServerAlias www.site3.working.ant
ErrorLog /media/sda3/apache/_WORK_/www/site3/error.log
CustomLog /media/sda3/apache/_WORK_/www/site3/access.log common
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
AddType application/x-httpd-php-source .phps
</VirtualHost>
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
#LoadModule autoindex_module /usr/lib/apache2/modules/mod_autoindex.so