Configure lighttp to simulate .htaccess rules (Deny From All)
Posted by coldtobi | 19 Jun, 2010, 13:14Unfortunatly, lighhtpd does not support ".htaccess" rules directly. So if you want to use a script targeted for Apache, you have to implement your own rules.
Luckily, the most needed rule is to forbid the serving of a whole directory, the "Deny From All" rule.
This one can be emulated within the lighttpd.con -- but you have to list every affected directory. A tedious task to find out every .htaccess contianing the rule and then adding the path to the configuration.
But this can be automated:
Linux / Debian, Tips and Tricks, Thecus N2100 | Comments (0) | Trackbacks (0)
Squirrelmail and lighttpd -- An Installation Guide --
Posted by coldtobi | 9 Jan, 2010, 21:57
Today
I installed the squirrel on my Thecus. The horde used before -- even
if powerful -- was just to slow to make fun. As friends told me that
the squirrel is slick and quick -- as its name suggests. (After
installation, I can confirm this)
The squirrel -- is a web interface for accessing your mail, written in PHP. It does -- by default -- needs not to have any database. It can access your mail both by IMAP and by POP3.
As my setup is not the regular "Apache" based one, it might make sense to show how it has to be configured with lighttpd as web server.
Lets start.
Linux / Debian, Tips and Tricks, Thecus N2100 | Comments (0) | Trackbacks (0)
Link Crosscompiling
Posted by coldtobi | 7 Jan, 2010, 20:59In case I port solarpowerlog to arm hardware....
http://pocoproject.org/wiki/index.php/CrossCompiling
Linux / Debian | Comments (0) | Trackbacks (0)
git cheat sheet
Posted by coldtobi | 7 Jan, 2010, 13:01A Cheat-sheet for not-so-often used or some command I frequently forget....
Some commands you just use too seldom. When you need them, you just thinking how you did it before... So I need a cheat sheet to note these down...
(More)Linux / Debian | Comments (0) | Trackbacks (0)
Using USB Devices in a VirtualBox Guest (Linux Host)
Posted by coldtobi | 15 Oct, 2009, 22:52If you cannot access USB devices from within your virtual box, you should check these points:
(More)Linux / Debian | Comments (1) | Trackbacks (0)
OpenSSH 0day?
Posted by coldtobi | 21 Jul, 2009, 22:55Agroup called (or telling to be) anti-sec claims that they have a 0-day for OpenSSH. (http://lists.grok.org.uk/pipermail/full-disclosure/2009-July/069752.html)
But that the 0-day exists is doubted. (http://news.softpedia.com/news/Rogue-OpenSSH-0-Day-Exploit-Damages-Computers-117014.shtml)
We'll see...
(Note: be warned when reading full-disclosuer: There is a fake exploit "Open0wn" which is in fact a trojan-horse, tricking to run under root. It will then spawn a botnet and delete your filesystem. Never run and compile exploits unchecked!)
Linux / Debian | Comments (1) | Trackbacks (0)
Thecus N2100: Testing kernels
Posted by coldtobi | 1 Jul, 2009, 23:40Some time ago, I wrote how to test a kernel on the Thecus (here).
As I did not update the kernel for some time, I decided to update to 2.6.30. As usual, I wanted to try it before flasing it permanently. To enforce this, I do not have the package "flash-kernel" installed. But unfortunatly, this time the testing method did not work or the kernel did not boot...
(More)Linux / Debian, Thecus N2100 | Comments (1) | Trackbacks (0)