Page 1 of 1

Zues Rewrite instead of Modrewrite

Posted: Mon 25. Feb 2008, 18:19
by tyreal2012
is it possible to use Zues rewrite with phpwcms?

Re: Zues Rewrite instead of Modrewrite

Posted: Mon 25. Feb 2008, 18:48
by update
If you mean zeus rewrite (not zues), then why not? But I hope you can rewrite the apache rewrite into the zeus rewrite ;)

Re: Zues Rewrite instead of Modrewrite

Posted: Tue 26. Feb 2008, 10:32
by tyreal2012
heh typo

and er no i cant but i might know a man who can!

Re: Zues Rewrite instead of Modrewrite

Posted: Tue 26. Feb 2008, 19:30
by update
If you are on a Zeus web server, there must be a conversion tool then. Look for convert_rewrite or a similar one...
Most of the conversion is done by that tool, some fine tuning by hand will be needed sometimes ...
Since I did never (well, once ;) ) use Zeus I don't know how to do that...

Re: Zeus Rewrite instead of Modrewrite

Posted: Sat 1. Mar 2008, 18:11
by Jensensen
mod_rewrite is Apache only

don't know if Zeus web server still suffer from the missing rewrite capabilities but found this:
http://www.webmasterworld.com/forum23/3079.htm
http://www.webmasterworld.com/apache/3312276.htm

Zeus Support suggestion:
http://support.zeus.com/zws/integration ... zation_seo

Re: Zues Rewrite instead of Modrewrite

Posted: Thu 24. Jul 2008, 16:44
by 360fusion
Does anyone have a URL rewrite script for Zeus?

I have found a converter in a clients web control panel but it doesn't work. I take it the main lines of code needed are:

Code: Select all

RewriteEngine On

	RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6
	
	RewriteRule ^(.+)\.phtml$ index.php?$1
The converter produces this:

Code: Select all

RULE_0_START:
match URL into $ with ^/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$
if not matched then goto RULE_0_END
# Source line 7
# Second half of: RewriteRule ^/([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6
set URL = index.php?id=$1,$2,$3,$4,$5,$6
RULE_0_END:

RULE_1_START:
match URL into $ with ^/(.+)\.phtml$
if not matched then goto RULE_1_END
# Source line 10
# Second half of: RewriteRule ^/(.+)\.phtml$ index.php?$1
set URL = index.php?$1
RULE_1_END:
and saved it in the root folder as 'rewrite.script'

It doesn't work though. :(