Using the Java Compiler

Using the Java Compiler

So you’ve written (or downloaded) java code and you need to compile it. Easy enough. First, upload your .java source code using ftp. Remember to upload your code in ASCII format. Then, telnet to your account and log in. Navigate to the directory in which you uploaded your .java source code. At your telnet prompt, type: javac yourcode.java where yourcode is […]

Compiling C++ Programs

Compiling C++ Programs

Some web hosts offer gcc compiler on their servers. The C and C++ compilers are integrated. Both process input files through one or more of four stages: preprocessing, compilation, assembly, and linking. Source filename suffixes identify the source language, but the name that you use for the compiler governs default assumptions.

Creating Custom Error Messages With .htaccess

Creating Custom Error Messages With .htaccess

Most servers default to the “standard” Apache error message pages for most common browser errors. If you want to develop your own error pages, you’ll need to define those pages in a file named .htaccess, which you upload into your main www directory. The custom error pages that you develop also need to be uploaded into your www directory.

Creating a Custom 404 File Not Found Error Page

Creating a Custom 404 File Not Found Error Page

With some web hosts a file named missing.html or 404.html already exists in the www directory of your account. This is the page that is returned to the visitor when they attempt to visit a page that does not exist (resulting in a 404 error) on your account. You can edit this file to your liking, or create […]

Server-Side Includes (SSI)

Server-Side Includes (SSI)

What are Server-Side Includes? Server-Side Includes (commonly called SSI) are small commands that you can put in your HTML document. These commands perform specific functions, such as inserting text, the date, server variables, etc. For example, on the page that you’re reading right now, the main navigation links in the left column and the section […]

Secure Shell (SSH) Access

Secure Shell (SSH) Access

In order to increase the security of networks, servers now support Secure Shell (SSH) connections. SSH is a secure shell system; it encrypts data between a client and server. This is in contrast to telnet (or FTP, or most other services), that send information in plain text. SSH encrypts all traffic, including passwords, typed text, […]

Accessing your Files through FTP

Accessing your Files through FTP

The process by which files are transferred to the web server is called “FTP” (File Transfer Protocol). You have unlimited access to your account by both SSH (only some web hosts) and FTP 24 hours a day. Online services which offer an Internet gateway, such as AOL, CompuServe, and Prodigy may have a built-in FTP interface. […]

Configuring and Using CGIEmail

Configuring and Using CGIEmail

What is CGIEmail? CGIEmail is another form processing script, totally different than FormMail. It is a program written in the C language that takes the contents of fill-in boxes on a form and emails them to a specified location. In addition to the form specification in the .html file, a mail specification in a .txt […]

Linux File Permissions Tutorial

Linux File Permissions Tutorial

What are they? Just for a few minutes, forget about Windows, where you start up your computer, create a file, can open it for reading and writing or delete it without doing anything special. On Linux servers, the server needs to know 2 things about files: What can be done to a file; and Who […]