RewriteRule ruft sich anscheinen immer wieder selber auf

Apache, Lighttpd, nginx, Cherokee
nixdorf
Posts: 88
Joined: 2005-07-28 15:34

RewriteRule ruft sich anscheinen immer wieder selber auf

Post by nixdorf » 2008-11-25 16:45

Hallo,

ich habe auf einem Root-Server (debian/etch) mit Apache2 in der httpd.conf bei den VirtualHosts folgenden Eintrag:

Code: Select all

####
####  VirtualHosts
####

# Bitte geben Sie in der naechsten Zeile die IP-Adresse Ihres Servers an!
<VirtualHost ipadresse:80>
# Bitte passen Sie in der naechsten Zeilie den Servernamen an
#  LimitInternalRecursion 300
  ServerName $$SERVERNAME
  DocumentRoot /usr/local/pd-admin2/htdocs
  AddHandler cgi-script .cgi .pl
  RewriteEngine On
# Alias /Microsoft-Server-ActiveSync /usr/local/pd-admin2/htdocs/z-push/
  Alias /html /opt/pdadmin/www/html
  Alias /js /opt/pdadmin/www/js
  Alias /css /opt/pdadmin/www/css
  Alias /images /opt/pdadmin/www/images
  Alias /customer /opt/pdadmin/www/customer
  Alias /administrator /opt/pdadmin/www/administrator
  Alias /pop3 /opt/pdadmin/www/pop3
[b]  RewriteRule  /Microsoft-Server-ActiveSync /usr/local/pd-admin2/htdocs/z-push/index.php[/b]
  RewriteRule  /customer/sid/[a-z0-9]+/(.*) /opt/pdadmin/www/customer/$1
  RewriteRule  /administrator/sid/[a-z0-9]+/(.*) /opt/pdadmin/www/administrator/$1
  RewriteRule  /pop3/sid/[a-z0-9]+/(.*) /opt/pdadmin/www/pop3/$1
  SetEnv RLIMIT_CPU 24
  SetEnv RLIMIT_NPROC 64
  SetEnv RLIMIT_AS 33554432
  SetEnv RLIMIT_AS 104857600
  SetEnv RLIMIT_NOFILE 200
  SetEnv PHP5RC /usr/local/pd-admin2/lib/php5_local.ini



Wenn ich dann die Seite

Code: Select all

http://ipadresse/Microsoft-Server-ActiveSync/
aufrufe, kommt folgende Fehlermeldung:

Code: Select all

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Im error.log des Apachen erscheint dies:

[Tue Nov 25 16:39:23 2008] [error] [client 217.14.122.234] 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.


Anscheinend habe ich da eine Endlosschleife produziert, die sich immer wieder gegenseitig aufrufen will. Ich sehe nur nicht wo. Hat de evtl. noch wer eine Idee?

Gruß NIxdorf

Roger Wilco
Administrator
Administrator
Posts: 5924
Joined: 2004-05-23 12:53

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by Roger Wilco » 2008-11-25 19:26

Deine RewriteRules sind kaputt. Woher soll der Apache httpd example.com/usr/local/pd-admin2/htdocs/z-push/index.php kennen? Die RewriteRules schreiben nur den Request um! Das was du vorhast geht nur mit Alias bzw. einer Kombination aus Alias und RewriteRules.

http://serversupportforum.de/forum/webs ... r-auf.html

nixdorf
Posts: 88
Joined: 2005-07-28 15:34

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by nixdorf » 2008-11-26 11:20

Hallo,

danke für die HIlfe, ich habe es mit diesem Alias:

Alias /Microsoft-Server-ActiveSync /usr/local/pd-admin2/htdocs/z-push/

probiert, aber damit klappt es auch noch nicht. Ich bekomme im error.log immer noch diese Meldung:

Code: Select all

[Wed Nov 26 11:21:10 2008] [error] [client 217.14.122.234] 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.


evtl. noch eine Idee?

Gruß Nixdorf

nixdorf
Posts: 88
Joined: 2005-07-28 15:34

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by nixdorf » 2008-11-26 16:35

ich habe den RewriteRoules noch ein [L] angefügt, aber in den RewriteRoules - Logs kommen immer noch folgende Meldungen:

Code: Select all

80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#874eb70/initial/redir#3] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#874eb70/initial/redir#3] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#874eb70/initial/redir#3] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#874eb70/initial/redir#3] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#874eb70/initial/redir#3] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8732a58/initial/redir#4] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8732a58/initial/redir#4] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8732a58/initial/redir#4] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8732a58/initial/redir#4] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8732a58/initial/redir#4] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8735a38/initial/redir#5] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8735a38/initial/redir#5] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8735a38/initial/redir#5] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8735a38/initial/redir#5] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8735a38/initial/redir#5] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#872eed8/initial/redir#6] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#872eed8/initial/redir#6] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#872eed8/initial/redir#6] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#872eed8/initial/redir#6] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#872eed8/initial/redir#6] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#873e0b0/initial/redir#7] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#873e0b0/initial/redir#7] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#873e0b0/initial/redir#7] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#873e0b0/initial/redir#7] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#873e0b0/initial/redir#7] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8742570/initial/redir#8] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8742570/initial/redir#8] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8742570/initial/redir#8] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8742570/initial/redir#8] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8742570/initial/redir#8] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8755a90/initial/redir#9] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8755a90/initial/redir#9] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8755a90/initial/redir#9] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8755a90/initial/redir#9] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#8755a90/initial/redir#9] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#875ada8/initial/redir#10] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#875ada8/initial/redir#10] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#875ada8/initial/redir#10] (2) rewrite '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#875ada8/initial/redir#10] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php
80.187.100.220 - - [26/Nov/2008:16:24:34 +0100] [212.12.114.145/sid#81c5c40][rid#875ada8/initial/redir#10] (1) go-ahead with /usr/local/pd-admin2/htdocs/z-push/index.php [OK]
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874f878/initial] (2) init rewrite engine with requested uri /webaccess/zarafa.php
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874f878/initial] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874f878/initial] (3) applying pattern '/customer/sid/[a-z0-9]+/(.*)' to uri '/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874f878/initial] (3) applying pattern '/administrator/sid/[a-z0-9]+/(.*)' to uri '/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874f878/initial] (3) applying pattern '/pop3/sid/[a-z0-9]+/(.*)' to uri '/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874f878/initial] (1) pass through /webaccess/zarafa.php
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#8739ae8/initial/redir#1] (2) init rewrite engine with requested uri /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//webaccess/zarafa.php
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#8739ae8/initial/redir#1] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#8739ae8/initial/redir#1] (3) applying pattern '/customer/sid/[a-z0-9]+/(.*)' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#8739ae8/initial/redir#1] (3) applying pattern '/administrator/sid/[a-z0-9]+/(.*)' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#8739ae8/initial/redir#1] (3) applying pattern '/pop3/sid/[a-z0-9]+/(.*)' to uri '/cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#8739ae8/initial/redir#1] (1) pass through /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs//webaccess/zarafa.php
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874d870/subreq] (2) init rewrite engine with requested uri /usr/local/pd-admin2/htdocs/webaccess/zarafa.php
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874d870/subreq] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/usr/local/pd-admin2/htdocs/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874d870/subreq] (3) applying pattern '/customer/sid/[a-z0-9]+/(.*)' to uri '/usr/local/pd-admin2/htdocs/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874d870/subreq] (3) applying pattern '/administrator/sid/[a-z0-9]+/(.*)' to uri '/usr/local/pd-admin2/htdocs/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874d870/subreq] (3) applying pattern '/pop3/sid/[a-z0-9]+/(.*)' to uri '/usr/local/pd-admin2/htdocs/webaccess/zarafa.php'
217.14.122.234 - - [26/Nov/2008:16:28:34 +0100] [212.12.114.145/sid#81c5c40][rid#874d870/subreq] (1) pass through /usr/local/pd-admin2/htdocs/webaccess/zarafa.php
80.187.100.220 - - [26/Nov/2008:16:30:37 +0100] [212.12.114.145/sid#81bf240][rid#8736b28/initial] (2) init rewrite engine with requested uri /Microsoft-Server-ActiveSync
80.187.100.220 - - [26/Nov/2008:16:30:37 +0100] [212.12.114.145/sid#81bf240][rid#8736b28/initial] (3) applying pattern '/Microsoft-Server-ActiveSync' to uri '/Microsoft-Server-ActiveSync'
80.187.100.220 - - [26/Nov/2008:16:30:37 +0100] [212.12.114.145/sid#81bf240][rid#8736b28/initial] (2) rewrite '/Microsoft-Server-ActiveSync' -> '/usr/local/pd-admin2/htdocs/z-push/index.php'
80.187.100.220 - - [26/Nov/2008:16:30:37 +0100] [212.12.114.145/sid#81bf240][rid#8736b28/initial] (2) local path result: /usr/local/pd-admin2/htdocs/z-push/index.php


EDIT: Das nächste mal bitte den CODE-Tag verwenden. --Roger Wilco

nixdorf
Posts: 88
Joined: 2005-07-28 15:34

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by nixdorf » 2008-11-26 17:04

Hallo,

da funkt mir immer noch das php-cgiwrap dazwischen oder??

Gruß NIxdorf

Roger Wilco
Administrator
Administrator
Posts: 5924
Joined: 2004-05-23 12:53

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by Roger Wilco » 2008-11-26 19:14

nixdorf wrote:da funkt mir immer noch das php-cgiwrap dazwischen oder??

Auf den ersten Blick würde ich das bestätigen, allerdings kennen wir deine Konfiguration nicht. Ist also nur geraten.

nixdorf
Posts: 88
Joined: 2005-07-28 15:34

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by nixdorf » 2008-11-27 15:19

Hallo,

es ist dieser Eintrag, der mir die eine Endlosschleife verursacht.


Action php5wrap /cgi-sys/php5-cgiwrap/usr/local/pd-admin2/htdocs/

zusammen mit:

Alias /Microsoft-Server-ActiveSync /usr/local/pd-admin2/htdocs/z-push
RewriteRule /Microsoft-Server-ActiveSync /usr/local/pd-admin2/htdocs/z-push/index.php

ruft sich dann die Seite immer wieder auf.

Wie kann ich das in der httpd.conf-template verhindern?



Gruß Nixdorf

User avatar
Joe User
Project Manager
Project Manager
Posts: 11137
Joined: 2003-02-27 01:00
Location: Hamburg

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by Joe User » 2008-11-28 17:16

Nimm die RewriteRule raus, sie ist überflüssig...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.

nixdorf
Posts: 88
Joined: 2005-07-28 15:34

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by nixdorf » 2008-11-29 11:50

Hallo,

ohne die RewriteRule passiert nichts. Das hatte ich schon ausprobiert.

Gruß Nixdorf

User avatar
Joe User
Project Manager
Project Manager
Posts: 11137
Joined: 2003-02-27 01:00
Location: Hamburg

Re: RewriteRule ruft sich anscheinen immer wieder selber auf

Post by Joe User » 2008-11-29 12:03

Wenn DirectoryIndex richtig gesetzt ist, ist die RewriteRule überflüssig, was bedeuten würde, dass der Alias nicht aufgelöst wird...

Code: Select all

DirectoryIndex index.html index.html.var index.php


Eventuell benötigt Dein CGIWrapper auch einen ScriptAlias?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.