Jump to:

557 Posts in 3305 Topics by 244 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » htaccess RewriteBase on a site thats yet to go live SOLVED

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: 1538 Views
  • Bambii7
    Avatar
    Community Member
    254 Posts

    htaccess RewriteBase on a site thats yet to go live SOLVED Link to this post

    Hi again to all, on my favorite forum.
    This issue will be resolved later today I'm sure when the nameservers switch. But I develop a lot of SS sites like this so the solution would be handy to know.

    I don't think there is much of a risk giving the links to the site on its IP so here it is
    http://208.79.232.180/~mitchell/
    which will soon become http://mitchellstoutarchitects.co.nz/

    I get a nifty 404 when viewing on the IP. The folder was under /ss because there was a joomla install on root. I've just deleted the joomla install and moved the SS files to root.
    I used to get similar issues when playing with SS locally in sub folders. The solution was to add something like
    RewriteBase /ss/SilverStripev2.3.2/silverstripe

    Is there something similar I can do when viewing the site via the IP?
    I tried
    RewriteBase http://208.79.232.180/~mitchell/
    or
    ...................
    Sorry just stumbled across the fix in my usual fashion but feel I should continue this post if anyone else has similar issues.
    I needed to forward the shared host IP to the accounts partition
    RewriteBase /~mitchell/
    :blush:

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