Jump to:

23483 Posts in 18976 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » problem with subdomain and subdir

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: 534 Views
  • Abadon
    Community Member
    1 Post

    problem with subdomain and subdir Link to this post

    i have setup silverstripe on a subdomain (ss.example.com) and it works, but when i go on it over the subdir (example.com/ss) of the domain
    it dosn't work because the rewritebase is wrong. how can i make that the ".htaccess" checks the the basedir and if it the sub domain sets the rewritebase "/" and otherwise "/ss"?
    thanks for all answers
    greetz abadon

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.