|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Some research suggests that this might be a tux configuration issue. Can anyone suggest what might need to be changed where? Consolidated summary: Linux is Redhat shrike (9) with all up2date. Tux is the primary server on port 80 Apache is the secondary server on port 8080Apache is setup with a virtual host xenodochy.org pointing to /var/www/html/xenodochy.
The linux root is obtained by entering http://linux.Everything appears to work fine using Opera 7.50P2 on the linux machine (networked to the windows machine).
http://www.xenodochy.org takes me to the internet. http://xenodochy.org takes me to the local copy on the linux machine.Using Opera on the windows machine, entering http://xenodochy.org actually retrieves the content of http://linux, although the address bar shows http://xenodochy.org.
The tux log is showing GET / The apache access log is showing GET / followed by GET /icons/blank.gif HTTP/1.1" 304 0 "http://xenodochy.org/" (when it's going for the directory information for / (at /var/www/html)It looks like tux is either not translating the request for xenodochy.org to directory /var/www/html/xenodochy.
How do I get tux to support the VirtualHost setup in apache? Any suggestions? ------- Forwarded message ------- From: "Ralph E. Kenyon, Jr." <email@example.com> To: shrike <firstname.lastname@example.org> Subject: Fwd: Re: server configuration for local and internet priority Date: Sat, 06 Mar 2004 12:47:55 -0500 Hi, Thanks again for your suggestion. It works on the linux box, but I get something strange that indicates there is still a configuration problem. When I enter http://xenodochy.org on the windows machine, it returns to me the same directory as when I enter "http://linux", but the address line says "http://xenodochy.org" instead of "http://linux". (/etc/hosts includes "127.0.0.1 linux xenodochy.org") When I look at /var/log/httpd/access_log, it shows that the request is coming from the windows machine at 192.168.0.1 and is asking for "http://xenodochy.org". 192.168.0.1 - - [06/Mar/2004:08:47:27 -0500] "GET / HTTP/1.1" 200 1504 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.50 [en]" 192.168.0.1 - - [06/Mar/2004:08:47:28 -0500] "GET /icons/text.gif HTTP/1.1" 304 0 "http://xenodochy.org/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.50 [en]" 192.168.0.1 - - [06/Mar/2004:08:47:28 -0500] "GET /icons/blank.gif HTTP/1.1" 304 0 "http://xenodochy.org/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.50 [en]" 192.168.0.1 - - [06/Mar/2004:08:47:28 -0500] "GET /icons/folder.gif HTTP/1.1" 304 0 "http://xenodochy.org/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.50 [en]" Apache appears to be reading and displaying the wrong directory. It's displaying the DocumentRoot directory in the root web site instead of the DocumentRoot directory in the defined VirtualHost. I've spent a long time searching with google, but I have not found a solution (that I recognize). Any suggestions as to what may be preventing apache from returning the requested virtual host directory or page? ------- Forwarded message ------- From: "Ralph E. Kenyon, Jr." <email@example.com> To: firstname.lastname@example.org Subject: Re: server configuration for local and internet priority Date: Thu, 04 Mar 2004 15:35:01 -0500 That did the trick on the Linux machine. Exactly what I wanted. Thanks! Now I can start dismantling the kludgy W2K IIS setup. On Thu, 04 Mar 2004 14:55:34 -0500, <email@example.com> wrote:
i think that your issue is a dns/hostname resolution one.both xenodochy.org and www.xenodochy.org resolve to 184.108.40.206, so that's where your linux box will try to go by default (regardless of the hostname you enter).if you put xenodochy.org on the "localhost" (127.0.0.1) line in your /etc/hosts file your machine should then go there (to the local machine) when you enter the xenodochy.org name. it should still go out to the 63.xxx hosted machine when you enter www.xenodochy.org .[this setup will leave it so that if an external user enters either xenodochy.org or www.xenodochy.org they will (properly) go to yor 63.xxx hosted machine.]---------- Original Message ----------From: "Ralph E. Kenyon, Jr." <firstname.lastname@example.org> To: shrike <email@example.com> Date: Thursday, March 04, 2004 02:41:23 PM -0500 Subject: server configuration for local and internet priority Hi all, I'm new to linux, and I'm looking for some configuration help. I have copied one of my domain web pages to my shrike box in /var/www/html/xenodochy.org, and I have setup a virtual host in httpd.conf as xenodochy.org. <VirtualHost xenodochy.org> ServerAdmin firstname.lastname@example.org DocumentRoot /var/www/html/xenodochy.org ServerName xenodochy.org </VirtualHost> When I type the URL in my browser (Opera), I would like "http://xenodochy.org" to show me the local copy from my linux box and "http://www.xenodochy.org" to show me the internet copy. When I run Opera on the Linux box with http://xenodochy.org, it takes me out to the internet rather than to the local copy. My ISP has two virtual host definitions (with and without the www.) in their httpd.conf file. One complication is my linux box is not my internet gateway. Because my satellite service is not supported on Linux, my linux box has a fixed local IP and goes through ICS on a W2K machine. My previous development was using IIS, but I want to get off IIS and onto Linux. Can anyone tell me what configurations I might need to do where so that my browser looks for web pages locally before going out to the internet? It should find http://xenodochy.org on the linux box, but not finding http://www.xenodochy.org there, it should go out to the internet. Thanks for any suggestions you can give me. -- http://www.xenodochy.org/ralph.html Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- Shrike-list mailing list Shrikeemail@example.com https://www.redhat.com/mailman/listinfo/shrike-list---------- End Original Message ----------
-- http://www.xenodochy.org/ralph.html Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
[Older Fedora Users Mail] [Home] [Fedora Legacy] [Fedora Desktop] [iPod Nano] [ATA RAID] [Fedora Bible] [Fedora Marketing] [Fedora Mentors] [Fedora Packaging] [Fedora SELinux] [Big List of Linux Books] [Yosemite News] [Yosemite Photos] [KDE Users] [Fedora Tools] [Fedora Docs]