i've Apache 2.2 and three virtual hosts onto it along with a mod_rewrite infinite lopp isssue i am unable to resolve. Apache is within my opportunity LAN around the 192.168.1.228 Ip. 2 virtual hosts work perfectly. The 3rd makes problems. My network admin produced a subdomain to suggest to that particular 192.168.1.228. The Virtual Host is set up by doing this:
<VirtualHost 192.168.1.228> DocumentRoot "C:/Apache/htdocs/stansrodowiska" ServerName giostube.mycompany.local LimitInternalRecursion 1000 <Directory "C:/Apache/htdocs/stansrodowiska"> Options Indexes FollowSymLinks Includes AllowOverride None Order allow,deny Allow from all RewriteEngine on RewriteCond $1 !^(index\.php|images|upload|css|download|assets|js|nfos|robots\.txt) RewriteRule ^(.*)$ /stansrodowiska/index.php/$1 [L] </Directory> </VirtualHost>
Basically access this site from the lan within the address: http://giostube.mycompany.local/ i recieve an
403 Forbidden You don't have permission to access /stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php......... on this server
The /stansrodowiska/index.php/ is obviously repeated a lot more frequently i believe close to 2048 chars the HTTP Publish maximum.
Strange factor is the fact that the identical mod_rewrite rules focus on some other preconfigured WAMP atmosphere (Vertrigo).
Underneath there's a Codeigniter 1.7.2 application.
May be the error inside the mod_rewrite rules or must i search elsewhere?
Change this line:
RewriteRule ^(.*)$ /stansrodowiska/index.php/$1 [L]
RewriteRule ^(.*)$ /index.php/$1 [L]