Ultimos Posts 1. 19/12/2011 10:12 - Check standards or quirks mode on IE6 To check if a given website is running on standards or quirks mode on IE6, enter the following text on the URL and press enter: javascript:alert(document.compatMode) Depending of what you get, you can tell which mode you are running: CSS1Compat: Standards Mode BackCompat: Quirks Mode... 2. 19/11/2011 12:32 - Redirect WWW to non-WWW using Apache (htaccess) The easiest way to redirect all your traffic from a WWW address (like www.domain.com) to a non-WWW (like domain.com) is using the following code: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] With this code, you don’t need to hard-code the name of the domain into the .htaccess file. Apart from the fact [...]... 3. 18/11/2011 17:50 - Recursively copy from a FTP server In Linux (and also in the World of Windows), there is a small great tool called wget (you probably already know it, it’s pretty popular). I have been using it for some years know as it is very convenient for downloading files (or even entire HTML websites) from the command line (specially when you manage [...]... 4. 14/11/2011 18:26 - Nginx newest version on Ubuntu Lucid 10.04 LTS Some time ago I wrote a post regarding this same topic (installing an updated version of Nginx instead of the one that is on the official Ubuntu repositories) but for Hardy (8.04). Now, it is the turn of the latest Long-Term-Support version of this Linux distribution. In this case, we need to use this repository: [...]... 5. 13/10/2011 14:30 - Windows 7 failing to copy large files through network I have faced problems copying large files (several hundreds megs) over a Windows Network between two Windows 7 boxes. During the copy, the process just freeze forever, and when trying to cancel it, it just tries forever without success. At first I tough it was a antivirus/firewall issue, but disabling the software on both machines [...]... |