I’ve never tried it personally, but there’s no reason it couldn’t be
You’d have to fuss with the .htaccess or lighttpd.conf file, however, to
explicitly “escape” that path from Rails routing.
In .htaccess, I’d add this rewrite rule immediately after
(assuming that the forum is set up in /forum, either as a symlink or –
the hell – actually living inside your Rails app’s public folder):
RewriteRule ^forum/.*$ - [QSA,L]
In lighttpd.conf, you’d need to add an $HTTP[‘url’] block that routes
/forum to your PHP forum software; I don’t know the
off the top of my head but it’s not very complicated to do this.
The main difference between doing this under Apache vs. lightty is that
you’ll have to set up lighttpd to handle the forum scripts as PHP
(especially if you want to take advantage of fastcgi), whereas Apache
be able to pick right up with no further configuration.
On 3/28/06, Jon Gretar B. email@example.com wrote:
On 3/28/06, David D. firstname.lastname@example.org wrote:
it will be to install lighttpd - ill check it out though.
Jared T. wrote:
Jon Gretar B.
Rails mailing list
Owner and Web Chef, Practicalmadness