Tag Archives: Apache

Google Drive may be silently renaming your files

Just a friendly warning. If you try to store copy of standard Apache HTTP Server web root, git repository, some Linux directories, etc in the Google Drive, then do not be surprised when Google silently corrupts the filenames by renaming dot (.) to underscore (_). For me this is happening to nix hidden files (begins with a dot), but some of colleagues remember to happen to regular PDFs as well.

Solution. Upload only archived files to the Google Drive. And preferably encrypted (just in case).

Site with useful online tools and utilities launched

Today we launched a new website full with useful tools and utilities – Urih.com

Some of featured services:

  • What is My IP – shows your IP address, that is seen by web servers and other network users.
  • Subnet Calc – network subnet calculator that supports dotted decimal and CIDR notation.
  • SilverBench – online multicore CPU benchmarking tool, that has very nice CPU stress test feature.
  • And many more…

In the coming days I will write some more details and some usage examples. Currently, some facts:

  • All is running on PHP 5.2 and 5.3, Apache, MySQL and Linux – LAMP. Technology: HTML 4.01 strict and CSS 3.
  • SilverBench is written in C#, Silverlight 3, .NET.
  • All is done in spare time by 3 people.
  • The only image used in site is the Favicon. As a consequence, site does not work with IE6.
  • Site tested and works on all major browsers: Mozilla Firefox 3 and 4; Internet Explorer 8 and 9; Opera 10; Apple Safari 5.
  • Home logo is displayed incorrectly in Google Chrome version 10, however Chrome 9 and 11 Beta displays it correctly.

Apache logs contains “\x16\x03\x01” when accessing site via HTTPS

Today setting up SSL for a Apache HTTP webserver I run into issue, when browser shows that site is not accessible. At first I thought that SSL (443) port is not open, but looking in the Apache log file I saw this:
192.168.98.169 - - [24/May/2010:12:01:45 +0300] "\x16\x03\x01" 200 12332 "-" "-"

The place where GET request should be was “\x16\x03\x01”. Like some encoding problem I thought. The bonus to all this, was that I have test environment with the same settings, and everything worked under test server.

The problem was: I forgot to change IP address in Apache conf file that was left from test server configuration. Of course, Apache does not respond to address it does not have.

So if you get “\x16\x03\x01” in Apache log file, then you may have not configured Apache for HTTPS / SSL on that IP address.