![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 34 Pomógł: 1 Dołączył: 23.04.2006 Ostrzeżenie: (0%) ![]() ![]() |
Witajcie,
usiłuję zainstalować php4 jako cgi (php5 działa już sprawnie jako moduł apache). Niestety konfiguracja mnie przerosła, więc proszę o pomoc i wskazówki, gdzie może tkwić błąd. Atrakcyjniejsze fragmenty moich plików konfiguracyjnych i logów: Kod # cat /etc/mime.types | grep php application/x-httpd-php5 phtml pht php application/x-httpd-php-source phps application/x-httpd-php4 php4 Kod # cat /etc/apache2/sites-available/site (Chcę, aby php4 było dostępne dla tego jednego virtualhosta, reszta tylko php5).<VirtualHost *> ServerName domain.com ServerAdmin admin@domain.com ServerAlias www.domain.com DocumentRoot /var/www/virtual/domain.com/htdocs <Directory "/var/www/virtual/domain.com/htdocs"> Options FollowSymlinks AllowOverride All </Directory> <Files *.php> ForceType application/x-httpd-php4 </Files> Action application/x-httpd-php4 /usr/bin/php4-cgi Options ExecCGI LogLevel debug </VirtualHost> Gdy odpalam domain.com: Kod [Thu Jan 17 13:40:06 2008] [error] [client 83.5.224.124] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. [Thu Jan 17 13:40:06 2008] [debug] core.c(3027): [client 83.5.224.124] r->uri = /index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:06 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php Gdy odpalam plik z rozszerzeniem .php4 to samo: Kod [Thu Jan 17 13:40:14 2008] [error] [client 83.5.224.124] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. [Thu Jan 17 13:40:14 2008] [debug] core.c(3027): [client 83.5.224.124] r->uri = /index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /index.php [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /usr/bin/php4-cgi/info.php4 [Thu Jan 17 13:40:14 2008] [debug] core.c(3033): [client 83.5.224.124] redirected from r->uri = /info.php4 Gdzieś się zapętla konfiguracja, ale gdzie. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 18:18 |