Install SpeedyCGI2011/03/10 |
Install SpeedyCGI that makes CGI fast. |
|
[1] | Install |
root@www:~# aptitude -y install speedy-cgi-perl # create a link root@www:~# ln -s /usr/bin/speedy /usr/local/bin/speedy
|
[2] | How to write a CGI scripts. Change PATH like follows. Reffer other options on SpeedyCGI site. |
root@www:~# vi /var/www/speedy.cgi #!/usr/local/bin/speedy -- -t300 -M1 print "Content-type: text/html\n\n"; print <<"EOM"; <html> <body> <div style="width: 100%; font-size: 40px; font-weight: bold; text-align: center;"> Speedy CGI Test Page </div> </body> </html> EOM exit; root@www:~# chmod 705 /var/www/speedy.cgi |
Sponsored Link |
|