Archive | *NIX RSS feed for this section

File Permissions

This page explains how to set file permissions for the three most common type of web files: pages, scripts and data/config files. To keep things simple, let’s make the following assumptions: a. pages should be readable/writable by the owner and readable by the web visitor. b. scripts should be readable/writable/executable by the owner and readable/executable [...]

Leave a comment Continue Reading →

Installing Perl modules on UNIX w/o root permissions

Installing Perl modules on a UNIX virtual server when you don’t have root or administrator privledges. Before you begin: In order to install modules, you have to have SSH or Telnet access to the server. If you don’t have this access (or you don’t know what SSH/Telnet means) then you’ll probably have to get your [...]

1 Comment Continue Reading →

vi primer for UNIX dummies

vi is a text editor that is installed pretty much on all UNIX systems. favored by old-school geeks, vi can be somewhat complex to use. However the basics are pretty easy. Most of us only need the basics to go into a config file and change a setting. Starting vi: vi [filename] – opens a [...]

Leave a comment Continue Reading →

Securing your cgi-bin

The Problem: I find a lot of surprising security problems as I work on client’s sites. Even large, reputable companies often have gross security issues. I know more than anyone how difficult it can be to get a cgi script installed and working. It’s tempting to walk away without double-checking the security. One of the [...]

1 Comment Continue Reading →

PHP intermittent blank page

There is a problem with IE and PHP applications is certain instances where an intermittent blank page appears instead of the expected content. This seems to relate to an earlier bug reported by Microsoft with IE 6 where the content length was reported as 0 during POST requests. This occured when browsing sites running UNIX/Apache [...]

4 Comments Continue Reading →