Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-07-21 10:44:18
- battletux
- New Member
- Registered: 2004-04-15
- Posts: 6
Zeus Webserver: Zeus re-write rules.
Ok I had a search but could not find any results for this so here goes.
As most of you are aware the Zeus webserver does not support Apache re-write rules, so if your host (like mine) uses Zeus then your out of luck when it comes to using ‘clean’ URLs.
After a bit of digging I have found that Zeus has a tool available in it’s Admin panel that allows you to convert Apache re-write rules to Zeus compatible ones.
As such I had my Network Manager run the standard Textpattern .htaccess file through the Zeus re-write tool converter (i happen to work for my webhost) and it came up with the following:
http://pastebin.com/753944
(had to use Pastebin, sorry i couldn’t get the code to format correctly no matter what example i used as a guide line)
The errors were:
WARN:2:Unknown variable expansion: REQUEST_FILENAME SERIOUS:2:Condition might be lexical or test(1): -f WARN:3:Unknown variable expansion: REQUEST_FILENAME SERIOUS:3:Condition might be lexical or test(1): -d WARN:4:Option PT not supported
I haven’t managed to test this yet, but by posting it here it may help someone get their site working with clean URLs.
If anyone is familer with Zeus and could improve/fix this please post a reply.
One thing to remember is that this is not intended to replace your .htaccess. My host requests that Zeus re-write rules are stored in a file called “rewrite.script” located in the root web directory.
I hope this helps someone out.
Last edited by battletux (2006-07-21 11:05:07)
Offline
#2 2006-07-21 11:04:27
- battletux
- New Member
- Registered: 2004-04-15
- Posts: 6
Re: Zeus Webserver: Zeus re-write rules.
Ok I have just tested it and it does not work fully.
I can see the main home page, inc frontpage content, now when i goto www.mysite.tld but as soon as try to view comments or permalinks (or anything that uses the clearn URLs) i get a 404.
Offline
Re: Zeus Webserver: Zeus re-write rules.
I am not familiar with Zeus Rewrite Rule, and I doubt many here are.
However you can try to set the error-handler of Zeus – at least for that directory – to textpattern’s index.php. This method works fine with lighttpd, too. And that i basically what the htaccess-rewrite rules do as well.
If this does work, you should check if posting comments with clea urls works as well, because with the error-handler method it is different from webserver to webserver (apache looses POST data, while lighttpd does not, for example). I would be interested to find out how zeus behaves. Please also let us know the version numbers, in case any oher people want to try this out later.
Offline
Pages: 1