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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Need Help Accessing 2 folders


Reply

4 Posts   678 Views

Avatar
fkennard

22 January 2010 at 5:40am Community Member, 2 Posts

Hello All
I am new to SS and need a little help.The root folder that I have installed SS in also has 2 additional folders which I need to be able to access through http.I need to know how to make those folders reachable.Is it in the htaccess file that the changes need to be made?If so what lines would I need to add to it to be able to access the following 2 folders.

/public_html/cast/
/public_html/clients/

When I try to access SS won't allow me to.

Thanks In Advance

Avatar
Martijn

22 January 2010 at 7:23am Community Member, 271 Posts

You have added this lines in the htaccess for each install?

# for /public_html/cast/
RewriteEngine On
RewriteBase /cast

# for /public_html/clients/
RewriteEngine On
RewriteBase /clients

Avatar
Willr

22 January 2010 at 2:51pm Forum Moderator, 5511 Posts

I think fkennard you're wanting SS to 'ignore' requests to those 2 folders. If so then you want to add these conditions to your .htaccess. These add conditions which bypass the standard ss rewriting.

RewriteCond %{REQUEST_URI} !^/folder/.*

Avatar
fkennard

22 January 2010 at 3:38pm Community Member, 2 Posts

Thank You Very Much.
The last post did the trick,works perfectly now.

Thank You