TCLethbridge edited this page Dec 1, 2016 · 2 revisions
Clone this wiki locally

This page tells you how to create a local UmpleOnline web server on a Windows machine. For Mac/Linux directions, refer instead to this page.

The following instructions assume you are using Apache.

Prerequisite: Doing a full build of Umple on your machine

The instructions on this page assume that you have cloned Umple from github and have done a full build. Follow the development setup instructions first, before setting up a local UmpleOnline.

Step 1: Locate your Apache httpd.conf file

On Windows 7:

  cd /apachedirectory/conf

Step 2: Edit the httpd.conf file to add a virtual host

You will need to change the permission settings for the file.

Search for:

#LoadModule rewrite_module modules/

Replace with:

LoadModule rewrite_module modules/

Search for DocumentRoot and point it to your UmpleOnline code.

Search for


and point it to your UmpleOnline code.

Search for:

DirectoryIndex index.html

Replace with:

DirectoryIndex index.html index.php

Search for:

AddType application/x-gzip .gz .tgz

Add the following below it:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Search for:

#Include conf/extra/http-vhosts.conf

Replace with:

Include conf/extra/http-vhosts.conf

Add a virtual host to point to the umpleonline directory in your working copy.

Search for 'Virtual hosts' in the file.

Add the following: (making sure that you specify your path where it says 'path/to')

# Virtual hosts

   DocumentRoot "path/to/umpleonline"   
   ServerName cruise.local

Step 3. Restart Apache

Restart Apache and in your browser, go to

If all you see if the source code, make sure that PHP is installed.


If you are unable to edit or save changes to the *.conf files:

Right click on the file -> Select the Security tab -> Click Edit

Select Users -> Modify the Allow -> Click OK

Also, remember to ensure that the path variables are added for Apache and PHP.

You can verify by going to:

Start -> Right click on Computer -> Click on Properties

Select the Advanced tab -> Click on Environment Variables

Check PATH in User variables.

If you have problems, consider editing the 'httpd-vhosts.conf' file to specify the virtual host there.