Forums / Install & configuration / nice URLs error ---"too many redirects"
Kevin Myles
Thursday 05 August 2004 8:31:45 am
I am using virtual hosting I want to eliminate index.php from my urls. So, following the tutorial athttp://ez.no/ez_publish/documentation/customization/tips_tricks/creating_nice_urls
I adjusted my .htaccess file, which is located at mysite.org/mypathwhereEZislocated/ so it now reads:
php_value magic_quotes_gpc 0php_value register_globals 0
RewriteEngine OnRewriteRule ^([^.]+)?$ /index.php/$1
I also modified my /settings/override/site.ini.append , site.ini.append.php and site.ini.append.php~ files to include:
the [URLTranslator]
Thursday 05 August 2004 8:39:01 am
However, when i try to open up mysite.org/pathwhereezislocated , it gives me an error saying there are too many redirects and won't open the page. This is the first problem.
Second, if i type in mysite.org/path/index.php, the site opens. Since I adjusted the URLS as per the tutorial, I am able to see that the index.php is missing from the links, however, the links are broken and thus still require index.php
i should note that mysite.org redirects to mysite.org/path using a php script in index.php, but this doesn't seem to be an issue, as mysite.org/cms is generating this error.
ANyway, suggestions would be much appreciated.