Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Zeus server


Reply

4 Posts   1266 Views

Avatar
Frank_08

28 January 2009 at 8:31am (Last edited: 29 January 2009 7:07am), Community Member, 12 Posts

Is it possible to run Silverstripe on a Zeus server?
I called the hosting company and they told me to try to create a Zeus rewrite script instead of an .htaccess file but I don't know how to do that or if it's worth even trying.
Any help is appreciated.

Thanks

Avatar
Frank_08

29 January 2009 at 7:00am (Last edited: 29 January 2009 7:00am), Community Member, 12 Posts

Anyone please?

Avatar
tonysunny

20 October 2009 at 7:28am Community Member, 1 Post

Hey frank, finally did u get any solution for that ? pls help me if u hav the solution........ I'm in trouble

Thanks in advance

Avatar
go2planC

16 February 2010 at 4:34am Community Member, 19 Posts

Hi Guys place the folowing code in a file called rewrite.script and place it in the root directory instead of the .htaccess file.

# rewite script for zeus servers

match URL into $ with ^/.*\.(gif|jpg|png|css|js).*$
if not matched
match URL into $ with ^/(.*)$
if matched
look for file at $1
if not exists
# Set the default page to be displayed if the URL is not a file or resource
set URL = /sapphire/main.php?url=$1
goto END
endif
endif
endif

# Enjoy Rob :)