Jump to:

558 Posts in 3572 Topics by 244 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Running SS 2.4 in Subdomain

What you need to consider when choosing a hosting provider and plan.

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

Page: 1
Go to End
Author Topic: 315 Views
  • Lazarus404
    Avatar
    Community Member
    71 Posts

    Running SS 2.4 in Subdomain Link to this post

    Hi guys,

    I have a SS install on a dev server which is running under a subdomain. On the physical server, the site is in a sub-directory under public_html. When I run the site, the home page renders fine, but subsequent pages don't. htaccess has a rewrite cond like this.

    RewriteCond %{REQUEST_URI} ^(.*)$

    If I update the htaccess file so that it reads

    RewriteCond %{REQUEST_URI} ^/subdirectory/(.*)$

    Then sub pages render but the home page does not.

    Does anyone have an example htaccess that fixes this?

    Thanks,
    Lee

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