Articles
- Check Apache2 CGI is working

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

No comments

- Apache Remove Server Signature

Apache’s signature is the small block of text identifiying the running version of Apache, OS Running and modules installed. Example of a server signature: Apache/2.2.16 (Debian) PHP/5.3.10-1 Server at nationpigeon.com Port 80 To remove this you need to edit “/etc/apache2/conf.d/security” to show “ServerSignature Off“. You might want to play around with ServerTokens which limits the [...]

No comments

- Xrandr 1080p

xrandr –newmode “1920x1080_50.00″ 141.50 1920 2032 2232 2544 1080 1083 1088 1114 -hsync +vsync xrandr –addmode VGA1 1920x1080_50.00 xrandr –output VGA1 –mode “1920x1080_50.00″ With many thanks to this blog post. (Link)

No comments