[mythtv-users] Another Mythweb question SOLVED (I think!)

Harry Devine lifter89 at comcast.net
Wed Mar 26 01:08:00 UTC 2008


Brian Phillips wrote:
>> OK, so I think I have this resolved with the help of this article:
>> http://www.apachelounge.com/forum/viewtopic.php?p=8091  In it
>> (actually, the 2nd post in), it says that some default rules in
>> apache require you to use a computername instead of an IP.  So, I
>> added my host name to my XP laptop's hosts file and could get the
>> default "Fedora Test Page", then was able to get access to my Mythweb
>> setup.     
>>
>> So for now, I'm operational.  I'm a little unclear as to why this
>> rule matters, so if anyone has any insight, I'm all ears! :-) 
>>     
>
> I hope I'm not pointing out something basic or obvious and sounding
> condescending in the process...so if you already understand then just ignore
> my response!
>
> The rules require a hostname because you can run more than one website from
> the same webserver.  Specifying an ip address doesn't do anything to tell
> apache what website you want to visit.  Back in my days of working with
> apache, they were called Virtual Hosts (and may still be called this).
> Depending on how you set up apache, you can tell it you have 5 different
> websites and point the hostnames to five different folders.  So even though
> the hostnames all resolve to the same ip address, apache knows which website
> to serve up because it knows the hostname you are requesting.
>
> Last I recall though, you had to explicitly tell it "deny ip address
> requests" when working with virtual hosts, because there was always a
> "default" website it served up in case it couldn't match the request to one
> of the five folders.
>
> You didn't make any sort of explicit rule did you?
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   
Its not condescending at all.  That makes perfect sense!  I didn't think 
or realize it at the time, but it makes sense.  And I didn't make any 
explicit rule.  Apache was a vanilla install with Fedora 8 and I didn't 
tweak it at all.

Thanks for the clarification!
Harry



More information about the mythtv-users mailing list