apache - mod_rewrite infite loop -
i have apache 2.2 , 3 virtual hosts on , mod_rewrite infinite lopp isssue cannot resolve. apache in company lan on 192.168.1.228 ip address. 2 virtual hosts work perfectly. third makes problems. network admin created subdomain point 192.168.1.228. virtual host configured way:
<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 rewriteengine on rewritecond $1 !^(index\.php|images|upload|css|download|assets|js|nfos|robots\.txt) rewriterule ^(.*)$ /stansrodowiska/index.php/$1 [l] </directory> </virtualhost>
if access website lan on address: http://giostube.mycompany.local/
403 forbidden don't have permission access /stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php/stansrodowiska/index.php......... on server
the /stansrodowiska/index.php/ of course repeated more think around 2048 chars http post maximum. strange thing same mod_rewrite rules work on other preconfigured wamp environment (vertrigo).
underneath there codeigniter 1.7.2 application.
is error within mod_rewrite rules or have search elsewhere?
change line:
rewriterule ^(.*)$ /stansrodowiska/index.php/$1 [l]
to:
rewriterule ^(.*)$ /index.php/$1 [l]
Comments
Post a Comment