search for: force_root

Displaying 3 results from an estimated 3 matches for "force_root".

2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
...#### fastcgi module fastcgi.server = ( "" => ( "localhost" => ( "socket" => "/tmp/camping-examples.socket", "bin-path" => "/usr/local/www/data/examples.rb", "bin-environment" => ("FORCE_ROOT" => "1"), "check-local" => "disable", "max-procs" => 1 ) ) ) Notice the FORCE_ROOT setting. When you mount at "", PATH_INFO breaks. Lots of other web framework just use SCRIPT_NAME everytime lighttpd is found (see: Jifty...
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
...exactly is breaking down here. I''m trying to get Apache running on my dev box to check into this further. My dispatch.fcgi file follows: #!/usr/bin/env ruby current = File.dirname(__FILE__) require ''rubygems'' require ''camping/fastcgi'' ENV[''FORCE_ROOT''] = "1" Camping::Models::Base.establish_connection :adapter => ''sqlite3'', :database => File.expand_path(current + ''/camping.db'') Camping::FastCGI.serve File.expand_path(current), Blog *** Any ideas? -------------- next part ------------...
2007 Mar 28
3
Camping on Dreamhost - Please Help!
Dan did you get camping running on dreamhost already?? i?m trying to run it also but i haven''t succeed yet. it runs on command line but when i add the rewrite rules on .htaccess i get a internal server error. I emailed support to ask about ScriptAlias and they say they cannot change or add that to apache conf. -- Andr? G. Cardozo