gestern fiel mir auf, dass irgendwas mit meiner rewrite-rule mächtig unrichtig läuft. Vorweg mal die .htaccess in Auszügen:
- Code: Select all
RewriteEngine on
RewriteCond %{SERVER_NAME} (www\.)?dbcf\.de(.*) [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !(.*)dbcf\.de(.*) [NC]
RewriteRule \.(gif|jpg|png)$ /is/htdocs/34229/www.dbcf.de/bilder/pfui.gif [L]
RewriteRule guestbook/guestbook.php gaestebuch_service/gaestebuch.php
RewriteRule guestbook/add.php gaestebuch_service/add.php
RewriteCond %{SERVER_NAME} (www\.)?dbcf\.de(.*) [NC]
RewriteCond %{REQUEST_URI} !(\.php|lo/|db/|gaestebuch_service/)
RewriteRule ^(.*)/$ index.php?topic=$1&subdir=1 [L]
RewriteCond %{SERVER_NAME} localhost
RewriteCond %{REQUEST_URI} !(\.php|lo/|db/|gaestebuch_service/)
RewriteRule ^(.*)/$ index.php?topic=$1&subdir=1 [L]
Das Problem offenbarte mir Google. Ein Ausschnitt aus dem Accesslog (Accesslog wohlgemerkt, nicht Errorlog!):
- Code: Select all
66.249.65.144 - - [14/Jun/2005:13:09:20 +0200] "GET /index.php/bilder/forum/bilder/kontakt/abkuerzungen/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
66.249.65.144 - - [14/Jun/2005:13:09:22 +0200] "GET /index.php/abkuerzungen/programmierung/bilder/dresden/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
66.249.65.144 - - [14/Jun/2005:13:09:22 +0200] "GET /index.php/gasometer-bilder/dresden/forum/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
66.249.65.144 - - [14/Jun/2005:13:09:23 +0200] "GET /index.php/sarrasani/start/abkuerzungen/abkuerzungen/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
66.249.65.144 - - [14/Jun/2005:13:09:28 +0200] "GET /index.php/gasometer-bilder/programmierung/rest/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
66.249.65.144 - - [14/Jun/2005:13:09:29 +0200] "GET /index.php/abkuerzungen/gaestebuch-service/abkuerzungen/dresden/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
66.249.65.144 - - [14/Jun/2005:13:09:30 +0200] "GET /index.php/start/rest/kontakt/rest/forum/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
66.249.65.144 - - [14/Jun/2005:13:09:31 +0200] "GET /index.php/kontakt/gaestebuch-service/besucherzaehler/start/ HTTP/1.1" 200 4771 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" "www.dbcf.de"
Ich weiß allerdings überhaupt und absolut nicht, warum sich bei Google (bei anderen garantiert auch) die Verzeichnisse hinten anhängen. Ich kann es leider absolut nicht nachvollziehen.
Hat irgendwer irgendwelche Ideen?
Ach ja: Apache/1.3.31 (Unix) FrontPage/5.0.2.2635 PHP/4.3.10
Danke
Carsten