[ruby-it] .htaccess
Alessandro Sarcina
a.sarcina a gmail.com
Ven 13 Nov 2009 20:18:20 CET
Paolo Montrasio wrote:
> Alessandro Sarcina wrote:
>> Salve a tutti,
>> ho sviluppato un semplicissimo sito web in rails ed ora vorrei
>> pubblicarlo sul server apache che mi ospita.
>> [...]
>
>> --file dispatch.fcgi in httpdocs/miaapplicazione/public
>> #!/usr/bin/ruby
>>
>> fatto tutto questo il sito non va..è ovvio che il file htaccess deve
>> essere editato diversamente
>> Spero qualcuno mi possa aiutare
>
> Dando per scontato che ruby sul server ci sia e stia nel path che hai
> indicato, quando dici che l'applicazione non va, cosa succede in
> effetti? C'è un'URL pubblica da provare per vedere un messaggio
> d'errore?
>
> Paolo
Quando accedo alla mia homepage/miaapplicazione mi dice 404 not found
The requested document was not found on this server poi ultimamente ho
cambiato il file htaccess perchè è ovviamente inadatto alla mia
applicazione togliendo
RewriteRule ^$ /public/index.html [L]
RewriteCond %{REQUEST_URI} !^/studio/public
RewriteRule ^(.*)$ /public/$1 [L]
mi da questo risultato
500 -Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator to inform of the time the error
occurred and of anything you might have done that may have caused the
error.
More information about this error may be available in the server error
log.
--
Posted via http://www.ruby-forum.com/.
More information about the Ml
mailing list