homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Zeus rewrite
Redirecting root?

10+ Year Member

Msg#: 119 posted 12:00 pm on Feb 27, 2003 (gmt 0)

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,



WebmasterWorld Senior Member 10+ Year Member

Msg#: 119 posted 7:28 pm on Feb 27, 2003 (gmt 0)

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.


WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 119 posted 8:06 pm on Feb 27, 2003 (gmt 0)


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.



10+ Year Member

Msg#: 119 posted 8:35 pm on Feb 27, 2003 (gmt 0)

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.


10+ Year Member

Msg#: 119 posted 10:38 am on Feb 28, 2003 (gmt 0)

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.


WebmasterWorld Senior Member 10+ Year Member

Msg#: 119 posted 8:34 pm on Apr 6, 2003 (gmt 0)

Following on from above posts....

Does anyone know of a simple tutorial that that can show me how to go from:


(On Apache)

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved