Forum Moderators: phranque
So I've been toying with things like this, as per the zeus tutorial [zeus.com]:
Redirect / [mysite.com...]
Redirect / /acatalog
And other variations. When I try to view www.mysite.com in Phoenix, I get an error alert that reads the following: Redirection for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked.
In internet explorer I just get the typical: page not found.
Is there any way I can solve this, short of pleading with my hosting providers to point the domain down a level? The URL in question is quite long - 34 characters, including www..co.uk
Anyone shed some light?
I'm pretty desperate,
thanks.
Zeus support provides a mailing list [support.zeus.com] with a searchable archive that may be helpful.
The problem is that your Redirect - if it works like it does on Apache - does prefix matching only. As a result, any URL on your site will match "/" and be redirected when it it requested. Therefore, your server and browser go into an infinite loop when your redirect is invoked, up until the browser hits its "redirection limit."
I suggest you check to see if Zeus supports anything like RedirectMatch or mod_rewrite. Since these both use regular expressions, they allow much more complex matching to be done instead of simple prefix matching.
HTH,
Jim
[zeus.com...]
Which version of Zeus are you using? Version 4 is better than version 3, but even with the latest versions you obviously can't use Apache modules such as mod_rewrite, so you are always going to be a bit restricted in what you can do.
jd: I don't think it can work in the same way as Apache, because the twice-linked zeus htaccess tutorial lists /* as applying to anything in root, while / applies only to that requested URL, I could be wrong. I'm utterly sure regular expressions will give me a real headache. I'm so going to phone up some poor tech. support guys and rant at them until they do my bidding.
universalis: don't know which version is running, partly because the internet is refusing to work for all but a few domains, and partly because I didn't think to look when it did.