Hi,
    The updated patch for
6907454 apache22 fcgid fails to load, daemon starts, stops and restarts ad 
nauseum
is available here.
http://cr.opensolaris.org/~vrthra/fcgid.conf/

Can I please get it reviewed,

Tests:
-----------------------------------
Verified apache starts up fine.
-----------------------------------
Verified a simple app that follows fcgi protocol
-----------------------------------
# cat /var/apache2/2.2/cgi-bin/app.fcgi 
#!/usr/bin/python
import sys
sys.path += ['/var/apache2/2.2/cgi-bin/']
import fcgi
MYNUM=100
def app(environ, start_response):
    global MYNUM
    start_response('200 OK', [('Content-Type', 'text/html')])
    MYNUM +=1
    return(str(MYNUM))

fcgi.WSGIServer(app).run()
-----------------------------------
(cat<<EOF; sleep 3) |telnet 0 80
GET /cgi-bin/app.fcgi HTTP/1.0

EOF

HTTP/1.1 200 OK
Date: Tue, 08 Dec 2009 07:43:47 GMT
Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8k DAV/2 
mod_fcgid/2.3.4 mod_jk/1.2.28 PHP/5.2.11
Connection: close
Content-Type: text/html

101
-----------------------------------
(cat<<EOF; sleep 3) |telnet 0 80
GET /cgi-bin/app.fcgi HTTP/1.0

EOF

HTTP/1.1 200 OK
Date: Tue, 08 Dec 2009 07:43:47 GMT
Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8k DAV/2 
mod_fcgid/2.3.4 mod_jk/1.2.28 PHP/5.2.11
Connection: close
Content-Type: text/html

102
-----------------------------------

                                    rahul
--
1. e4 _

Reply via email to