Webapplications
PermaLink Visualized SSH login failures27-01-2022 17:53
When running a Linux server, which is accessible from the Internet, you will see a lot of failed SSH authentication attemtps.
This article is not about securing your server (ssh-port-change, fail2ban, private/public-key-auth only, ...) but about visualizing these attacks.


PermaLink ISC BIND - enabling query statistics on CentOS21-01-2022 10:03
ISC BIND allows for export of statistics using a web UI. This artice can help you avoid a common pitfall on CentOS.



PermaLink Getting MEDIAWIKI to send emails using a Lotus Domino Server29-12-2005 14:18
MEDIAWIKI has some functions to send emails, for example you can have MEDIAWIKI mail you a new password.
You have to set $wgEnableEmail = true; in LocalSettings.php to enable that function. By default the standard PHP mail function is being used, whatever that means, it did not work for me - I assume this is due to the fact that I have neither Sendmail nor Postfix running on my Linux server.
In LocalSettings.php you can set
$wgSMTP = array(
 "host" => 'myhost.mydomain.myTLD',
#  "IDHost" => 'domain for MessageID',
   "port" => "25",
    "auth" => false,
#     "username" => user,
#      "password" => password
      );

This will use PEAR Mail which is not included with MEDIAWIKI. On my SUSE distribution I used yast and found that "PHP Extension and Application Repository" - "php5-pear" was already installed. I was not able to start pear using "pear" in a shell but "pear5" did it.
Now I was able to install the mail component by using the pear package manager:
pear5 install Net_Socket
pear5 install Auth_SASL
pear5 install Net_SMTP
pear5 install Mail
Another test in my WIKI still failed because Mail.php was not found.
I had to edit LocalSettings.php again to change
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
to
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages:/usr/share/php5/PEAR/" );
but the path may vary for other distributions.

The last part is to exclude the IP-Address of the WIKI server from all anti-relay options in Lotus Domino.


PermaLink Mediawiki and reverse proxy07-05-2005 01:01
I was playing around with mediawiki, which is the engine powering wikipedia.de, and had some troubles to have it cooperate with my reverse proxy.


PermaLink Speeding up BlogSphere web performance24-02-2005 16:03



Disclaimer
The weblog represent my personal views and comments and does not represent the views of my current or previous employers or customers.
About me
By Category
The BlogRoll
Christians sites
other Bloggers
netcraft Linux host Blog Admin OpenNTF
Monthly Archive