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

redirecting to directory with in root


Reply

2 Posts   845 Views

Avatar
zuccess

5 November 2008 at 3:59pm Community Member, 1 Post

I want to create a redirect page to point to a directory in my root. Is there a way to not have SS interrupt the request?

Avatar
agen7seven

5 November 2008 at 8:01pm Community Member, 4 Posts

In your .htaccess put:

RewriteCond %{REQUEST_URI} !/directory

Where directory is, well, the directory you want to omit.

---------------------------------
Easy Serve Webhosting - New Zealand servers, Personal service
[url=http://www.easyserve.co.nz/]silverstripe webhosting[/url]