How to create new Virtual Host?

apps

#1

Hi, I am trying to set up an open source media asset cms system on dreamhost called razuna (razuna.org). It runs on Apache Tomcat. I’m having quite a time getting this all set up on our Dreamhost PS. My current problem is trying to figure out how to set up a Virtual Host on the Apache Server. I’m getting the feeling that Dreamhost doesn’t give us access to the config files for the apache server, is that right? This may be a problem because Razuna has some fairly specific configuration directives that I don’t think I can set up using dreamhost panel options for setting up a proxy server on a given port.

Here’s the config items that Razuna suggests:

<VirtualHost *:80>
ServerName localhost
DocumentRoot /opt/tomcat/webapps/razuna/demo/dam
ErrorLog /var/log/apache2/error_razuna.log
CustomLog /var/log/apache2/razuna.log combined

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    ProxyRequests Off
    <Proxy *>
            Order deny,allow
            Allow from all
    </Proxy>

    ProxyPreserveHost On
    ProxyTimeout 120
    ProxyVia On
    ProxyPass / ajp://localhost:8009/ ping=5 timeout=120
    ProxyPassReverse / ajp://localhost:8009/

    RewriteEngine On
    RewriteRule ^/(.*\.cf[cm]/?.*)$ ajp://localhost:8009/$1 [P]

Does anyone know if I can add these manually to the Apache config? Or is there another way to go about thsi on dreamhost?

eThan