setting up virtual host

Discussion in 'Apache' started by bijuphilipmani, Oct 17, 2008.

  1. #1
    I have a WAMP platform running moodle and the DocumentRoot is set to /htdocs.
    i am now trying to set up processmaker. Their DocumentRoot is /htdocs/processmaker/workflow/public_html. To overcome this, they have suggested the following steps.
    1. create a file called pmos.conf and place it in /conf/extra in apache. this file has the path to the DocumentRoot. see script below
    NameVirtualHost your_ip_address
    #processmaker virtual host
    <VirtualHost your_ip_address >
    ServerName "your_processmaker_domain"
    DocumentRoot your_processmaker_directory
    DirectoryIndex index.html index.php
    <Directory "your_processmaker_directory">
    2.add the following line in httpd.conf file, so that the ProcessMaker Virtual Configuration can proceeded.
    Include "C:\...\conf\extra\pmos.conf"
    3. when i test this configuration, i get the error message documentroot takes only one argument
     
    bijuphilipmani, Oct 17, 2008 IP
  2. Ladadadada

    Ladadadada Peon

    Messages:
    382
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    0
    #2
    All the points in this script where it says "your_ip_address" you need to replace that with your actual IP address.

    The same goes for "your_processmaker_domain" needs to be replaced with your domain name (www.example.com) and "your_processmaker_directory" needs to be replaced with the full path to where processmaker is. (/htdocs/processmaker/workflow/public_html)

    Also, the <Directory "/htdocs/processmaker/workflow/public_html"> line needs to be followed up with a </Directory> line further down. Any directives you only want to apply to that directory should be placed in between them.
     
    Ladadadada, Oct 20, 2008 IP