Sajax ported in TCL

I’ve just ported Sajax 0.12 in TCL.

Sajax (Simple Ajax Toolkit), is an open source tool designed to help websites using the Ajax framework (also known as XMLHTTPRequest).

Read more

Apache 2 + PHP 5 / CGI + SuEXEC

Want a very secure Apache / PHP setup?

SuEXEC allows CGI execution under user own accounts and not webserver one. So, if a security hole is exploited through a script, that’s normally – if your FreeBSD server is correctly chmoded – gives access to resources.

The genuine SuEXEC drawback is you’ve to prefix each, as any other CGI script (remember #!/usr/bin/perl ?). We’ll slightly edit the SuEXEC.c code to avoid that.

SuEXEC will force you to chmod correctly and securely your web content: 700 the scripts, 711 the directories (755 to allow list them). If that’s sounds too paranoid or you’re tired of your users’ complaints, you can ask SuEXEC to ignore permissions check (but what’s the interest of this method in this case? You should consider chroot instead.). If you’re a console guru, I’ve coded an autochmod script to make our life paranoid but easier 😉

Read more

Spot the difference

Very funny, the Microsoft Visual Studio ads “Spot the difference”.

Guess what’s the difference between a lambda developer and a Visual Studio user.

Read more

Structure SQL de Sycorax

Voici la structure SQL actuelle minimale de Sycorax : Structures des tables SQL de Sycorax CREATE TABLE Files (   file_id mediumint(8) NOT NULL AUTO_INCREMENT,   file_path mediumtext NOT NULL,   tune_id mediumint(8) NOT NULL,   PRIMARY KEY  (file_id),   KEY tune_id (tune_id),   KEY file_path (file_path(255)) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; CREATE TABLE Tunes ( […]

Read more

How to start a CSS layout ?

BlueRobot gives us very interesting starter layouts we can “borrow, steal, abduct, and/or torture”, compatible with all browsers (even legacy ones).

Read more