Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

"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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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