517 Posts in 280 Topics by 221 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1312 Views |
-
htaccess RewriteBase on a site thats yet to go live SOLVED

11 March 2010 at 2:27pm Last edited: 11 March 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/silverstripeIs 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:
| 1312 Views | ||
|
Page:
1
|
Go to Top |

