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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Cant install in sub directory of domain


Go to End


4 Posts   2391 Views

Avatar
zaud

5 Posts

22 August 2007 at 10:18pm

I tried following the instructions to install into http://www.mydomain/content/

After successful installation I receive page not found by trying to goto http://www.mydomain.com/content/home or http://www.mydomain.com/content

I also tried:

Alternative .htaccess configuration
The current .htaccess doesn’t work for all web servers. Try changed the line

RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
to

RewriteRule .* /content/sapphire/main.php?url=%1&%{QUERY_STRING} [L]

This produces the same page not found error. Anyone come across a fix for this? I cannot modify the HTTP.CONF file as its a shared server.

Thx,

Zaud

Avatar
BeefStake

23 Posts

23 August 2007 at 10:15pm

Should work fine...
I have on my server installations of SS in separate directories on my server atm, all work fine...

Avatar
zaud

5 Posts

23 August 2007 at 11:02pm

Hi BeefStake,

Are these in the root of seperate domains or all under 1 domain?

If its under 1 domain is there something wrong with the htaccess example I pasted because it just gives me page not found.

Zaud

Avatar
lancer

57 Posts

1 September 2007 at 12:22am

Edited: 01/09/2007 12:22am

Inserting

RewriteBase /content

under

RewriteEngine on

should do the trick