[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Apache 2.0.55 with Rewrite Rule


I recompilled Apache 2.0.55 with PHP 4.3.11 using these options :

./configure --prefix=/usr/local/apache2 --enable-so --enable-auth-digest --enable-rewrite --enable-setenvif --enable-mime --enable-deflate
--enable-ssl    --with-ssl=/usr/local    --enable-headers

In my httpd.conf there is lines with rewrite rule :

<VirtualHost www.dominio.com.br>
ServerName www.dominio.com.br
RewriteEngine On
RewriteLog "/tmp/rewrite_log"
RewriteLogLevel 0
RewriteRule ^/local/ - [L]
RewriteRule ^/(.*)$1 [P]

When I try to access the site dominio.com.br with a browser como in the screen :

You don't have permission to access / on this server.

In log come these message :

Mon Jan 09 08:21:11 2006] [error] [client] attempt to make remote request from mod_rewrite without proxy enabled: proxy:

Why it´s happen ?   Because I recompilled apache with --enable-rewrite.

Ps : I can´t to installed the rpm apache FC4 because the version PHP5.

How I can to resolve this problem in Apache 2.0.55 ?

Best regards,

Rodrigo Faria Tavares
e-mail : rodrigofariat yahoo com br
Analista de Suporte Linux


_______________________________________________________ Yahoo! doce lar. Faça do Yahoo! sua homepage. http://br.yahoo.com/homepageset.html
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]