Jump to:

23355 Posts in 17838 Topics by 2862 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: 517 Views
  • Abadon
    Avatar
    Community Member
    1 Post

    problem with subdomain and subdir Link to this post

    hi,
    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

    517 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.