summaryrefslogtreecommitdiffstats
path: root/testing/cgiirc/cgiirc.post-install
blob: f6907c64c5fa6c28122dc730d2dbf8d04d01bf8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

echo "*" >&2
echo "* CGI:IRC has been installed to:" >&2
echo "*     /usr/share/webapps/cgiirc" >&2
echo "* An config file has been installed to:" >&2
echo "*     /etc/cgiirc/cgiirc.config" >&2
echo "* If you use lighttpd:" >&2
echo "*     1) Enable mod_cgi from lighttpd.conf and modify it adding in cgi.assign section:" >&2
echo "* cgi.assign = (							" >&2
echo "*				".pl"	=>	"/usr/bin/perl", 	" >&2
echo "*				".cgi"	=>	"/usr/bin/perl", 	" >&2
echo "* 								" >&2
echo "* ) 								" >&2
echo "*     2) Create a symlink to /usr/share/webapps/cgiirc:" >&2
echo "*            ln -s /usr/share/webapps/cgiirc /var/www/localhost/htdocs/cgi-bin" >&2
echo "*     This is needed because lighttpd mod_cgi matches cgi-bin dir in order to allow exec cgi." >&2
echo "*     								" >&2
echo "*     3) Restart lighttpd when done." >&2
echo "*     								" >&2
echo "*     4) Go with your browser in http://your.ip.address/cgi-bin/irc.cgi" >&2
echo "*" >&2
exit 0