I've been trying to set up our hosting today to redirect a URL elsewhere, with little success. The hosting we're with is based on the Zeus webserver, rather than Apache. We've been toying with Actinic as a shopping solution, and until a few days ago it all seemed well. Uploading, it automatically puts itself in the /acatalog/ directory, rather than the root directory /. Which is where we need it.
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,
It seems we have few Zeus users, the last Zeus question I recall received little response. Maybe we'll do better with this one! :)
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.
I use Zeus for a few sites, and although it has certain advantages in some areas, support for .htaccess directives and such is much more limited than Apache. This document may help you out:
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.
I asked on the mailing list before posting here actually, I just thought it best to cover all my bases. I can't get to my email though, because BTOpenworld is being really terrible about sending us packets.
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.
Following on from above posts....
Does anyone know of a simple tutorial that that can show me how to go from: