Hi,
I found a solution for running Camping applications without having
access to /etc/apache2/* files. Only two small settings:
1. A small .htaccess file, which contains the following:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ http://nagybence.inter.hu/camping/index.fcgi/$1 [P,L]
2. A little modification in Camping's source:
@status, @method, @env, @headers, @root = 200, m.downcase, e,
{'Content-Type'=>'text/html'}, e.SCRIPT_NAME.sub(/\/$/,'')
to:
@status, @method, @env, @headers, @root = 200, m.downcase, e,
{'Content-Type'=>'text/html'}, File.dirname(e.SCRIPT_NAME)
Now I can make a lot of small applications with my cheap website
account. Really good new! The (a little bit modified) sample blog
application is located on http://nagybence.inter.hu/camping/
Greetings, Bence
--
Nagy Bence
-> Tipográl.hu | www.tipogral.hu
-> Tipokert | www.tipokert.hu
-> Magyar Grafika | www.mgonline.hu
-> Hírkapu | www.hirkapu.hu
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list