Acabei de instalar o apache e php de fontes usando os próximos comandos:
./configure --prefix="/mnt/workspace/servers/web/apache-2.2.17" \
--enable-info --enable-rewrite --enable-usertrack --enable-mime-magic
para o apache e
./configure --with-apxs2=/mnt/workspace/servers/web/apache-2.2.17/bin/apxs \
--prefix=/mnt/workspace/servers/web/apache-2.2.17/php \
--with-config-file-path=/mnt/workspace/servers/web/apache-2.2.17/php \
--with-mysql=mysqlnd
para php. Depois de ajustar a configuração (httpd.conf) e iniciar o apache, ele fornece uma resposta 403 no pedido link (presumindo-se que 8060 seja usado).
Existem as próximas configurações de diretório no httpd.conf:
<Directory "/mnt/workspace/servers/web/apache-2.2.17/htdocs">
...
Order allow,deny
Allow from all
...
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
Deve-se notar que eu tenho o apache em uma partição montada (padrão de montagem automática configurada ao instalar o Ubuntu).
Arquivos de registro
Log de acesso:
::1 - - [12/Feb/2011:17:48:30 +0200] "GET / HTTP/1.1" 403 202
::1 - - [12/Feb/2011:17:48:31 +0200] "GET /favicon.ico HTTP/1.1" 403 213
::1 - - [12/Feb/2011:17:48:48 +0200] "GET /index.html HTTP/1.1" 403 212
::1 - - [12/Feb/2011:17:48:48 +0200] "GET /favicon.ico HTTP/1.1" 403 213
::1 - - [12/Feb/2011:17:49:03 +0200] "GET /index.html HTTP/1.1" 403 212
::1 - - [12/Feb/2011:17:49:03 +0200] "GET /favicon.ico HTTP/1.1" 403 213
Log de erros:
[Sat Feb 12 18:59:13 2011] [notice] Apache/2.2.17 (Unix) PHP/5.3.5 configured -- resuming normal operations
[Sat Feb 12 18:59:22 2011] [error] [client ::1] (13)Permission denied: access to / denied
[Sat Feb 12 18:59:22 2011] [error] [client ::1] (13)Permission denied: access to /favicon.ico denied
[Sat Feb 12 18:59:36 2011] [error] [client ::1] (13)Permission denied: access to /index.html denied