21 Jul 18:40
.htaccess exceptions
From: Stoneferry Stoneferry <rails-mailing-list@...>
Subject: .htaccess exceptions
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-21 16:40:43 GMT
Subject: .htaccess exceptions
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-07-21 16:40:43 GMT
Hi I'm a .php coder trying to allow a Ruby on Rails website to access
some .php scripts. I notice everything get redirected with Ruby on Rails
in the .htaccess file.
How do I stop Rails from redirecting my .php scripts which would be in
another directory.
Cheers
(.htaccess is below)
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
# If you don't want Rails to look in certain directories,
# use the following rewrite rules so that Apache won't rewrite certain
requests
#
# Example:
# RewriteCond %{REQUEST_URI} ^/notrails.*
# RewriteRule .* - [L]
# Redirect all requests not available on the filesystem to Rails
# By default the cgi dispatcher is used which is very slow
#
# For better performance replace the dispatcher with the fastcgi one
#
(Continue reading)
RSS Feed