Назад | Перейти на главную страницу

Устранение проблем с URL-адресом с ubuntu apache, php-fpm, fastcgi

Ну это своего рода репост этот, но пока никто не ответил на мой вопрос, поэтому я здесь.

Я использую Apache / 2.2.17 (Ubuntu) mod_fastcgi с php-fpm, и я не могу включить чистые URL-адреса, поскольку сайт возвращает внутренние ошибки сервера. Я думаю, что что-то не так в моих настройках .htaccess. Тот же сервер содержит Wordpress под другим виртуальным хостом, и он отлично работает.

Это важная информация, которая, я надеюсь, поможет разобраться в проблеме.

Мой виртуальный хост содержит:

<VirtualHost *:80>
    ServerName example.com
    ServerAlias www.example.com
    DocumentRoot /home/dowsin/public_html
    FastCgiExternalServer /home/dowsin/public_html/php5.external -host 127.0.0.1:9000
    AddHandler php5-fcgi .php
    Action php5-fcgi /usr/lib/cgi-bin/php5.external
    Alias /usr/lib/cgi-bin/ /home/dowsin/public_html/
    RewriteLog "/home/dowsin/public_html/rewrite.log"
    RewriteLogLevel 9

    <Directory "/home/dowsin/public_html">
        allow from all
        Options -Indexes
        AllowOverride all
    </Directory>
</VirtualHost>

.htaccess содержит

RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

rewrite_log:

xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/user -> user
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'user'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/user' pattern='!-f' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/user' pattern='!-d' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (2) [perdir /home/dowsin/public_html/] rewrite 'user' -> 'index.php?q=user'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (3) split uri=index.php?q=user -> uri=index.php, args=q=user
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (3) [perdir /home/dowsin/public_html/] add per-dir prefix: index.php -> /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (2) [perdir /home/dowsin/public_html/] trying to replace prefix /home/dowsin/public_html/ with /
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (5) strip matching prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (4) add subst prefix: index.php -> /index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b828f3c0/initial] (1) [perdir /home/dowsin/public_html/] internal redirect with /index.php [INTERNAL REDIRECT]
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8294ce8/initial/redir#1] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8294ce8/initial/redir#1] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8294ce8/initial/redir#1] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/index.php' pattern='!-f' => not-matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8294ce8/initial/redir#1] (1) [perdir /home/dowsin/public_html/] pass through /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (3) [perdir /home/dowsin/public_html/] add path info postfix: /home/dowsin/public_html/php5.external -> /home/dowsin/public_html/php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/php5.external/index.php -> php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-f' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-d' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (2) [perdir /home/dowsin/public_html/] rewrite 'php5.external/index.php' -> 'index.php?q=php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (3) split uri=index.php?q=php5.external/index.php -> uri=index.php, args=q=php5.external/index.php&q=user
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (3) [perdir /home/dowsin/public_html/] add per-dir prefix: index.php -> /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (2) [perdir /home/dowsin/public_html/] trying to replace prefix /home/dowsin/public_html/ with /
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (5) strip matching prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (4) add subst prefix: index.php -> /index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b8299248/initial/redir#2] (1) [perdir /home/dowsin/public_html/] internal redirect with /index.php [INTERNAL REDIRECT]
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829b7e0/initial/redir#3] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829b7e0/initial/redir#3] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829b7e0/initial/redir#3] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/index.php' pattern='!-f' => not-matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829b7e0/initial/redir#3] (1) [perdir /home/dowsin/public_html/] pass through /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (3) [perdir /home/dowsin/public_html/] add path info postfix: /home/dowsin/public_html/php5.external -> /home/dowsin/public_html/php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/php5.external/index.php -> php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-f' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-d' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (2) [perdir /home/dowsin/public_html/] rewrite 'php5.external/index.php' -> 'index.php?q=php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (3) split uri=index.php?q=php5.external/index.php -> uri=index.php, args=q=php5.external/index.php&q=php5.external/index.php&q=user
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (3) [perdir /home/dowsin/public_html/] add per-dir prefix: index.php -> /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (2) [perdir /home/dowsin/public_html/] trying to replace prefix /home/dowsin/public_html/ with /
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (5) strip matching prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (4) add subst prefix: index.php -> /index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829caa0/initial/redir#4] (1) [perdir /home/dowsin/public_html/] internal redirect with /index.php [INTERNAL REDIRECT]
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829f128/initial/redir#5] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829f128/initial/redir#5] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829f128/initial/redir#5] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/index.php' pattern='!-f' => not-matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b829f128/initial/redir#5] (1) [perdir /home/dowsin/public_html/] pass through /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (3) [perdir /home/dowsin/public_html/] add path info postfix: /home/dowsin/public_html/php5.external -> /home/dowsin/public_html/php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/php5.external/index.php -> php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-f' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-d' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (2) [perdir /home/dowsin/public_html/] rewrite 'php5.external/index.php' -> 'index.php?q=php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (3) split uri=index.php?q=php5.external/index.php -> uri=index.php, args=q=php5.external/index.php&q=php5.external/index.php&q=php5.external/index.php&q=user
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (3) [perdir /home/dowsin/public_html/] add per-dir prefix: index.php -> /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (2) [perdir /home/dowsin/public_html/] trying to replace prefix /home/dowsin/public_html/ with /
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (5) strip matching prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (4) add subst prefix: index.php -> /index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a05f0/initial/redir#6] (1) [perdir /home/dowsin/public_html/] internal redirect with /index.php [INTERNAL REDIRECT]
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a2dd0/initial/redir#7] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a2dd0/initial/redir#7] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a2dd0/initial/redir#7] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/index.php' pattern='!-f' => not-matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a2dd0/initial/redir#7] (1) [perdir /home/dowsin/public_html/] pass through /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (3) [perdir /home/dowsin/public_html/] add path info postfix: /home/dowsin/public_html/php5.external -> /home/dowsin/public_html/php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/php5.external/index.php -> php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-f' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-d' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (2) [perdir /home/dowsin/public_html/] rewrite 'php5.external/index.php' -> 'index.php?q=php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (3) split uri=index.php?q=php5.external/index.php -> uri=index.php, args=q=php5.external/index.php&q=php5.external/index.php&q=php5.external/index.php&q=php5.external/index.php&q=user
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (3) [perdir /home/dowsin/public_html/] add per-dir prefix: index.php -> /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (2) [perdir /home/dowsin/public_html/] trying to replace prefix /home/dowsin/public_html/ with /
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (5) strip matching prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (4) add subst prefix: index.php -> /index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a4348/initial/redir#8] (1) [perdir /home/dowsin/public_html/] internal redirect with /index.php [INTERNAL REDIRECT]
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a6c78/initial/redir#9] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a6c78/initial/redir#9] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a6c78/initial/redir#9] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/index.php' pattern='!-f' => not-matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a6c78/initial/redir#9] (1) [perdir /home/dowsin/public_html/] pass through /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (3) [perdir /home/dowsin/public_html/] add path info postfix: /home/dowsin/public_html/php5.external -> /home/dowsin/public_html/php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (3) [perdir /home/dowsin/public_html/] strip per-dir prefix: /home/dowsin/public_html/php5.external/index.php -> php5.external/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (3) [perdir /home/dowsin/public_html/] applying pattern '^(.*)$' to uri 'php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-f' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (4) [perdir /home/dowsin/public_html/] RewriteCond: input='/home/dowsin/public_html/php5.external' pattern='!-d' => matched
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (2) [perdir /home/dowsin/public_html/] rewrite 'php5.external/index.php' -> 'index.php?q=php5.external/index.php'
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (3) split uri=index.php?q=php5.external/index.php -> uri=index.php, args=q=php5.external/index.php&q=php5.external/index.php&q=php5.external/index.php&q=php5.external/index.php&q=php5.external/index.php&q=user
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (3) [perdir /home/dowsin/public_html/] add per-dir prefix: index.php -> /home/dowsin/public_html/index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (2) [perdir /home/dowsin/public_html/] trying to replace prefix /home/dowsin/public_html/ with /
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (5) strip matching prefix: /home/dowsin/public_html/index.php -> index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (4) add subst prefix: index.php -> /index.php
xxx.xxx.xxx.xxx - - [14/Aug/2011:14:54:07 +0000] [example.com/sid#b80e52b0][rid#b82a8338/initial/redir#10] (1) [perdir /home/dowsin/public_html/] internal redirect with /index.php [INTERNAL REDIRECT]

Журнал ошибок сервера:

[Mon Aug 01 15:59:20 2011] [ошибка] [client xxx.xxx.xxx.xxx] Запрос превысил ограничение в 10 внутренних перенаправлений из-за возможной ошибки конфигурации. При необходимости используйте LimitInternalRecursion, чтобы увеличить лимит. Используйте «Отладка LogLevel», чтобы получить обратную трассировку.

Настройки блога Wordpress: vhost

<VirtualHost *:80>
ServerName blog.com
ServerAlias www.blog.com
DocumentRoot /home/rod32/public_html
FastCgiExternalServer /home/rod32/public_html/php5.external -host 127.0.0.1:9000
AddHandler php5-fcgi .php
Action php5-fcgi /usr/lib/cgi-bin/php5.external
Alias /usr/lib/cgi-bin/ /home/rod32/public_html/

RewriteLogLevel 3
<Directory "/home/rod32/public_html">
allow from all
Options -Indexes
AllowOverride all
</Directory>
ErrorLog "/home/rod32/error.log"
CustomLog "/home/rod32/access.log" combined

</VirtualHost>

.htaccess

RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]

Я до сих пор не нашел лучшего решения, но вставив это в ваш .htacces, мы добьемся цели

RewriteCond %{REQUEST_URI} !php5.external

Или что-то вроде этого cond!

Он работал с моими тестами drupal ... но я ищу что-то, что может работать без необходимости редактировать все .htacess с моего сервера