| 1 | #!/bin/sh |
| 2 | |
| 3 | cat >&2 <<EOF |
| 4 | * |
| 5 | * CGI:IRC has been installed to: |
| 6 | * /usr/share/webapps/cgiirc |
| 7 | * An config file has been installed to: |
| 8 | * /etc/cgiirc/cgiirc.config |
| 9 | * If you use lighttpd: |
| 10 | * 1) Enable mod_cgi from lighttpd.conf and modify it adding in cgi.assign section: |
| 11 | * cgi.assign = ( |
| 12 | * ".pl" => "/usr/bin/perl", |
| 13 | * ".cgi" => "/usr/bin/perl", |
| 14 | * |
| 15 | * ) |
| 16 | * 2) Create a symlink to /usr/share/webapps/cgiirc: |
| 17 | * ln -s /usr/share/webapps/cgiirc /var/www/localhost/htdocs/cgi-bin |
| 18 | * This is needed because lighttpd mod_cgi matches cgi-bin dir in order to allow exec cgi. |
| 19 | * |
| 20 | * 3) Restart lighttpd when done. |
| 21 | * |
| 22 | * 4) Go with your browser in http://your.ip.address/cgi-bin/irc.cgi |
| 23 | * |
| 24 | EOF |
| 25 | |
| 26 | exit 0 |