Author Archives for plattapuss
What is my IP Address
Lately I have been wanting to find what my outside IP address is. Videotron has recently started to actually expire the lease on my IP address more frequently than once a year, so I can’t remember what my IP Address is all the time. I have whipped up this little ‘What is my IP Address’ [...]
Edit navigation menu in MediaWiki
First off, my apologies for not posting recently. Things have been crazy here, and to top if off I decided to build a shed in the back yard. It will give me a place to be banished too when I misbehave at home! Many of my clients use Mediawiki. I have inherited many old version [...]
Preparing to move WP Expression Engine
We are finally getting around to moving our Out of Control™ website to ExpressionEngine. WordPress for us just has too many security updates, and the recent massive change to the control panel just isn't too our liking. We also find that after much tweaking and optimizing, one of our larger sites FindMacStuff is still just [...]
EE: First extension – resize [img] images using phpthumb
I have finally written my first EE extension. It is a simple little extension that will automatically resize any imaged linked to in the Discussion Forum module of Expression Engine, and for that matter, any place that the [img] tags are used, as this extension hooks into the main [img] tag functions. It is free [...]
CERT VU#800113 DNS Cache Poisoning is a big threat
The latest CERT VU#800113 claims that an attacker which can carry out a successful cache poisoning attack can cause a nameserver's clients to contact incorrect and possibly malicious web hosts. The result is that web traffic, email, and other network data can be redirected to systems under the attacker's control. So the website you think [...]
Use smartd Smartmontools to prevent data loss
Are you responsibly for one or more servers. Perhaps you have a computer at home that you worry about at night, "What happens if my hard drive fails?" If this is you, then you need SmartMonTools. Actually, it comes pre-installed on most flavours of Linux these days, but amazingly enough, it is not set to [...]
.htaccess forbidden errors on 1and1 accounts
One of my clients runs a phpFileNavigator and wanted to upload files larger than the 2MB default that 1and1 has set. The normal .htaccess file method shown here, was causing Forbidden errors in the browser. PLAIN TEXT CODE: php_value upload_max_filesize "25M" php_value post_max_size "25M" The solution was to not use an .htaccess file, but rather [...]
Safe auto restart for httpd after updating httpd.conf for apache
If you modify your apache /etc/httpd/conf/httpd.conf configs as often as I do, you will know it is a bit tedious to constantly test for valid syntax in the httpd.config and then restart apache if all is good. With the help of a couple of friends I came up with this bash function: PLAIN TEXT CODE: [...]
Yum update causes conflicts with file from package
Apparently I am not the only one with this issue. My server runs MailScanner which requires perl-IO. If you have the latest version of perl on your system with yum, you might run into these errors: PLAIN TEXT CODE: Transaction Check Error: file /usr/share/man/man3/IO.3pm.gz from install of perl-IO-1.2301-1.el5.rf conflicts with file from package perl-5.8.8-10.el5_2.3 [...]
Fixing Linux pam.d issue – Deprecated pam_stack module
This appeared thousands of times in my log: PLAIN TEXT CODE: Deprecated pam_stack module called from service "sshd" Not just for sshd, but also for pop and pop3 and smtp. Searching Google for a bit I came across this fix: Change the lines like this: PLAIN TEXT CODE: auth required pam_stack.so service=system-auth to [...]

