.htaccess File – Modx friendly URLs

# Vital components of your .htaccess file RewriteEngine On RewriteBase / # Force “www.yourdomain.com” instead of just “yourdomain.com” RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com [NC] RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L] # The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] Make sure your site is still working… you can still use […]

Configuring a Windows/SMB Shared Printer – SUSE Linux

Sharing a printer from a Windows computer is a cost-effective way of making the printer available to everyone on a network. As such, it’s often done in a home environment, where a printer can be shared among computers used by family members, or in an office environment, where a printer might be connected to a […]

What Are Linux Runlevels?

Runlevel 0: Halt System – To shutdown the system Runlevel 1: Single user mode Runlevel 2: Basic multi user mode without NFS Runlevel 3: Full multi user mode (text based) Runlevel 4: unused Runlevel 5: Multi user mode with Graphical User Interface Runlevel 6: Reboot System Runlevels 1 and 2 are generally used for debugging […]