Archive for Sysadmin

Tracking an IP address

In my job I have to manage lots of machines all over the place. Many of them are on windows.

I often find tracking IP addresses to be a difficult task if they do not have a static IP address.

So what can be done to keep track of an IP address?

Read the rest of this entry »

Comments (3)

suPHP and .phps PHP code highlighting support

Today a user on one of my web servers asked me why .phps files would only download and not show the highlighted PHP code as expected.

This is usually done by adding the following to your “httpd.conf”…

AddType ‘application/x-httpd-php-source’ .phps

We use the cPanel web hosting control panel and to improve security cPanel recommend using suPHP, which allows PHP scripts to run as a user rather than “nobody”.

This means that adding the above line to “httpd.conf” does not work with suPHP.

So what can be done?

Read the rest of this entry »

Comments (3)

What is a hacker?

Not so long ago I was asked to answer some questions for a friend of a friend who was writing a dissertation about the “hacking and warez scene” (which I have not been heavily involved in since I turned 18).

As I had known him for a long time, I felt obliged to help out, plus I was now interested in the questions that would be asked.

Based on what had been said I knew they were going to be questions on defining what a hacker is and what a hacker does, something i’ve been interested in defining for quite some time.

Here’s what I said…

Read the rest of this entry »

Comments (1)

Storing mySQL database settings for php and perl in one file

I have a situation where there’s two scripts.

  1. The main core of the code which is PHP based.
  2. A perl script which is called by the mail server for parsing incoming mail.

Both of these scripts require database access to the same database.

Read the rest of this entry »

Comments (2)

Transfering domains from Godaddy.com to TuCows OpenSRS

I need to transfer a bunch of domains from Godaddy (aka Godamnannoying) to TuCows (aka OpenSRS), surly it can’t be that difficult? Right?

I found that there were lots of articles on how to transfer to Godaddy, but not how to get out. This is a short guide on how to transfer away from Godaddy, in this case we will be transferring to OpenSRS.

This guide is appropriate for .com, .net, .org, .name domain names.

Read the rest of this entry »

Comments (12)

« Previous Page« Previous entries « Previous Page · Next Page » Next entries »Next Page »