You are here

Converting from Apache (Windows)

Subscribe to Syndicate
The instructions on this page are to be used the first time you convert from Apache to the TM Server for web services.

On the Original Apache Machine (Web Server)

Follow the Download and Install instructions for TM server. Do not perform any of the configuration steps yet.

Stop Apache and save the folder
  • Stop Apache
    1. Open Windows Services
    2. Select Apache24
    3. Click Stop
  • RENAME the Apache folder.
    C:\Apache24-Not-In-Use

Make a combined SSL/CA certificate file

If this is a GEOTRUST SSL certificate, you will need to add in the certificate chain file following the instructions below. If you purchased your certificate from another reseller, you'll need to do the same thing with their SSL certificate using that vendor's chain file.

  • Go into the folder C:\Apache24-Not-In-Use\conf\ssl (that you just renamed in the previous step)
  • Duplicate the server.crt file and call it server-combined.crt
  • Edit the server-combined.crt using Notepad++ or equivalent text editor
  • Make sure there is only one pair of the following in the file
    -----BEGIN CERTIFICATE----- and
    -----END CERTIFICATE-----

    If so, then copy the text below (in yellow) and PASTE after the -----END CERTIFICATE-----. When you are done, the file containing the combined SSL certificate and chain certificate will look something like the sample one to the right.

    -----BEGIN CERTIFICATE-----
    MIIEbzCCA1egAwIBAgIDAjpzMA0GCSqGSIb3DQEBCwUAMEIxCzAJBgNVBAYTAlVT
    MRYwFAYDVQQKEw1HZW9UcnVzdCBJbmMuMRswGQYDVQQDExJHZW9UcnVzdCBHbG9i
    YWwgQ0EwHhcNMTQwNjExMjIwMjU5WhcNMjIwNTIwMjIwMjU5WjBmMQswCQYDVQQG
    EwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgSW5jLjEdMBsGA1UECxMURG9tYWluIFZh
    bGlkYXRlZCBTU0wxIDAeBgNVBAMTF0dlb1RydXN0IERWIFNTTCBDQSAtIEczMIIB
    IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs0Q6bLCuyxT5jBl0NFypaeOI
    U3elp/+90TwNJ+TerX+80ZBYk9am2jmcreEOVkbulZ4QaEycK/ZqOouAgYcGVyUa
    VlKU3ZDrZzve+q42aNNiafZsgiRET4dcmBGVZGvoDNH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CERTIFICATE-----

Make the Diffie-Helman File

Copy htdocs and conf folders to the Primary Theatre Manager Server machine

The Primary Theatre Manager Server machine will be the machine in your Local Area Network that is currently running the Theatre Manager Server and Classic Listeners. It will need a copy of the files edited above.

  • On the Web Server go to the folder C:\Apache24-Not-In-Use\
  • Select both the htdocs and the conf
  • Right click on one of the two selected folders and Send to >> Compress Zip Folder
  • This should create a file on your desktop called Archive.zip. Find it and make sure the created date is just a moment ago
  • Rename this file WebPagesAndSSL
  • Copy this file to the the desktop of the Primary Theatre Manager Server Machine. You can use any tool like a USB stick or file transfer to get the file to the TM Server Machine.

 

On the Web Server machine

  • Open an Internet Browser such as Chrome
  • Go to 127.0.0.1:3012
  • Select the Configuration tab
  • Check the following:
    1. Enable automatic software updates
    2. Enable web server
    3. Enable load balancing
  • Fill in the Domain (or IP) with the ticketing domain. Eg. tickets.artsman.com
  • Drag and drop the server-combined.crt, server.key and dhparm.pem from the unzipped conf\ssl folder onto the Transport Layer Security (TLS) section of the page
  • If the Web Server and the Web Listener are not on the same machine:
    1. Check the Enable TLS for load balanced addresses box
    2. Click the Add Balance Address button
    3. Enter the IP address of the Primary Theatre Manager Server machine in the Address field
    4. Enter 443 in the Port field
  • Click Save

 

On the Primary Theatre Manager Server machine

  • Open an Internet Browser such as Chrome
  • Go to 127.0.0.1:3012
  • Select the Configuration tab
  • Check the following:
    1. Enable automatic software updates
    2. Enable services
    3. Enable web server
    4. Enable template server
    5. Enable load balancing
    6. Behind reverse proxy (only if the Primary Theatre Manager Server is in the LAN and the Web Server is in the DMZ
  • Fill in the Domain (or IP) with the ticketing domain. Eg. tickets.artsman.com
  • Set the Primary Outlet # to be your Outlet number Eg. 1 (in most cases)
  • Enter the Marketing URL as the full path to your main web site Eg. http://www.artsman.com
  • Fill in the Custom Template Directory to say C:\BoxOffice\WebPages
    This will be the new location of the web pages. They will reside inside the Local Area Network on Primary Theatre Manager Server. Only the content of the tmCustom and the tmGifs folder should be moved to this location.
    1. Create a new set of folders with the following path:
      C:\BoxOffice\WebPages\1\WebPagesEN Where 1 is the same number as the Primary Outlet# from above
    2. Unzip the WebPagesAndSSL.zip folder
    3. Navigate into the HTDOCS\1\WebPagesEN\tmCustom folder
    4. Copy the content of the tmCustom folder into the C:\BoxOffice\WebPages\1\WebPagesEN folder
    5. Navigate into the HTDOCS\1\WebPagesEN folder
    6. Copy the tmGifs folder into the C:\BoxOffice\WebPages\1\WebPagesEN folder
  • Drag and drop the server-combined.crt, server.key and dhparm.pem from the unzipped conf\ssl folder onto the Transport Layer Security (TLS) section of the page
  • Unless there are multiple Web Listeners, leave the Load Balancer as is
  • Click Save

 

Cleanup steps after Apache converted to Theatre Manager Server/NGINX

On the Web Server machine that is now running Theatre Manager Server
  • Rename the Apache folder for posterity
  • Remove Apache from Windows Services
    sc delete Apache2.4