Forum OpenACS Q&A: Response to Problem with OpenACS/Apache and virtual hosts

 
Problem solved.  I moved the following AOL Server config statements inside the virtual host for OpenACS and everytyhing worked fine.

    #
    # Use name-based virtual hosting.
    #
    NameVirtualHost *

    <VirtualHost *>
      ServerName www.indaflo.com
      DocumentRoot "/var/opt/www/nuvoetech2/www"
      <Directory "/var/opt/www/nuvoetech2/www">
        Options  Indexes FollowSymLinks MultiViews ExecCGI
        DirectoryIndex  index.tcl index.adp index.shtml index.html index.htm
        AddHandler adp adp
        AddHandler aolserver tcl
      </Directory>
     #
     # ACS/AOL Server configuration
     #
     AolServerConf nsv_shmem_file /var/opt/run/aolsrv_shmem
     AolServerConf lockfile /var/opt/run/aolsrv_lock
     AolServerConf config_file /etc/opt/apache/nsd.ini
     AolServerConf log_file_location /var/opt/log/apache/error.log
     AolServerConf tcl_modules /opt/lib/apache/tcl_modules
    </VirtualHost>

Note that if you leave a copy of the AOL Server config statements in the main part of apache.conf, when you start Apache mod_aolserver will complain with the statement  "mod_aolserver can only run currently in one virtual server" and the Apache startup will fail.