Fetch HTTP headers with curl | A simple curl command can fetch HTTP headers from a website. Here’s how it works! The command is: $ curl -I domain.com Example: stmiller@brahms:~$ curl -I http://scottlinux.com HTTP/1.1 200 OK Date: Sat, 24 Sep 2011 02:53:17 GMT Server: Apache Strict-Transport-Security: max-age=43200; includeSubDomains Set-Cookie: bb2_screener_=1316832797+; path=/ X-Pingback: http://scottlinux.com/xmlrpc.php Set-Cookie: PHPSESSID=erh3jr41d1idkaifote48urph4; path=/ X-Hello: Hello There Vary: Accept-Encoding
Enable HTTP Strict Transport Security on Debian / Ubuntu
Enable HTTP Strict Transport Security on Debian / Ubuntu | HSTS or just STS can be enabled with Apache fairly easily. I’ll show you how! Enabling HSTS enforces a policy that all content from your server to the end user’s web browser will be over HTTPS. This can protect against interceptions, https stripping, and other possible man-in-the-middle attacks. First, enable mod_headers: $ sudo a2enmod headers
Add Professional Looking Theme to phpMyAdmin
Add Professional Looking Theme to phpMyAdmin | phpMyAdmin is the great web-based mysql administration tool. To enhance the appearance of phpMyAdmin, install the clear and modern looking theme pmamhomme. Here is a quick peek! This theme is called pmamhomme because the theme designer is Mike Homme. First, grab the pmamhomme theme (.zip) from phpmyadmin.net’s theme page. Next, unzip this in phpMyAdmin’s theme
Install latest Iceweasel in Linux Mint Debian Edition
Install latest Iceweasel in Linux Mint Debian Edition | Linux Mint Debian Edition currently rolls its own Firefox, which can take time to get packaged to the latest version. And being based on Debian Testing, the Testing version of Iceweasel is often not the latest and greatest version for those looking at upstream alternatives. That is where the Debian Mozilla team steps in! To
ClamAV On-Access Scanning For Samba Shares
ClamAV On-Access Scanning For Samba Shares | Your Linux-based samba file server can automatically scan for Windows viruses with clamav and svs.I’ll show you some tips on getting this running with Debian 6! 1. Install clamav In Debian 6, install clamav-daemon which will also pull in the other required clamav packages. sudo apt-get install clamav-daemon The on-access samba anti-virus scanner svs is
Tips for Writing Technical Documentation
Tips for Writing Technical Documentation | Technical writers often work with software developers or system administrators to document procedures, provide instructional documentation, or perhaps other end user guides or information. Here are some tips! Good documentation has these qualities: Easy to read Assists user to overcome or solve problems and perform tasks more efficiently Easily accessible Targed to its audience Aesthetically
Apache Server Status with mod_status
Apache Server Status with mod_status | Apache has a built-in web-based server status module called mod_status. Here’s how it works! In Ubuntu / Debian, first enable the apache status module: $ sudo a2enmod status An existing config file is already in place for Debian and Ubuntu. Edit as follows: $ sudo nano /etc/apache2/mods-available/status.conf It looks like this:
Linux Burn CD from Command Line with genisoimage and wodim
Linux Burn CD from Command Line with genisoimage and wodim | Burning to CD from the command line is easy with genisoimage and wodim. I’ll show you how! On Debian/Ubuntu, install these: $ sudo apt-get install genisoimage wodim 1. Create iso image with genisoimage To first make an iso image of a directory, do this: $ genisoimage -r -J -o stuff.iso /mydirectory (tack r adds Rock
Apache List Loaded Modules
Apache List Loaded Modules | Use apache2ctl -M or httpd -M to list loaded apache modules. The output will look similar to: $ sudo apache2ctl -M Loaded Modules: core_module (static) log_config_module (static) logio_module (static) mpm_worker_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgid_module (shared) deflate_module (shared)





