From diogenes at vgernet.net Mon Mar 8 15:28:06 2004 From: diogenes at vgernet.net (Ralph E. Kenyon, Jr.) Date: Mon, 08 Mar 2004 10:28:06 -0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: References: <141110000.1078430133@georgev.innovate.net> Message-ID: 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 8080 Apache 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." To: shrike 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." To: lists-redhat-replies at listmail.innovate.net 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, wrote: > i think that your issue is a dns/hostname resolution one. > > both xenodochy.org and www.xenodochy.org resolve to 63.246.192.33, 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." >> To: shrike >> 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. >> >> >> ServerAdmin webmaster at xenodochy.org >> DocumentRoot /var/www/html/xenodochy.org >> ServerName xenodochy.org >> >> >> 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 >> Shrike-list at redhat.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/ From mcd at daviesinc.com Mon Mar 8 15:53:39 2004 From: mcd at daviesinc.com (Chris Davies) Date: Mon, 08 Mar 2004 10:53:39 -0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: References: <141110000.1078430133@georgev.innovate.net> Message-ID: <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> On Mon, 2004-03-08 at 10:28, Ralph E. Kenyon, Jr. wrote: > Linux is Redhat shrike (9) with all up2date. > Tux is the primary server on port 80 > Apache is the secondary server on port 8080 > Apache is setup with a virtual host xenodochy.org pointing to > /var/www/html/xenodochy. First, if you are using any of the virtual serving options, http://www.redhat.com/docs/manuals/tux/TUX-2.2-Manual/virtual-hosting.html mentions that you need to have the directory named /var/www/html/xenodochy.org unless you have strip host tail turned on. However, I am thinking your problem might be related to the one I reported Feb 26 -- with apache 1.3.29 (and a few prior versions), I was not able to get tux to pass a virtual hosting request through to the backend -- almost as if the host info wasn't being passed in some format that apache 1.3 could understand. However, Apache 2.0.x seems to have no issue with it. what are your tux settings? how about your apache config -- perhaps there is something we're both missing in our apache configs. > 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." > To: shrike > 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." > To: lists-redhat-replies at listmail.innovate.net > 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, > wrote: > > > i think that your issue is a dns/hostname resolution one. > > > > both xenodochy.org and www.xenodochy.org resolve to 63.246.192.33, 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." > >> To: shrike > >> 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. > >> > >> > >> ServerAdmin webmaster at xenodochy.org > >> DocumentRoot /var/www/html/xenodochy.org > >> ServerName xenodochy.org > >> > >> > >> 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 > >> Shrike-list at redhat.com > >> https://www.redhat.com/mailman/listinfo/shrike-list > > > > ---------- End Original Message ---------- > > > > -- Chris Davies E-Commerce/Colocation http://daviesinc.com/ +1.561.333.6946 Florida, USA From diogenes at vgernet.net Mon Mar 8 16:12:08 2004 From: diogenes at vgernet.net (Ralph E. Kenyon, Jr.) Date: Mon, 08 Mar 2004 11:12:08 -0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> Message-ID: On Mon, 08 Mar 2004 10:53:39 -0500, Chris Davies wrote: > On Mon, 2004-03-08 at 10:28, Ralph E. Kenyon, Jr. wrote: >> Linux is Redhat shrike (9) with all up2date. >> Tux is the primary server on port 80 >> Apache is the secondary server on port 8080 >> Apache is setup with a virtual host xenodochy.org pointing to >> /var/www/html/xenodochy. > First, if you are using any of the virtual serving options, > > http://www.redhat.com/docs/manuals/tux/TUX-2.2-Manual/virtual-hosting.html > > mentions that you need to have the directory named > > /var/www/html/xenodochy.org unless you have strip host tail turned on. > > However, I am thinking your problem might be related to the one I > reported Feb 26 -- with apache 1.3.29 (and a few prior versions), I was > not able to get tux to pass a virtual hosting request through to the > backend -- almost as if the host info wasn't being passed in some format > that apache 1.3 could understand. However, Apache 2.0.x seems to have > no issue with it. > > what are your tux settings? how about your apache config -- perhaps > there is something we're both missing in our apache configs. > Thanks! I had found some of that, but the problem is a lack of specific how-to instructions. Further research suggests that I need to turn virtual hosting on in tux, but I don't see how to do that. I've found an explatation of the configuration variable, but no instruction on how or where to set it. It seems like I have to sent "virtual_server" to 1, 2, or 3, but I have been unable to find out how or where to do that. The page says: Most parameters can only be set when TUX is not active. /proc/sys/net/tux Parameters The following parameters are set through /proc/sys/net/tux. But how? What are the steps? What is the syntax? I'm a relative newbie for linux, and I haven't a clue how to do this. > > >> 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." >> To: shrike >> 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." >> To: lists-redhat-replies at listmail.innovate.net >> 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, >> wrote: >> >> > i think that your issue is a dns/hostname resolution one. >> > >> > both xenodochy.org and www.xenodochy.org resolve to 63.246.192.33, 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." >> >> To: shrike >> >> 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. >> >> >> >> >> >> ServerAdmin webmaster at xenodochy.org >> >> DocumentRoot /var/www/html/xenodochy.org >> >> ServerName xenodochy.org >> >> >> >> >> >> 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 >> >> Shrike-list at redhat.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/ From mcd at daviesinc.com Mon Mar 8 16:35:32 2004 From: mcd at daviesinc.com (Chris Davies) Date: Mon, 08 Mar 2004 11:35:32 -0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> Message-ID: <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> On Mon, 2004-03-08 at 11:12, Ralph E. Kenyon, Jr. wrote: > It seems like I have to sent "virtual_server" to 1, 2, or 3, but I have > been unable to find out how or where to do that. echo 3 > /proc/sys/net/tux/virtual_server alternatively, create a file /etc/sysctl.tux put net/tux/virtual_server = 3 sysctl -p /etc/sysctl.tux From bakirov at transfer.kg Mon Mar 8 17:43:45 2004 From: bakirov at transfer.kg (Meder Bakirov) Date: Mon, 8 Mar 2004 22:43:45 +0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> References: <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> Message-ID: <200403082243.57913.bakirov@transfer.kg> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 08 March 2004 21:35, Chris Davies wrote: > On Mon, 2004-03-08 at 11:12, Ralph E. Kenyon, Jr. wrote: > > It seems like I have to sent "virtual_server" to 1, 2, or 3, but I have > > been unable to find out how or where to do that. > > echo 3 > /proc/sys/net/tux/virtual_server > > alternatively, create a file /etc/sysctl.tux > > put > > net/tux/virtual_server = 3 net.tux.virtual_server = 3 ;) > > sysctl -p /etc/sysctl.tux > > > _______________________________________________ > tux-list mailing list > tux-list at redhat.com > https://www.redhat.com/mailman/listinfo/tux-list - -- Best rgrds, .coder My Intellect is The Power! (c) The Prodigy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFATLDbiHZXWv0HWscRAuNsAJ4x5lDINNI/xJhbdveaiKybBuewlACfTSs3 zW8uyLKtdFACTcpUELJ0I5c= =cyqk -----END PGP SIGNATURE----- From diogenes at vgernet.net Mon Mar 8 20:31:44 2004 From: diogenes at vgernet.net (Ralph E. Kenyon, Jr.) Date: Mon, 08 Mar 2004 15:31:44 -0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> Message-ID: On Mon, 08 Mar 2004 11:35:32 -0500, Chris Davies wrote: > On Mon, 2004-03-08 at 11:12, Ralph E. Kenyon, Jr. wrote: >> It seems like I have to sent "virtual_server" to 1, 2, or 3, but I have >> been unable to find out how or where to do that. > > echo 3 > /proc/sys/net/tux/virtual_server > > alternatively, create a file /etc/sysctl.tux > > put > > net/tux/virtual_server = 3 > > sysctl -p /etc/sysctl.tux > Great! Thanks! It turns out that "1" is the correct parameter for my setup. "3" times out. Unfortunately, I'm still getting the wrong directory at the windows machine. It's beginning to look like tux is not passing on the correct information to apache. The access_log for apache is not showing the leading directory. Something on the linux system is allowing the request to be processed by apache correctly, but when they come through from the lan, the domain directory does not get added. The requested URL through the LAN was http://xenodochy.org/index.html, and the apache log shows: 192.168.0.1 - - [08/Mar/2004:13:03:06 -0500] "GET /index.html HTTP/1.1" 404 1051 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) Opera 7.50 [en]" (There's no index.html in /var/www/html/) The requestetd URL on the linux machine was also http://xenodochy.org/index.html, and the apache log shows: 127.0.0.1 - - [08/Mar/2004:13:03:13 -0500] "GET /index.html HTTP/1.1" 200 4569 "-" "Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i586) Opera 7.23 [en]" Any suggestions? > _______________________________________________ > tux-list mailing list > tux-list at redhat.com > https://www.redhat.com/mailman/listinfo/tux-list -- http://www.xenodochy.org/ralph.html Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From mcd at daviesinc.com Tue Mar 9 20:25:08 2004 From: mcd at daviesinc.com (Chris Davies) Date: Tue, 09 Mar 2004 15:25:08 -0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> Message-ID: <1078863908.1767.1.camel@mcdlp.pbi.daviesinc.com> On Mon, 2004-03-08 at 15:31, Ralph E. Kenyon, Jr. wrote: > It's beginning to look like tux is not passing on the correct information > to apache. now you're at the same place I am with an apache 1.3 installation. Apache 2.0 works correctly which leads me to believe that tux sends the command to the backend in some format that 2.0 is able to decipher, but 1.3 decides for whatever reason is invalid. From diogenes at vgernet.net Tue Mar 9 23:48:53 2004 From: diogenes at vgernet.net (Ralph E. Kenyon, Jr.) Date: Tue, 09 Mar 2004 18:48:53 -0500 Subject: Fwd: Re: server configuration for local and internet priority In-Reply-To: <1078863908.1767.1.camel@mcdlp.pbi.daviesinc.com> References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> <1078863908.1767.1.camel@mcdlp.pbi.daviesinc.com> Message-ID: On Tue, 09 Mar 2004 15:25:08 -0500, Chris Davies wrote: > On Mon, 2004-03-08 at 15:31, Ralph E. Kenyon, Jr. wrote: >> It's beginning to look like tux is not passing on the correct >> information >> to apache. > now you're at the same place I am with an apache 1.3 installation. > Apache 2.0 works correctly which leads me to believe that tux sends > the command to the backend in some format that 2.0 is able to decipher, > but 1.3 decides for whatever reason is invalid. Since writing the above, I found this: http://www.redhat.com/archives/tux-list/2003-May/msg00011.html I was able to get virtual hosting working so I can see the virtual hosts using both tux and apache (tux-2.2.9-1 and Apache/2.9.40) from both the Linux 9 box using Opera 7.23 and over the lan from the W2K machine running Opera 7.50P3. But now I have a different problem. I can no longer see the root host on the linux machine. (/var/www/html is no longer accessible from either my linux machine or from my windows machine via the lan.) -- http://www.xenodochy.org/ralph.html Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From diogenes at vgernet.net Wed Mar 10 02:32:03 2004 From: diogenes at vgernet.net (extrapolator) Date: Tue, 09 Mar 2004 21:32:03 -0500 Subject: Please add new mime type on web4 References: Message-ID: Hi Team, Your web server is presently sending "application/octet-stream" for favicon.ico files. This is a server misconfiguration. (See below.) Please add the following to your /etc/apache/mime.types file in order to provide support for favicons. image/x-icon ico This will correct the configuration. As an alternative, you could add: AddType image/x-icon .ico to your httpd.conf file. I have tested both of these possibilities on my Redhat Linux 9 Apache/2.0 system, and they corrected the problem. For tux users, I have added the mime type to my /etc/tux.mime.types and that fixed the problem on my linux box. (Tux on Linux 9 pre-processes files before Apache). Thanks, Ralph ---- Forwarded Usenet-message ---- From: "Heiko Becker" Newsgroups: opera.beta Subject: Re: favicon processing looks more broken in 7.50P3 than in 7.50P2 & 7.23 Date: Wed, 10 Mar 2004 01:28:56 +0100 URL: news:// On Tue, 09 Mar 2004 17:59:52 -0500, extrapolator wrote: > I seem to be having some strange results with favicons. > My Opera 7.23 on my Linux system sees the favicon at > http://www.xenodochy.org/, but Opera7.50P3 running under W2K does not. the problem is the changed handling for incorekt mime type sne dby server http://people.opera.com/tim/changelogs/w750p3.html#detail Transfers Modified behavior for unreliable content-types. This should make it less likely that you'll get plaintext garbage when you should download a file - No extension guessing will be done in for "application/octet-stream" and "text/plain" MIME types this is the reason for the favicon problem. a lot of sites (also my.opera.com) are misconficured and send text/plain instead image/x-icon - "Application/octet-stream" is still considered unreliable and using the extension and content for guessing is still performed when the resource is loaded this seems to produce a second (rare) bug. i got now on some sites a donload window with this mime typ and php sites. Heiko Becker -- http://www.xenodochy.org/ralph.html Using M2, Opera's revolutionary e-mail client http://www.opera.com/m2/ From pismute at doit.ajou.ac.kr Thu Mar 11 05:19:27 2004 From: pismute at doit.ajou.ac.kr (ChangWoo Park) Date: Thu, 11 Mar 2004 14:19:27 +0900 Subject: How To tux on Debian/Woody? Message-ID: <001001c40728$713b1440$12fea8c0@trid.com> How To tux on Debian/Woody? do redhat kernel source? I cannot found tux for debian patch or package or anything.... ------------- i do with following..and my patch.-_-;;; patch(tux3-2.4.23-A3) (do not 2.4.24 right now, then fix something..) http://people.redhat.com/~mingo/TUX-patches - 2.4.23, tux3 --------my patch base on tux3-2.4.23-A3 @@ -1884,7 +1888,11 @@ int ip_route_output_slow(struct rtable * goto make_route; } +#if !CONFIG_TUX_LOOPBACK_PHYSICAL if (fib_lookup(&fl, &res)) { +#else + if (main_table->tb_lookup(main_table, &fl, &res)) { +#endif res.fi = NULL; if (oldkey->oif) { /* Apparently, routing tables are wrong. Assume, debian kernel source http://www.backports.org/debian/dists/stable/kernel-source-2.4.24/binary-i386/ ----------------------------------my /var/log/message - Dprintk on. build with debug TUX Mar 11 13:11:41 test kernel: PRINT req f76ad000 , sock f691d5b4 Mar 11 13:11:41 test kernel: ... idx: 1 Mar 11 13:11:41 test kernel: ... sock f691d5b4, sk f7555400, sk->state: 1, sk->err: 0 Mar 11 13:11:41 test kernel: ... write_queue: 0, receive_queue: 0, error_queue: 0, keepalive: 0, status: 0 Mar 11 13:11:41 test kernel: ...tp->send_head: 00000000 Mar 11 13:11:41 test kernel: ...tp->snd_una: 382bdb9e Mar 11 13:11:41 test kernel: ...tp->snd_nxt: 382bdb9e Mar 11 13:11:41 test kernel: ...tp->packets_out: 00000000 Mar 11 13:11:41 test kernel: ... meth:{}, uri:{}, query:{}, ver:{} Mar 11 13:11:41 test kernel: ... post_data:{}(0). Mar 11 13:11:41 test kernel: ... headers: {GET /index.html HTTP/1.0^M Mar 11 13:11:41 test kernel: User-Agent: ApacheBench/2.0.40-dev^M Mar 11 13:11:41 test kernel: Host: test.tri-d.com^M Mar 11 13:11:41 test kernel: Accept: */*^M Mar 11 13:11:41 test kernel: ^M Mar 11 13:11:41 test kernel: } Mar 11 13:11:41 test kernel: PRINT req f74c4800 , sock f691ddb4 Mar 11 13:11:41 test kernel: ... idx: 1 Mar 11 13:11:41 test kernel: ... sock f691ddb4, sk f7830180, sk->state: 1, sk->err: 0 Mar 11 13:11:41 test kernel: ... write_queue: 0, receive_queue: 0, error_queue: 0, keepalive: 0, status: 0 Mar 11 13:11:41 test kernel: ...tp->send_head: 00000000 Mar 11 13:11:41 test kernel: ...tp->snd_una: 38225714 Mar 11 13:11:41 test kernel: ...tp->snd_nxt: 38225714 Mar 11 13:11:41 test kernel: ...tp->packets_out: 00000000 Mar 11 13:11:41 test kernel: ... meth:{}, uri:{}, query:{}, ver:{} Mar 11 13:11:41 test kernel: ... post_data:{}(0). Mar 11 13:11:41 test kernel: ... headers: {GET /index.html HTTP/1.0^M Mar 11 13:11:41 test kernel: User-Agent: ApacheBench/2.0.40-dev^M Mar 11 13:11:41 test kernel: Host: test.tri-d.com^M Mar 11 13:11:41 test kernel: Accept: */*^M Mar 11 13:11:41 test kernel: ^M Mar 11 13:11:41 test kernel: } --------------------------my ps aux root 463 0.0 0.0 1828 720 pts/0 S 11:59 0:01 [TUX date] root 464 0.0 0.0 0 0 ? SW 11:59 0:00 [TUX logger] root 465 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX manager] www-data 467 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 468 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 469 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 470 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 471 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 472 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 473 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 474 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 475 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 476 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 477 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 478 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 479 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 480 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 481 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 482 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 483 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 484 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 485 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 486 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 487 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 488 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 489 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 490 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 491 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 492 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 493 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 494 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 495 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 496 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 497 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 498 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] www-data 499 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] --------------------------redhat 9's ps aux root 463 0.0 0.0 1828 720 pts/0 S 11:59 0:01 [TUX date] root 464 0.0 0.0 0 0 ? SW 11:59 0:00 [TUX logger] root 465 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX manager] nobody 467 0.0 0.0 1836 720 ? S 11:59 0:00 [TUX worker 0] nobody 468 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/1] nobody 469 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/2] nobody 470 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/3] nobody 471 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/4] nobody 472 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/5] nobody 473 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/6] nobody 474 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/7] nobody 475 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/8] nobody 476 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/9] nobody 477 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/10] nobody 478 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/11] nobody 479 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/12] nobody 480 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/13] nobody 481 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/14] nobody 482 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/15] nobody 483 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/16] nobody 484 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/17] nobody 485 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/18] nobody 486 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/19] nobody 487 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/20] nobody 488 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/21] nobody 489 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/22] nobody 490 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/23] nobody 491 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/24] nobody 492 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/25] nobody 493 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/26] nobody 494 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/27] nobody 495 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/28] nobody 496 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/29] nobody 497 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/30] nobody 498 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/31] nobody 499 0.0 0.0 1836 720 ? S 11:59 0:00 [async IO 0/32] -------- thank you sorry , my english is terrible.-_-;;; -------------- next part -------------- An HTML attachment was scrubbed... URL: From diogenes at vgernet.net Tue Mar 16 18:21:50 2004 From: diogenes at vgernet.net (Ralph E. Kenyon, Jr.) Date: Tue, 16 Mar 2004 13:21:50 -0500 Subject: Need help configuring tux and apache to work together for localhost and virtual hosting In-Reply-To: References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> <1078863908.1767.1.camel@mcdlp.pbi.daviesinc.com> Message-ID: Hi all, I was able to get virtual hosting working so I can see the virtual hosts using both tux and apache (tux-2.2.9-1 and Apache/2.9.40) from both the Linux 9 box using Opera 7.23 and over the lan from the W2K machine running Opera 7.50P3. I'm using the linux system for website development, so it's not intended to serve the internet. http://www.xenodochy.org/ is expected to take me to the internet, while http://xenodochy.org is expected to take me to my local development copy. That setup is presently working as desired. But now I have a different problem. I can no longer see the default host on the linux machine. (/var/www/html is no longer accessible from either my linux machine or from my windows machine via the lan.) It looks like my configuration is still faulty. I could use any help or suggestions. I have a LAN connection W2K running IIS, with ICS enabled to, Redhat linux 9 running tux and apache. The W2K machine is my gateway to the internet, because my my satellite service is not supported under linux. The W2K machine address is 192.168.0.1. The linux machine address is 192.168.0.2. Tux is the primary server on port 80 with apache as the secondary server on port 8080 After following the instructions at http://www.redhat.com/archives/tux-list/2003-May/msg00011.html, I was able to get virtual hosting to work for my two development domains xenodochy.org and ballroomdances.org However, I can no longer see the linux local host site from either the linux machine or the W2K machine. Entering http://192.168.0.2/ on the W2K machine simply produces a blank screen after some delay. Entering http://127.0.0.1/ on the linux machine does the same. The tux log does not show a GET request corresponding to either of these events. Neither does the apache log. It looks like the request is not being seen by Tux. I can read file://localhost and get the root directory of the linux system (from the linux system), but, http://localhost/ just comes back blank. Here are some config file info: /etc/hosts contains: 192.168.0.1 xenodochy xenodochy 192.168.0.2 linux linux 127.0.0.1 localhost.localdomain localhost linux.net xenodochy.org ballroomdances.org \WINNT\system32\drivers\etc\hosts contains: 127.0.0.1 localhost 192.168.0.1 xenodochy 192.168.0.2 linux linux.net xenodochy.org ballroomdances.org Per the above URL, httpd.conf has Listen 127.0.0.1:8080 Any help would be appreciated (I'm still very new to linux). -- Ralph E. Kenyon, Jr. http://www.xenodochy.org/ralph.html 191 White Oaks Road Williamstown, MA 01267-2259 Phone: 413-458-3597 / 2693 Home pages: http://www.xenodochy.org http://www.ballroomdances.org ------------------------------------------------------- FIGHT SPAM http://www.xenodochy.org/diogenes/antispam.html (If you are thinking about collecting my email address, read the above page first!) -------------------------------------------------------- Keep our semantic environments and cyberspace clean. Always report errors discovered while surfing the web. ------------------------------------------------------ My favorite saying (from general semantics): It's not that seeing is believing, believing is seeing, and we're much better at believing than we are at seeing. Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From mcd at daviesinc.com Tue Mar 16 18:45:33 2004 From: mcd at daviesinc.com (Chris Davies) Date: Tue, 16 Mar 2004 13:45:33 -0500 Subject: Need help configuring tux and apache to work together for localhost and virtual hosting In-Reply-To: References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> <1078863908.1767.1.camel@mcdlp.pbi.daviesinc.com> Message-ID: <1079462733.2390.1779.camel@mcdlp.pbi.daviesinc.com> On Tue, 2004-03-16 at 13:21, Ralph E. Kenyon, Jr. wrote: > But now I have a different problem. I can no longer see the default host > on the linux machine. (/var/www/html is no longer accessible from either > my linux machine or from my windows machine via the lan.) what virtual host is set to answer for /var/www/html > However, I can no longer see the linux local host site from either the > linux machine or the W2K machine. > Entering http://192.168.0.2/ on the W2K machine simply produces a blank > screen after some delay. do you have ServerName 192.168.0.2 defined somewhere? > Entering http://127.0.0.1/ on the linux machine does the same. do you have ServerName 127.0.0.1 defined somewhere? > The tux log does not show a GET request corresponding to either of these > events. Neither does the apache log. > It looks like the request is not being seen by Tux. telnet 192.168.0.2 80 GET / HTTP/1.0 Host: 127.0.0.1 (then hit enter twice) > I can read file://localhost and get the root directory of the linux system > (from the linux system), but, > http://localhost/ just comes back blank. is it defined in apache as a valid servername? i.e. ServerName localhost From diogenes at vgernet.net Tue Mar 16 22:47:49 2004 From: diogenes at vgernet.net (Ralph E. Kenyon, Jr.) Date: Tue, 16 Mar 2004 17:47:49 -0500 Subject: Need help configuring tux and apache to work together for localhost and virtual hosting In-Reply-To: <1079462733.2390.1779.camel@mcdlp.pbi.daviesinc.com> References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> <1078863908.1767.1.camel@mcdlp.pbi.daviesinc.com> <1079462733.2390.1779.camel@mcdlp.pbi.daviesinc.com> Message-ID: On Tue, 16 Mar 2004 13:45:33 -0500, Chris Davies wrote: > On Tue, 2004-03-16 at 13:21, Ralph E. Kenyon, Jr. wrote: >> But now I have a different problem. I can no longer see the default host >> on the linux machine. (/var/www/html is no longer accessible from >> either >> my linux machine or from my windows machine via the lan.) > what virtual host is set to answer for /var/www/html > linux.net, but it does not answer any requests >> However, I can no longer see the linux local host site from either the >> linux machine or the W2K machine. >> Entering http://192.168.0.2/ on the W2K machine simply produces a blank >> screen after some delay. > do you have ServerName 192.168.0.2 defined somewhere? I don't think so. I didn't have ServerName in httpd.conf for this address. Tux is supposed to listen to everything on port 80. I tried adding ServerName 192.168.0.2 to httpd.conf, but it did not make any difference. SeverName linux.net is defined in httpd.conf I tried changing it to 192.168.0.1 as well as to 127.0.0.1, but neither worked. >> Entering http://127.0.0.1/ on the linux machine does the same. > do you have ServerName 127.0.0.1 defined somewhere? I tried changing / adding ServerName 127.0.0.1 to httpd.conf. It didn't make any difference. >> The tux log does not show a GET request corresponding to either of these >> events. Neither does the apache log. >> It looks like the request is not being seen by Tux. > > telnet 192.168.0.2 80 > GET / HTTP/1.0 > Host: 127.0.0.1 > > (then hit enter twice) The "80" part doesn't work. I can start telnet and then open 192.168.0.2. GET / HTTP/1.0 returns a web page with a directory of the linux machine "/" before the Host: line can be typed. >> I can read file://localhost and get the root directory of the linux >> system >> (from the linux system), but, >> http://localhost/ just comes back blank. > is it defined in apache as a valid servername? > > i.e. ServerName localhost hosts.conf has 127.0.0.1 localhost.localdomain localhost linux.net xenodochy.org ballroomdances.org -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From diogenes at vgernet.net Wed Mar 17 03:39:00 2004 From: diogenes at vgernet.net (Ralph E. Kenyon, Jr.) Date: Tue, 16 Mar 2004 22:39:00 -0500 Subject: Need help configuring tux and apache to work together for localhost and virtual hosting In-Reply-To: References: <141110000.1078430133@georgev.innovate.net> <1078761219.25205.26.camel@mcdlp.pbi.daviesinc.com> <1078763731.25205.29.camel@mcdlp.pbi.daviesinc.com> <1078863908.1767.1.camel@mcdlp.pbi.daviesinc.com> <1079462733.2390.1779.camel@mcdlp.pbi.daviesinc.com> Message-ID: Based on questions and some trial and error, I think I have the problem solved, but don't ask me how. :) My system crashed completely - just locked up everywhere with some repeated disk access like an infinite loop. When it came back up after I pressed the reset button, localhost and all the IP addresses worked fine. I had been experimenting with changes based on the questions, so I don't remember exactly what may have been changed. I have confirmed that the order of the addresses in the host file does not seem to matter. It also doesn't seem to matter whether the httpd.conf file has "ServerName Linux.net" or "ServerName 127.0.0.1", as I have tested both of these after the restart (restarting tux and httpd for each test). Gremlins! On Tue, 16 Mar 2004 17:47:49 -0500, Ralph E. Kenyon, Jr. wrote: > On Tue, 16 Mar 2004 13:45:33 -0500, Chris Davies > wrote: > >> On Tue, 2004-03-16 at 13:21, Ralph E. Kenyon, Jr. wrote: >>> But now I have a different problem. I can no longer see the default >>> host >>> on the linux machine. (/var/www/html is no longer accessible from >>> either >>> my linux machine or from my windows machine via the lan.) >> what virtual host is set to answer for /var/www/html >> > > linux.net, but it does not answer any requests > >>> However, I can no longer see the linux local host site from either the >>> linux machine or the W2K machine. >>> Entering http://192.168.0.2/ on the W2K machine simply produces a blank >>> screen after some delay. >> do you have ServerName 192.168.0.2 defined somewhere? > > I don't think so. I didn't have ServerName in httpd.conf for this > address. > Tux is supposed to listen to everything on port 80. > > I tried adding ServerName 192.168.0.2 to httpd.conf, but it did not make > any difference. > > SeverName linux.net is defined in httpd.conf > I tried changing it to 192.168.0.1 as well as to 127.0.0.1, but neither > worked. > >>> Entering http://127.0.0.1/ on the linux machine does the same. >> do you have ServerName 127.0.0.1 defined somewhere? > > I tried changing / adding ServerName 127.0.0.1 to httpd.conf. It didn't > make any difference. > > >>> The tux log does not show a GET request corresponding to either of >>> these >>> events. Neither does the apache log. >>> It looks like the request is not being seen by Tux. >> >> telnet 192.168.0.2 80 >> GET / HTTP/1.0 >> Host: 127.0.0.1 >> >> (then hit enter twice) > > > The "80" part doesn't work. > I can start telnet and then open 192.168.0.2. > GET / HTTP/1.0 returns a web page with a directory of the linux machine > "/" before the Host: line can be typed. > > > > > > >>> I can read file://localhost and get the root directory of the linux >>> system >>> (from the linux system), but, >>> http://localhost/ just comes back blank. >> is it defined in apache as a valid servername? >> >> i.e. ServerName localhost > > hosts.conf has > > 127.0.0.1 localhost.localdomain localhost linux.net xenodochy.org > ballroomdances.org > > -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ From viktors at rotanovs.com Wed Mar 17 14:27:01 2004 From: viktors at rotanovs.com (Viktors Rotanovs) Date: Wed, 17 Mar 2004 16:27:01 +0200 Subject: oops in 2.6.4rc2+preempt Message-ID: <200403171627.01829.viktors@rotanovs.com> Hi, I got the following on 2.6.4rc2+preempt with TUX patch made for 2.6.3 after load increased on one of our servers. I know that this combination is highly experemental and most likely it's my fault, I'm posting this just because it may be interesting for someone. Unable to handle kernel NULL pointer dereference at virtual address 00000115 printing eip: c0241f41 *pde = 00000000 Oops: 0002 [#1] PREEMPT CPU: 0 EIP: 0060:[] Not tainted EFLAGS: 00010293 EIP is at do_tcp_sendpages+0x191/0xac0 eax: 00000000 ebx: e5451c00 ecx: 00000111 edx: 00000111 esi: 00000000 edi: dca774c0 ebp: ddca1080 esp: ec125e70 ds: 007b es: 007b ss: 0068 Process tux (pid: 1503, threadinfo=ec124000 task=ec9cb410) Stack: ec125ea8 c010a3ef 00000000 00000014 dd791ef4 ea581d2c ea581c00 ddca10d4 00000111 00000076 00000111 00000000 000005b4 ddca124c 00001076 ec125ed0 00000000 00001076 ddca1080 0000c040 00000111 c02428e2 00000111 0000c040 Call Trace: [] handle_IRQ_event+0x2f/0x60 [] tcp_sendpage+0x72/0x80 [] do_send_abuf+0x54/0x160 [] tux_schedule_atom+0xc/0x10 [] process_requests+0xaa/0xd0 [] event_loop+0x129/0x190 [] __sys_tux+0x21d/0xb20 [] path_release+0xa/0x30 [] sys_chdir+0x5d/0x70 [] syscall_call+0x7/0xb Code: ff 42 04 8b 7c 24 28 8b 83 a4 00 00 00 8d 04 f0 8d 50 10 89 <5>TUX: thread 0 stopping ... Best Wishes, Viktors From yumin_101 at hotmail.com Thu Mar 18 01:28:06 2004 From: yumin_101 at hotmail.com (=?gb2312?B?w/Qg0+A=?=) Date: Thu, 18 Mar 2004 09:28:06 +0800 Subject: Specweb99:how to set parameters in rc file? Message-ID: Hi every one. I want use tux as a SpecWeb99 testing web server. I got the api source from www.spec.org. And I compiled it correctly. My question is, how to set DYN_CAD_SCRIPT DYN_POST_SCRIPT and DYNAMIC_ROOT in rc file? Thanks in advance. Best Wishes! _________________________________________________________________ ???? MSN Explorer: http://explorer.msn.com/lccn/ From pismute at doit.ajou.ac.kr Thu Mar 18 03:36:51 2004 From: pismute at doit.ajou.ac.kr (ChangWoo Park) Date: Thu, 18 Mar 2004 12:36:51 +0900 Subject: What's Problem? Request Time out form ab Message-ID: <008401c40c9a$444a3f70$12fea8c0@trid.com> i have two file, one is text/html(1.4k) another binary(35k) next commands success ab -n 1 -c 1 http://tttt/index.html wget http://tttt/index.html wget http://tttt/35k next commands fail ab -n 1 -c 1 http://tttt/35k What's Problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: From yumin_101 at hotmail.com Mon Mar 22 01:42:23 2004 From: yumin_101 at hotmail.com (=?gb2312?B?w/Qg0+A=?=) Date: Mon, 22 Mar 2004 09:42:23 +0800 Subject: Specweb99:how to set parameters in rc file? again Message-ID: I have put the following question several days ago, no one answer. But I think someone sure can solve this question. Give me a hand. Help!!! Hi every one. I want use tux as a SpecWeb99 testing web server. I got the api source from www.spec.org. And I compiled it correctly. My question is, how to set DYN_CAD_SCRIPT DYN_POST_SCRIPT and DYNAMIC_ROOT in rc file? Thanks in advance. Best Wishes! _________________________________________________________________ ?????????????? MSN Messenger: http://messenger.msn.com/cn From bdelgado at ureach.com Mon Mar 22 18:17:09 2004 From: bdelgado at ureach.com (Brian Delgado) Date: Mon, 22 Mar 2004 13:17:09 -0500 Subject: Specweb99:how to set parameters in rc file? again Message-ID: <200403221817.NAA23341@www22.ureach.com> Hi Yumin. I found my rc file from when I was running SW99. It has the following: DYNAMIC_ROOT=http://[ip address]/f.tux <-- f.tux was the tux module that I compiled I commented out the other dynamic options (CAD / POST) as they inherit the settings from DYNAMIC_ROOT. URL_ROOT=http://[ip address] DYNAMIC_CGI_SCRIPT=http://[ip address]/x.cgi Let me know how it goes. I had some trouble getting dynamic CGI working right. If you get it going, that would be of interest to me. Regards, Brian ---- On Mon, 22 Mar 2004, =?gb2312?B?w/Qg0+A=?= (yumin_101 at hotmail.com) wrote: > I have put the following question several days ago, no one answer. But I > think someone sure > can solve this question. Give me a hand. Help!!! > Hi every one. > I want use tux as a SpecWeb99 testing web server. I got the api source from > www.spec.org. > And I compiled it correctly. My question is, > how to set DYN_CAD_SCRIPT DYN_POST_SCRIPT and DYNAMIC_ROOT in rc file? > Thanks in advance. Best Wishes! > > _________________________________________________________________ > ???????????????????????????? MSN Messenger: http://messenger.msn.com/cn > > > _______________________________________________ > tux-list mailing list > tux-list at redhat.com > https://www.redhat.com/mailman/listinfo/tux-list > > ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag