I have got an issue with spinning a Hyperlink to a fastcgi dispatcher. Basically leave only:

RewriteRule ^(.*)$ dispatch.fcgi/$1 [L,QSA]

I was expecting L (last rule) to result in merely a single rewrite. Rather, it keeps prepending dispatch.fcgi until apache reviews a mistake.

It can be fixed with:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L,QSA]

But what's the reason behind multiple rewrites? Does L make a move else than It does?

Apparently -- and that i only look at this here, I've no top notch understanding -- the [L] directive doesn't work inshtaccess files, only when its inside your .conf file.

See: http://stackoverflow.com/questions/286004/hidden-features-of-modrewrite

inside the .htaccess context, [L] will not pressure mod_rewrite to prevent. it'll still trigger internal

Hy , add this after RewriteEngine On

RewriteCond %{ENV:REDIRECT_STATUS} 200
RewriteRule .* - [L]

.. also it should work stoping loops .