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   1290 Views

Avatar
Frank_08

Community Member, 12 Posts

28 January 2009 at 8:31am

Edited: 29/01/2009 7:07am

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

Community Member, 12 Posts

29 January 2009 at 7:00am

Edited: 29/01/2009 7:00am

Anyone please?

Avatar
tonysunny

Community Member, 1 Post

20 October 2009 at 7:28am

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

Community Member, 19 Posts

16 February 2010 at 4:34am

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 :)