Web.Developer Server Suite v2.00 Community Edition User Guide

DeveloperSide.NET

If you can see this from http://localhost/docs/suite-guide/, it means that the installation of the Apache web server software on this system was successful.

The Apache Manual has been included with this distribution.

[Note that this Guide will assume that the Web.Developer Server Suite has been installed under drive 'C:'.]

Suite Components

Core

  • Apache 2.2.6
    • httpd.conf (optimized, modular design, secured, setup for Virtual Hosts, SSL, PHP5, Perl CGI, mod_security, mod_deflate, Access Control)
    • mod_ssl (OpenSSL 0.9.8g)
    • mod_deflate (zlib 1.2.3)
  • OpenSSL 0.9.8g
  • Perl 5.8.8
    • DBI
    • DBD::mysql
  • mod_security 2.1.3
  • PHP 5.2.5
  • MySQL 5.0.45
  • phpMyAdmin 2.11.2 (Setup for multi-user environment; Relational Features enabled)
  • AWStats 6.7

Web Applications

  • Joomla 1.0.13
  • Drupal 5.3.0
  • WordPress 2.3.1
  • MediaWiki 1.11.0
  • phpBB2 2.0.22

Server Information

Basic Information

By default, Apache Server is bound to IP '0.0.0.0' [all available interfaces/IPs on the system], port 80 [http] and 443 [ssl], with DocumentRoot and Virtual Hosts accessible to the public.

By default, MySQL Server is bound to IP '127.0.0.1' [loopback, also know as 'localhost'], port 3306 [mysql], and is only accessible via user 'root' from the local system.

InformationDescription
DocumentRoot [Webroot]'C:\www\vhosts\localhost'
Local URLhttp://localhost/

URL 'http://localhost/' is the start of directory 'C:\www\vhosts\localhost'.

Apache Configuration Files

Apache HTTP Server configuration files are located under directory 'C:\www\Apache22\conf\'...

FileDescription
httpd.confmain Apache configuration file
extra\httpd-ssl.confSSL Apache configuration file
extra\httpd-vhosts.confVirtual Hosts configuration file
extra\suite-*.confAdditional Global configuration files [loaded individually from httpd.conf]
extra\vhosts\localhost\suite-*.confAdditional 'localhost' configuration files [loaded automatically]
extra\httpd-*.confApache additional configuration files

Apache Logs

Access log records all URL requests -- 'C:/www/Apache22/logs/access.log'

Error log records all reportable errors -- 'C:/www/Apache22/logs/error.log'

Status Information

InformationDescription
Server-Info[mod_info]
Server-Status[mod_status]
PHP-Info[via php_module]
CGI-env[CGI environment]

PHP

Configuration File
PHPC:\www\php5\php.ini
ApacheC:\www\Apache22\conf\extra\suite-php5.conf

All Virtual Host directories that fall under the path of "/www/vhosts/*/", have PHP enabled via Apache configuration file C:\www\Apache22\conf\extra\suite-php5.conf

MySQL

Configuration FileC:\www\mysql5\my.ini

MySQL has one user account enabled...

UserHostPassword
rootlocalhostrootwdp [web developer pass]

CGI

Configuration FileC:\www\Apache22\conf\extra\suite-cgi.conf

All Virtual Host directories that fall under the path of "/www/vhosts/*/cgi-bin/" have CGI enabled via Apache configuration file C:\www\Apache22\conf\extra\suite-cgi.conf. By default, all files under this directory will be treated as cgi scripts.

Scripts will be executed by their 'shebang' line. The shebang line is the first line of the script, denoted by '#!' (without ''), and contains the path to the interpreter of that particular script. For a perl script this will be...

#!C:/www/perl/bin/perl.exe

Virtual Hosts

Configuration FileC:\www\Apache22\conf\extra\suite-vhosts.conf

The Apache configuration file 'C:\www\Apache22\conf\extra\suite-vhosts.conf' loads and configures the Suite's Virtual Hosts.

There are 3 initial Virtual Hosts set up. The main Virtual Host 'localhost', and two example/template Virtual Hosts 'host1.tld' and 'host2.tld'.

Virutal HostDocumentRoot
localhostC:\www\vhosts\localhost
host1.tldC:\www\vhosts\host1.tld
host2.tldC:\www\vhosts\host2.tld

Note that if you are running Virtual Hosts only locally [the domain names are fictitious / are not registered / do not resolve to an IP address], make sure to edit the Windows HOSTS file 'C:\WINDOWS\system32\drivers\etc' to resolve all given domain names and aliases to IP address 127.0.0.1...

127.0.0.1	localhost

127.0.0.1	host1.tld
127.0.0.1	www.host1.tld

127.0.0.1	host2.tld
127.0.0.1	www.host2.tld

Web Applications

All Web Applications are initially bound locally [127.0.0.1] and are not fully installed. Each application's installation script(s) have pre-set default values for our configuration/setup. In most cases, user must only input an e-mail address and select a user-name with a password.

ApplicationURLConfiguration File
Joomlahttp://localhost/joomlaC:\www\Apache22\conf\extra\vhosts\localhost\suite-joomla.conf
Drupal* http://localhost/drupalC:\www\Apache22\conf\extra\vhosts\localhost\suite-drupal.conf
WordPresshttp://localhost/wordpressC:\www\Apache22\conf\extra\vhosts\localhost\suite-wordpress.conf
MediaWikihttp://localhost/mediawikiC:\www\Apache22\conf\extra\vhosts\localhost\suite-mediawiki.conf
phpBB2http://localhost/phpbb2C:\www\Apache22\conf\extra\vhosts\localhost\suite-phpbb2.conf

* Note that while all other Web Applications can be installed from the above URLs, Drupal must be installed from http://localhost/drupal/install.php.

URLs

Some other urls...


Apache