mod_cgisock 0.4.2 review

Download
by rbytes.net on

mod_cgisock is a socket implementation of the Common Gateway Interface. Requirements: · Apache 1.3.1 Installation: 1) G

License: The Apache License
File size: 0K
Developer: Michael Voase
0 stars award from rbytes.net

mod_cgisock is a socket implementation of the Common Gateway Interface.

Requirements:
Apache 1.3.1

Installation:

1) Grab a copy of Apache 1.3.x . So far, cgisock has been tested with 1.3.1 thru to 1.3.9. Dont try and use this module with the 2.0 development series. It wont work ( yet ). Install the source code onto your system ( refer to the FAQ and the numerous quantities of docs oh how to do this ) . If you cant / havent / wont get apache , then
just throw it in the /src/modules/extra directory of whatever apache you have and hope for the best .

2) Copy mod_cgisock.c to the directory

/apache_source_path/src/modules/extra

4) Change directory to the apache source path and configure apache with

./configure --add-module=src/modules/extra/mod_cgisock.c

Of course if there are any other directives that you may need to configure then add them as well .

5) Build the source code . If you dont know how to build the source code then refer to the Apache INSTALL document for thourough discussions on building and installing apache.

To configure apache when its built , add a declaration for a socket directory by adding a < Location > block as follows...

< Location /sockets > # Or any directory ...
SetHandler cgi-socket
CgisockPath /var/tmp # Dont use this path on production servers
< /Location >

to httpd.conf in the Apache configuration .If you want use the test harness unmodified , then use the configuration line given above. In the location block any other regular authorization and access control configurations can be used to regulate who has access to this dirctory .

6) Start Apache and start the test_harness script as root.

A note to Webmasters: The test_harness and printenv scripts are for test purposes only and represents a security risk if used in their default state ( using /var/tmp as a directory ).

mod_cgisock 0.4.2 search tags