I'm trying to set up Apache to work on my system; long story short,
while I had Apache working briefly, it's not working now (only changes
made were in /etc/httpd/conf/httpd.conf).  This is a STOCK RH7.3 system;
I only installed it last night, it's not connected to the internet yet
(because I can't get up2date to work.... something is wrong with it at 
Red Hat).

The error message I'm getting is in /var/logs/httpd/error_logs

[Tue Jul 23 12:43:43 2002] [crit] (98)Address already in use: make_sock:
could not bind to port 80

which is NOT helpful, since it comes up even AFTER a reboot.

There are NO other web servers attached;

[root@ratbert root]# telnet localhost 80
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
[root@ratbert root]#

I've checked to see if it could be the Port setting or the Listen settings
in httpd.conf, but I'm not seeing that.

Anybody have a clue?


After that, I've got a couple of further questions (which may, for all I
know,
answer the first).

I've tried setting up virtual hosts in the httpd.conf file, like this:

Listen 82
Listen 81
NameVirtualHost 192.168.3.100:82
NameVirtualHost 192.168.3.100:81
<VirtualHost 192.168.3.100:82>
    DocumentRoot /var/www/html/raku/
</VirtualHost>
<VirtualHost 192.168.3.100:81>
        DocumentRoot /var/www/html/troop14/
</VirtualHost>
<VirtualHost _default_:*>
        DocumentRoot    /var/www/html
</VirtualHost>

This should, if I'm understanding everything correctly, cause Apache
to listen on port 80, 81, and 82 (I have listen 80 in the default
position).  If it gets a hit on port 81, it uses the troop14 area
as it's root, and therefore should display the Troop14 site.  If
it gets 82, it uses the Raku site.  If it gets port 80, it uses the
default site.

Does this look right to folks?  I'm tearing out what little hair is 
left.

R/William Ward



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to