Fork me on GitHub
Nation Pigeon

Viewing Monthly Archive April 2012

Check Apache2 CGI is working

15th April 12 | Linux

echo -e ‘#!/usr/bin/perl\nprint “Content-type: text/plain\\n\\n”;\nprint “It works!\\n”;’|sudo tee /usr/lib/cgi-bin/test.pl sudo chmod 755 /usr/lib/cgi-bin/test.pl echo -e “GET /cgi-bin/test.pl HTTP/1.0\n”|nc -q 1 127.0.0.1 80

[ Read More → ]

Copyright © 2007 ∞ Nation Pigeon - Designed by Peter Mayanrd
Theme Based on Black-Green - Fork it on GitHub