Jump to:

22977 Posts in 11806 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Zeus server

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

Page: 1
Go to End
Author Topic: 1193 Views
  • Frank_08
    Avatar
    Community Member
    12 Posts

    Zeus server Link to this post

    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

  • Frank_08
    Avatar
    Community Member
    12 Posts

    Re: Zeus server Link to this post

    Anyone please?

  • tonysunny
    Avatar
    Community Member
    1 Post

    Re: Zeus server Link to this 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

  • go2planC
    Avatar
    Community Member
    19 Posts

    Re: Zeus server Link to this post

    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

    1193 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.