in other words, my app will need to stay in a sub-folder like:
www.cnap.pt/admin/
I've installed my app in my server's root folder, and I've created a link like this:
ln -s ~/cnap_bo/public ~/public_html/cnap/admin
but I'm not really sure what to add to my environment.rb and my .htaccess file in my cnap_bo/public/ folder to make it work. :<
thanks for all the advice I can get.
right now, my .htaccess has the following, I dont know if it's the right order:
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/admin.*
RewriteRule .* - [L]
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]