Debug authz_core Access Decisions in Apache 2.4

Add the following config, e.g. to /etc/httpd/conf/httpd.conf: LogLevel info authz_core:debug then make sure to reload apache (service httpd reload) and you will find a detailed reason, why access to a resource is granted or not in the error log.

Unpack part’ed tarballs

Need to unpack a bunch of files such as: bigfile.tar-part0000 bigfile.tar-part0001 bigfile.tar-part0002 with the following command: cat bigfile.tar-part000* | tar xzf – which untars the part file’s contents to the current folder.

Recover sudo abilities in debian

In case you screw up your sudo functionality, e.g. by removing yourself (the entity using sudo) from the sudoers using sudo, you can fix that easily using this step-by-step guide.

Published
Categorized as Linux Tagged

Hardening Linux / Apache

Just a list of  tutorials: http://www.openlogic.com/wazi/bid/188105/How-to-Secure-Your-Apache-Web-Server http://blog.monitis.com/index.php/2011/06/22/25-linux-server-hardening-tips/ http://www.cyberciti.biz/tips/linux-security.html

My first open source project

I recently released my old, long-term project called survey-rocket (a simple online survey tool) to google code. I started to refactor the code to make it more readable and maintainable. Although I invested many hours, there is still a long way to go until it can be considered good code. Basically I used this project… Continue reading My first open source project

Simple OpenCV video input/output sample

This short piece of code below captures a frame from a web cam and shows it in a window. Some simple transformations can be applied. #include #include int main(void) { //we assume, that there is only one camera CvCapture* capture= cvCaptureFromCAM(-1); IplImage* img; int loop; while(loop++width; int height = img->height; int nchannels = img->nChannels; int… Continue reading Simple OpenCV video input/output sample