17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1496 Views |
-
Problem with url path?

13 June 2008 at 6:56am
Hi.
I just installed SS to remote server and for some time I was wondering why my live site didn't work, it only shows index of my folder.
Well I find out that the url need to have / at the end, like:
www.mysite.com/silver (dont work)
www.mysite.com/silver/ (works)Is this because it's located in the sub folder? Or is the same going to happen when I transfer site to the root? Does it need to be www.mysite.com/
-
Re: Problem with url path?

13 June 2008 at 7:52pm
Silverstripe should run in a subdirectory .. No problem there.
Did you include the <% base_tag %> in the header of your site ?
-
Re: Problem with url path?

21 June 2008 at 5:33pm
I did this on my .htaccess, and it works very well:
### SILVERSTRIPE START ###
### Remove the next 3 lines ###
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>
########################## MORE CODE GOES HERE ###
### SILVERSTRIPE END ###
-------------------------------------------
I hope this works for you too!
| 1496 Views | ||
|
Page:
1
|
Go to Top |



