Zues Rewrite instead of Modrewrite

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
tyreal2012
Posts: 46
Joined: Fri 8. Dec 2006, 16:57

Zues Rewrite instead of Modrewrite

Post by tyreal2012 »

is it possible to use Zues rewrite with phpwcms?
phpWCMS Noob - with a million questions
[1.3.3]
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Zues Rewrite instead of Modrewrite

Post 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 ;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
tyreal2012
Posts: 46
Joined: Fri 8. Dec 2006, 16:57

Re: Zues Rewrite instead of Modrewrite

Post by tyreal2012 »

heh typo

and er no i cant but i might know a man who can!
phpWCMS Noob - with a million questions
[1.3.3]
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Zues Rewrite instead of Modrewrite

Post 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...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Zeus Rewrite instead of Modrewrite

Post 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
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
360fusion
Posts: 120
Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:

Re: Zues Rewrite instead of Modrewrite

Post 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. :(
Post Reply