VirtualHost issues. OpenBSD

Discussion in 'Apache' started by rventurini, Sep 21, 2010.

  1. #1
    I have an apache server successfully configured with SSL that runs my main webpage. I have since wanted to add a NON-SSL host for a vodcast that I have been working on, however I can not get VirtualHosts to work.

    While I chose openbsd for its built-in security, i am having great difficulty configuring apache because openBSD keeps it chrooted.

    I use no-ip for my dns name and my main and virtual servers are set up as indicated below.

    <IfDefine SSL>
    Listen darkwing.mynoipdomain.org:80
    Listen darkwing.mynoipdomain.org:443
    </IfDefine>

    User www
    Group www

    ServerName darkwing.mynoipdomain.org
    DocumentRoot "/var/www/home"



    <VirtualHost vod.darkwing.mynoipdomain.org:80>
    SSLDisable
    Port 80
    DocumentRoot /var/www/vodcast
    Errorlog /var/www/voderror.log
    Transferlog /var/www/vodaccess.log
    </VirtualHost>


    Any insight or help would be greatly appreciated, I have been beating my head against the desk for hours. Thanks

    I followed this example along with countless other google searches: http://www.apache-ssl.org/httpd.conf.example
     
    rventurini, Sep 21, 2010 IP