I'm restricted to developing an application on a shared DreamHost
environment, and I'd really like to use Go for this application.
Using other providers (Google Apps, Amazon, VPS, etc) is not possible (my
client has restricted me to DreamHost, I'd like to follow their wishes).
I think I should be able to use the net/http/fcgi package.
But since this is a shared host, I cannot configure Apache to use FastCGI
over a specific host / port.
I looked at the net/http/fcgi source, and it looks like I can run it over
stdin unix pipes, like so:
http://play.golang.org/p/ipoTzL7PWR
But it seems like this code doesn't work, my apache logs say:
[Sat Sep 14 13:50:14 2013] [error] [client 98.167.175.61] Premature end of
script headers: dispatch.fcgi
RewriteEngine On
RewriteBase /
RewriteRule ^dispatch\.fcgi/ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]
RewriteRule ^dispatch\.fcgi/ - [L]
RewriteRule ^(.*)$ dispatch.fcgi/$1 [L]
I'm not super experienced with configuring Apache for FastCGI or the
internals of how FastCGI works.
I would really appreciate any help or tips you can give me.
Thank you,
Stephen
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.