Re: Figuring out redhat-config-httpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Do, den 12.02.2004 schrieb Rodolfo J. Paiz um 04:07:
> At 11:39 2/10/2004, you wrote:
> >>         3. Verified that /etc/host.conf says "order hosts, dns" and 
> >> verified that there is no DNS server running on this machine.
> >
> >More importantly, does 'host simpaticus' return 127.0.0.1?
> 
> "host simpaticus" does not return anything; it says "no servers reached." I 
> am under the impression that this is correct behavior since the host 
> command is /only/ able to query DNS servers and not the /etc/hosts file; is 
> this correct?

IMHO yes.

> >I'd expect to find the following in your httpd.conf file, based on your 
> >comments, are these there?
> >
> >NameVirtualHost 127.0.0.1:80
> ><VirtualHost 127.0.0.l:80>
> >     DocumentRoot /home/rpaiz/www.simpaticus.com
> >     ServerName simpaticus
> >     ServerAlias simpaticus.localhost
> >     ErrorLog logs/www.simpaticus.com-error_log
> ></VirtualHost>
> 
> These are there.
> 
> ><Directory /home/rpaiz/www.simpaticus.com>
> >     Order allow,deny
> >     Allow from all
> ></Directory>
> 
> These are not. I'll check the directory orders later on. However, I guess 
> the problem may have more to do with the namevirtualhost "simpaticus" not 
> being properly recognized for some reason...

No necessary the Directory section.

To check what Apache sees for your main server and vhosts just execute:

apachectl -S

and check it's output.

> Rodolfo J. Paiz

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2149.nptl
Sirendipity 14:44:40 up 3 days, 17:27, load average: 0.04, 0.17, 0.13 
                   [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ]





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux