help with apache

Scott Berry sberry at northlc.com
Thu May 24 01:27:54 UTC 2007


Tim,

It looks like your suggestion worked well.  Thanks so much it is very much 
appreciated.  Thank you also for taking the time to look through my 
httpd.conf file.

Scott

----- Original Message ----- 
From: "Tim" <ignored_mailbox at yahoo.com.au>
To: "For users of Fedora" <fedora-list at redhat.com>
Sent: Wednesday, May 23, 2007 8:07 PM
Subject: Re: help with apache


> On Wed, 2007-05-23 at 09:54 -0500, Scott Berry wrote:
>> I am sorry to post this here but I can't seem to get on the Apache's
>> user mailing list.  I am having trouble getting apache to start.  The
>> syntax is okay but I have some dns assignments through dyndns.com
>> which I would like to use for Apache and I am having trouble with
>> Apache starting these.  My config file httpd.conf will be attached.
>
> You have two lines as follows:
>
>  Listen 192.168.1.115:80
>  Listen 80
>
> The first causes Apache to only listen to port 80 from that IP address,
> the second means to listen to port 80 on any address.  That's not
> logical.
>
> If you want Apache to respond to anything that connects, get rid of the
> first line.  Otherwise, list all the interface addresses that you want
> it to respond on, in the same manner as the first line.
>
> You have the servername commented out:
>
>  #ServerName http://www.pilotalk.dyndns.biz
>
> That is fine, the server will respond to any queries not caring what
> hostname is used.  But if you used URI re-writing rules, you might want
> to uncomment that, and write it as:
>
> ServerName www.pilotalk.dyndns.biz
>
> However, www.pilotalk.dyndns.biz doesn't give an answer for a DNS query.
> So, either you want to add a www record for your domain, or just use
> pilotalk.dyndns.biz as the server name.
>
> Personally, I'd recommend using the www prefixed one, and putting in URI
> re-write rules so that any connections made to pilotalk.dyndns.biz are
> re-written to www.pilotalk.dyndns.biz.  That gives you *one* address
> that people will use for your website.  That's important for caching.
> Having two addresses that respond, means you can get twice the traffic,
> artificially.
>
> If Apache has trouble resolving your domain name, it may cause a problem
> when you try to start the server.  You'd want to make sure that Apache
> can easily resolve your hostname, at all times.  That might mean
> ensuring your internet connection is up before starting Apache.  I
> wouldn't recommend putting an entry in your /etc/hosts file like:
>
> 127.0.0.1 www.pilotalk.dyndns.biz pilotalk.dyndns.biz
>
> As that can upset some of the scripts that are used to run the dynamic
> IP address updating with the dyndyns type of services.
>
> Everything else looked okay in the configuration file.
>
> Next you'd look at things outside of Apache (firewall rules, and your
> modem/router configuration).
>
> -- 
> (This box runs FC6, my others run FC4 & FC5, in case that's
> important to the thread.)
>
> Don't send private replies to my address, the mailbox is ignored.
> I read messages from the public lists.
>
>
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.467 / Virus Database: 269.7.6/815 - Release Date: 5/22/2007 
> 3:49 PM
>
> 




More information about the users mailing list