Upgrading From Apache

Upgrading to Stronghold Web Server 4.0 from an Apache Web Server 1.3 involves:


To Upgrade From an Apache Web Server

  1. Install Stronghold 4.0 into a new directory, using the instructions in Installing Stronghold Web Server.
  2. Copy the contents of the old ServerRoot/cgi-bin/ directory into the Stronghold 4.0 www/cgi-bin/ directory.
  3. Copy the contents of the old ServerRoot/htdocs/ directory into the Stronghold 4.0 www/htdocs/ directory. Take care not to overwrite Stronghold 4.0 documentation files.
  4. Copy the contents of the old ServerRoot/conf/ directory into the Stronghold 4.0 conf/ directory. Take care not to overwrite Stronghold 4.0 files.
  5. Create a new subdirectory in the Stronghold 4.0 logs/ directory for storing your old log files:
       # mkdir ServerRoot/var/log/old
    
  6. Copy the contents of the old ServerRoot/logs/ directory into the new Stronghold 4.0 ServerRootvar/log/old/ directory.
  7. Open both the old and new server configuration files using a text editor in separate windows.
  8. Copy and paste any custom configurations from the old file into the new file.

    To configure additional virtual hosts as SSL virtual hosts, add SSL directives to each additional <VirtualHost> section. See the Apache Desktop Reference for the new SSL directives.

  9. Save the modified server configuration file.
  10. Stop the old server with: apachectl stop
  11. Start the new server with the ServerRoot/bin/start-server script.