Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Hosting Requirements /

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

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

htaccess RewriteBase on a site thats yet to go live SOLVED


Reply


1613 Views

Avatar
Bambii7

Community Member, 254 Posts

11 March 2010 at 2:27pm

Edited: 11/03/2010 2:28pm

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: