On Fri, 2003-09-19 at 01:46, James wrote:
> I am using Mandrake version 9.1.

took me a minute to figure out you were having a problem with Apache,
BTW...
> 
> I have set up about 8 virtual servers without a flaw and they can be
> viewed fine from online, but for some reason, I can't seem to get the
> default server to be viewable online.
> 
> Where does the default server reside, anyway?  Initially, I had it sitting
> on /var/www/html but the only way I could view it was by typing in the ip
> address.  I thought it might help if I were to actually make the default
> server address a virtual address, but this didn't work.

Define default :-)

You have to set up a vhost for every name you expect to serve. Once
that's done you can ignore /var/www/html because it'll never be seen.
http://IPaddress will go to the first defined vhost (monkeynoodle.org in
my case, which is why it has the rewrite statement).

NameVirtualHost *

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /var/www/monkeynoodle
    ServerName www.monkeynoodle.org
        ServerAlias monkeynoodle.org www.monkeynoodle.org
felix.monkeynoodle.org
        CustomLog logs/monkeynoodle-log combined
        ServerSignature Email
        <Directory "/var/www/monkeynoodle">
...
   <IfModule mod_rewrite.c>
        RewriteEngine on
        RewriteLog "/var/log/httpd/monkeynoodle-rewrite_log"
        RewriteLogLevel 1
        # Send the worms back home
        RewriteRule ^.*\.(exe|ida|dll).* http://127.0.0.1/$1
    </IfModule>
    <IfModule mod_proxy.c>
        # Zope-related statements
        ProxyPass / http://192.168.1.1:9673/mn/
        ProxyPassReverse / http://192.168.1.1:9673/mn/
        ProxyPass /misc_ http://192.168.1.1:9673/misc_
        ProxyPass /p_ http://192.168.1.1:9673/p_
    </IfModule>
</VirtualHost>
...

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /var/www/sierranevadagroup
    ServerName www.sierranevadagroup.com
    ServerAlias sierranevadagroup.com www.sierranevadagroup.com
felix.sierraneva
dagroup.com
    CustomLog logs/sierranevadagroup-log combined
    ServerSignature Email
    <Directory "/var/www/sierranevadagroup">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    Alias /webalizer/ "/var/www/sierranevadagroup/webalizer/"
    <Directory //var/www/sierranevadagroup/webalizer/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
        order deny,allow
        deny from all
        allow from 127.0.0.1 192.168.1
    </Directory>
    <IfModule mod_proxy.c>
        ProxyPass / http://192.168.1.1:9673/sng/
        ProxyPassReverse / http://192.168.1.1:9673/sng/
        ProxyPass /misc_ http://192.168.1.1:9673/misc_
        ProxyPass /p_ http://192.168.1.1:9673/p_
    </IfModule>
</VirtualHost>


> 
> Again, I was able to view the default server page by typing in the ip
> address, but not its name.  I can view all other virtual servers just
> fine.  How do I make my default server page viewable to everybody?
> 
> I have been successfully running a mandrake server for 6 years, but for
> some reason, this 9.1 version is confusing me.
> 
> Thanks for any help.
> 
> james
> 
> 
> ______________________________________________________________________
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com
-- 
Jack Coates
Monkeynoodle: A Scientific Venture...


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to