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.

Archive /

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

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

directing / access to a page


Reply


5 Posts   3054 Views

Avatar
lekonna

Community Member, 3 Posts

15 December 2008 at 3:43am

I've got a rather silly problem,

I've got silverstripe set up on my server in the root dir, how do i get the

www.myhost.com/ to point to a silverstripe page ? So far i've managet only
get myhost.com/subpage/ type of access to work.

I tried browsing through the documentation, but unfortunately i seem to suck at defining the search terms for this particular issue.

so under my SilverStripe CMS i've got a hierarchy
sitecontent
|
+start
|
+page1
|
+page2
..

i'd like to get the www.mysite.com to get the start page by default. Any help including RTFM with link to the proper manual is greatly appreciated.

Best Regards,
lekonna

Avatar
Nivanka

Community Member, 397 Posts

15 December 2008 at 5:59am

Edited: 15/12/2008 6:00am

what happens when you go to http://mysite.com/

if you get the install page, then it is a cache issue.

Avatar
lekonna

Community Member, 3 Posts

15 December 2008 at 9:20am

Edited: 15/12/2008 9:25am

mysite.com gives me the 404 page.

i'm fiddling around with adding regexp that catches empy uri path or index.html in the .thaccess
and redirects it to main.php?url=start but it doesn't seem like the correct way to go.

i think the cms can handle root domain accesses like this like a champ, just that i cannot get
my head around how to set it up properly.
br,
leko

Avatar
Nivanka

Community Member, 397 Posts

15 December 2008 at 2:39pm

what is your server there?

sometimes this happen if you have not allowed the .htaccess from the server's main httpd.conf. Make sure you have allowoverride option in the httpd.conf

Avatar
lekonna

Community Member, 3 Posts

15 December 2008 at 7:35pm

Ok i'll check,

to which page should it go by default if i omit the rest of the url? And how do i change that
or alternatively how do i create the / page.

br,
lekonna,
thanks for answering