Jump to:

23379 Posts in 18298 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Need Help Accessing 2 folders

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

Page: 1
Go to End
Author Topic: 659 Views
  • fkennard
    Avatar
    Community Member
    2 Posts

    Need Help Accessing 2 folders Link to this post

    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

  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: Need Help Accessing 2 folders Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Need Help Accessing 2 folders Link to this post

    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/.*

  • fkennard
    Avatar
    Community Member
    2 Posts

    Re: Need Help Accessing 2 folders Link to this post

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

    Thank You

    659 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.