Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff


Force https to http redirect except for WordPress /wp-admin directory

First move all requests that are not wp-admin requests from https to http. Than i want to exclude all of WordPress admin from the https to http redirect, to keep WordPress admin working over https, so this is the result: RewriteEngine OnRewriteBase / RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} ^/?(wp-admin/|wp-login\.php) RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] RewriteCond %{HTTPS} […]


Apache Nutch with Solr on Debian 9 or Ubuntu 17.04

About one year ago I wrote an article for Linux Magazin about a personal search engine: * Suchmaschinenserver im Eigenbau (Ausgabe 02/2016) * Go Find It (Issue #186 / May 2016) In this article I used Ubuntu 14.04 and Nutch 1.9. Now Nutch 1.13 is available. Time for a short update. First the bad news. […]

, ,

Install Apache Tomcat 8 on Debian 7 (Wheezy) with virtual hosts and Apache2 integration

1. Install OpenJDK Java 7 runtime:1. Installation von OpenJDK Java 7 runtime: aptitude install openjdk-7-jre 2. Download Tomcat Download Tomcat 8 fromvon der Tomcat 8 Download pageSeite. For example:Zum Beispiel: wget 3. Install Tomcat3. Installation von Tomcat tar -xzvf apache-tomcat-8.0.5.tar.gz mv apache-tomcat-8.0.5 /opt/tomcat 4. Create tomcat user and group4. Tomcat Benutzer und Gruppe anlegen […]

, , , ,

Nginx as reverse proxy cache for wordpress and apache

1. Install Nginx * Install from PPA * Install using self build packages 2. General Nginx Settings Edit “/etc/nginx/nginx.conf” and modify or insert the following settings: […] http { […] # Gzip Settings gzip on; gzip_disable “msie6”; gzip_buffers 32 8k; gzip_comp_level 6; gzip_http_version 1.0; gzip_min_length 0; gzip_types text/html text/css image/x-icon application/x-javascript application/javascript text/javascript application/atom+xml application/xml […]

, , , , ,

Install Tomcat 7 on Debian (Lenny) with virtual hosts and Apache2 integration

Please see new version Tomcat 8 on Debian 7 here ! Dieser Artikel ist eine ├╝berarbeitete Version meines Tomcat 6 Artikels. Es soll Tomcat 7 unter Debian Lenny installiert werden und mit mehreren virtuellen Hosts betrieben werden. Tomcat 7 ist unter Debian leider nicht ├╝ber die Quellen zu beziehen, deshalb muss er manuell installiert werden.This […]

, , , , , ,

Adobe Coldfusion 9 – Debian 5.0 Lenny – Ubuntu 9.10 or 10.04

Install Apache2 webserver: aptitude install apache2 Install required libraries: aptitude install libstdc++5 Install coldfusion: Download the coldfusion installation paket (Linux bin-file) from You can use the Trial Edition and upgrade later to the full version by enter the serial number in the administration webinterface Make the downloaded file executeable and run the installer: chmod […]

, , , ,

Secure Apache only for other networks

I was ask how to secure an apache 2 webserver, so that the web page is only available for the local network. I need this for an BETA environment and for my Debian Router Project. Here are some simple examples: ( is the LAN you may have to change it) 1. Allow only local network […]

, , , ,

Install Coldfusion 8 Multiserver on Debian 5.0 Lenny with Apache 2

This article describes, how to install Adobe Coldfusion 8 with Multiserver configuration. You can use this configuration for an ISP like coldfusion setup. Each instance/virtual host will have its own Coldfusion administrator with custom settings. 1. Prerequirements: * Apache 2 is installed and running correctly. * libstdc++5 is installed. aptitude install libstdc++5 * You have […]

, , , , , ,

Create an iCalendar server with debian 5.0 lenny

First you need an working apache2 webserver with mod “dav_fs”. If you want iCal over SSL you need a configurated “mod_ssl” on your apache2 webserver. a2enmod dav_fs Next step is the apache configuration: Insert this in your “virtualhost” configuration. Alias /iCalendar /your/path/to/iCalendar <location /iCalendar> DAV On </location> Now you can create a new calendar with […]

, , , , , , , , ,

Secure Apache 2 with mod-security 2 on Debian Lenny

This article describes how to install mod_security2 on Debian Lenny. It should work on Etch, too. On the website there is a link to the mod_security2 pakets for Debian. (Community-Produced Binary packages) Note: You should check this website for the latest versions and change the example “wget” commands in this howto. 1. Download the […]

, , , , , , , , , ,

Previous Posts