Title: Vircual Hosting with Apache

Hello

        I am quite frustrated with getting Virual hosting up and running and need help!

I am running SuSE Linux 6.1 with Apache Apache-1.3.4-24.  I have one IP address and want to host mutlipul domains on that one server.  I have gone over the docs inside and out and just cant make it work.  According to the docs it is so simple, but I must be missing something.

Here is the jist of what I have in the config file.

ServerName my.ip.address

NameVirtualHost 63.83.118.66

<VirtualHost my.ip.address>
        ServerName www.datakota.net
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /home/datakota.net/docs
        ErrorLog /home/datakota.net/logs/error_log
        CustomLog /home/datakota.net/logs/access_log common
       
        ScriptAlias /cgi-bin/ "/home/datakota.net/cgi-bin/"
       
        <Directory "/home/datakota.net/docs">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
        </Directory>
       
        <Directory "/home/datakota.net/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
        </Directory>

</VirtualHost>

<VirtualHost 63.83.118.66>
        ServerName www.datakota.com
        ServerAdmin [EMAIL PROTECTED]
        DocumentRoot /home/datakota.com/docs
        ErrorLog /home/datakota.com/logs/error_log
        CustomLog /home/datakota.com/logs/access_log common
       
        ScriptAlias /cgi-bin/ "/home/datakota.com/cgi-bin/"
       
        <Directory "/home/datakota.com/docs">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
        </Directory>
       
        <Directory "/home/datakota.com/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
        </Directory>

</VirtualHost>

Joseph

-------------------------------------
Work Email: [EMAIL PROTECTED]
Home Email: [EMAIL PROTECTED]
-------------------------------------

Reply via email to