nice URLs error ---"too many redirects"

Author Message

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 at
http://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 0
php_value register_globals 0

RewriteEngine On
RewriteRule ^([^.]+)?$ /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]

Kevin Myles

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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.