Modules - Web Server - Legacy
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:
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. |
|
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.
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:
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
|