Current Document and Section   Other Documents  
  - Documentation
    - User Guide
  DNS and Domains
Gateway Services Guide
Release Notes
Howtos
 
 

Modules - Web Server - Legacy

Contents

Overview

Web Server Information
Description A powerful and popular web server.
Package Name cc-httpd
Configuration Page Software > Web > Web Server


ClarkConnect includes the Apache web server -- the same software that powers many of the world's largest websites.

Installation

If you did not select this module to be included during the installation process, you must first install the module.

Configuration

General

General

The basic set-up of the Apache web server is installed by default. In the main configuration, you need to specify two items:

Setup

Server Name

The server name is a valid name (for example, www.example.com) for your web server. This name is used on some infrequently used error pages, so it is not all that important.

SSL-Enabled - Secure Site

The web server comes with built-in SSL encryption for enhanced security. If your website requires a username and password for login, then it is a good idea to use enccryption. For instance, if you have the webmail or groupware solution installed, you should access their respective login pages via the secure web server. In your web browser, you should use the encrypted https://your.domain.com instead of the un-encrypted http://your.domain.com (https vs http). When enabled, all communication between the web server and user's web browser is encrypted using a 128-bit security key.

Warning! 
  SSL encryption requires a web site certificate. ClarkConnect automatically generates a default certificate that is 100% secure. However, this certificate is not verified by one of the web site certificate authorities (it costs at least $100 per year to maintain a verified web site certificate). Your users will see the following warning (or similar) when connecting to the secure web server.  
 


SSL Certificate

Virtual Hosts

The web server includes support for "virtual hosts". This means your web server can be used for hosting more than one web site.

Virtual Hosts

Adding Static Content to Your Site

Text Editor

Not the most efficient means, but certainly possible. Use your favorite text editor and start typing away!

Example:

vi /var/www/html/index.html

And add:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

 <head>
   <title>My First Web Page</title>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 </head>
 <body>
  <p align="center">Hello World</p>
 </body>

</html>

Web Design Applications

There are a number of products (free and commercial) to design your own webpages. See the links below for

Adding Dynamic Content to Your Site

There are many options for adding dynamic content to a website:

  • CGI
  • PHP
  • JSP
  • ASP

The set-up and configuration of these engines are beyond the scope of this help document. PHP, however, is available as a module.

Installing the PHP Module

Flexshares and your Web Server

ClarkConnect's Flexshare feature is a convenient way to add and configure more advanced web server functionality like user-authenticated logins to the LDAP service, file indexing etc.

Warning! 
  Flexshares are only available in ClarkConnect 4.0 Editions and above.  
 


Troubleshooting

ISP Blocking

Some ISPs are known to block web (port 80) traffic to residential broadband connections in an attempt to cut down on illegal sites hosted on their network. If you think your configuration is set-up correctly and you suspect your ISP is blocking HTTP traffic, try a port scan.

Firewall Rules

A webserver listens to client requests coming in on port 80 (HTTP) or 443 (HTTPS/secure). Did you remember to open the correct port(s)?

Links

Retrieved from "http://www.clarkconnect.com/olddocs/Modules_-_Web_Server_-_Legacy"

This page has been accessed 2,368 times. This page was last modified on 4 September 2007, at 15:36.