Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

Archive for the 'Apache' Category

Updated Permalink structure

Wednesday, October 4th, 2006

Looking for more Google ranking, I updated my permalink structure and set it to the following for posts:
http://swobodin.fedora-tn.org/archive/999
The feature is included within wordpress, but you can handle it manually using mod_rewrite.
Note that old URL structure (/?p=999) still works.

Subdomain fixed

Thursday, February 9th, 2006

I fixed the subdomain issue: All the URL that used to start by http://fedora-tn.org/swobodin will be automatically redirected to http://swobodin.fedora-tn.org, no change for remaining string.
Please update your bookmark if any.
Code for .htaccess
RedirectMatch Permanent ^/swobodin(.*) http://swobodin.fedora-tn.org$1
Yet, I should not create a directory called “swobodin” or I will get a 500 error code.
Next step, learn RewriteRule […]

Getting rid of spam comments

Thursday, January 26th, 2006

Porn, viagra, casino, and some words I don’t understand… I got more than 70 within a week! Fortunately, the WordPress keywords filter removed most of them, but it’s not enough, since the database size strangely increased. I am using a new method: denying spam robots with .htaccess file.
According to the WordPress site, you should […]

Log2SQLite 0.1

Sunday, October 23rd, 2005

I have released a quick Perl script to parse an Apache log file and insert data into a SQLite database.
Click here to download the script.


Top Tunisie Blogs