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

Setting up Hosting - problems


Reply


3 Posts   1520 Views

Avatar
Valorinbattle

Community Member, 95 Posts

20 February 2009 at 10:28am

I've just completed my first Silverstripe site locally and am wanting to upload it to my host (Bluehost.com).
I'm getting 404 Not Found errors - "The requested URL /CityCareClinic/sapphire/main.php was not found on this server."
I removed "CityCareClinic" (the folder in WAMP) and I get errors saying it can't access the MySQL database.

Any help would be appreciated.
~ James

Avatar
Willr

Forum Moderator, 5513 Posts

20 February 2009 at 5:42pm

Have alook in your .htaccess on the live site. Because you installed in a subdirectory with WAMP it may have hard coded that folder name in the 'RewriteBase' line in that file. You will just need to change that line to / on the live site

Avatar
Valorinbattle

Community Member, 95 Posts

23 February 2009 at 3:45pm

Thanks again Willr! That fixed it.