I have a somewhat stodgy Apache server, running under SunOS, and I would like an appropriate way to deploy a Django application based at /shop/ or some other URL. The server seems set up to allow FastCGI in some form; there is an /fcgi-bin/ directory with one entry.

Apache does not recognize the FastCGIExternalServer directive, and I would need to be told how to have it load additional modules.

Is there a way I can leverage the /fcgi-bin/ directory and httpd.conf so that requests for /shop/foo/ are serviced by Django?

link|improve this question

57% accept rate
feedback

1 Answer

"SunOS" covers a whole lot of ground. If it is old enough version of Solaris, and you cannot update it for some reason, I would recommend building a new set of apache binaries with support for the modules that you need, either FastCGI or mod_wsgi.

link|improve this answer
Thank you. What are the configuration options I should specify for both mod_wsgi support and FastCGI support? – Jonathan Hayward Apr 30 '11 at 18:58
I've compiled mod_wsgi, and it doesn't seem to have generated a .so. Is there one or more of the .la, .lo, or .slo extensions that I can put with Apache .so's? – Jonathan Hayward Apr 30 '11 at 20:41
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.