Apache (Проблема с настройкой)
Добавлено: Пн июл 07, 2008 4:00 pm
Подскажите в чем грабли:
Не могу залететь на веб-морду.
Apache в лог отдает:
Apache 2.2.9 (FreeBSD 7.0) ставил из портов
mod_rewrie присутствует.
Конфиг для Абиллса как по книжке:
index.cgi из консоли запускается без ошибок
права доступа на файлы стоят
Без указания алиаса Апач работает (It works!)
голову сломал.. не пойму где грабли =(
P.S. 10 раз ставлю abills, рядом три сервака с работающей 3.x версией..
Не могу залететь на веб-морду.
Apache в лог отдает:
Код: Выделить всё
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[info] Init: Initializing (virtual) servers for SSL
[info] mod_ssl/2.2.9 compiled against Server: Apache/2.2.9, Library: OpenSSL/0.9.8e
[info] mod_unique_id: using ip addr 192.168.1.250
[info] Init: Seeding PRNG with 136 bytes of entropy
[info] Init: Generating temporary RSA private keys (512/1024 bits)
[info] Init: Generating temporary DH parameters (512/1024 bits)
[info] Init: Initializing (virtual) servers for SSL
[info] mod_ssl/2.2.9 compiled against Server: Apache/2.2.9, Library: OpenSSL/0.9.8e
[notice] Digest: generating secret for digest authentication ...
[notice] Digest: done
[info] mod_unique_id: using ip addr 192.168.1.250
[notice] Apache/2.2.9 (FreeBSD) mod_ssl/2.2.9 OpenSSL/0.9.8e DAV/2 configured -- resuming norma
[info] Server built: Jul 2 2008 19:28:01
[debug] prefork.c(1001): AcceptMutex: flock (default: flock)
[error] [client 192.168.1.210] (13)Permission denied: access to /abills denied
[error] [client 192.168.1.210] (13)Permission denied: access to /abills/ denied
mod_rewrie присутствует.
Конфиг для Абиллса как по книжке:
Код: Выделить всё
#Abills version 0.3
# User interface
Alias /abills "/usr/abills/cgi-bin/"
<Directory "/usr/abills/cgi-bin">
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_CGI_AUTHORIZATION:%1]
Options Indexes ExecCGI SymLinksIfOwnerMatch
</IfModule>
AddHandler cgi-script .cgi
Options Indexes ExecCGI FollowSymLinks
AllowOverride none
DirectoryIndex index.cgi
Order allow,deny
Allow from all
<Files ~ "\.(db|log)$">
Order allow,deny
Deny from all
</Files>
</Directory>
#Admin interface
<Directory "/usr/abills/cgi-bin/admin">
AddHandler cgi-script .cgi
Options Indexes ExecCGI FollowSymLinks
AllowOverride none
DirectoryIndex index.cgi
order deny,allow
allow from all
</Directory>
права доступа на файлы стоят
Без указания алиаса Апач работает (It works!)
голову сломал.. не пойму где грабли =(
P.S. 10 раз ставлю abills, рядом три сервака с работающей 3.x версией..