17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » Include a forum inside of the SS dir
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 618 Views |
-
Include a forum inside of the SS dir

25 July 2009 at 5:53am
Hi to everybody...
I am trying to include a phpBB forum inside of my SS dir installation but the rewrite rules in the htaccess don't allow me access to the forum dir, my knowledge about htaccess is limited so i need some help!!
Here is my htaccess
### SILVERSTRIPE START ###
<IfModule mod_dir.c>
DirectorySlash On
</IfModule>RewriteEngine On
RewriteBase /silver/RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
### SILVERSTRIPE END ###Thanks..... ;)
-
Re: Include a forum inside of the SS dir

25 July 2009 at 11:28pm
Add this rule to ignore a dir
RewriteCond %{REQUEST_URI} !^/dirname/.*
-
Re: Include a forum inside of the SS dir

26 July 2009 at 6:52am
Thanks for reply your solutions works great.
I found another solution, you have to do is rewrite the parent rules puting a new htaccess inside of the dir with this
<IfModule mod_dir.c>
DirectorySlash On
</IfModule>RewriteEngine Off
This works if you not need rewrite_module inside of the dir.
Bye
| 618 Views | ||
|
Page:
1
|
Go to Top |


