|
From: Jamie C. <jca...@we...> - 2006-03-23 02:15:53
|
Hi Ravi, What did it end up putting in the httpd.conf file? - Jamie On 22/Mar/2006 19:28 Ravi Gehlot wrote .. > Jamie, > > Believe it or not it did not work. I made sure that framing was > enabled rather than proxying. I made sure to add http://192.168.1.6/ as > the > web framing and everything but it does work. The only way I could get > http://dev.homesite.com/ to point at http://192.168.1.6/ was when I added > a > A Name. and even after that anyone outside my local network could not see > http://dev.homesite.com/ > > Ravi. > > > -----Original Message----- > From: Jamie Cameron [mailto:jca...@we...] > Sent: Wednesday, March 22, 2006 1:04 AM > To: ra...@ra... > Subject: RE: [webmin-l] Proxying IP > > Ok, that explains it .. you have the server configured to use frame > forwarding > rather that proxying. You need to adjust the module configuration that > I > mentioned, > then delete that virtual server and re-create it. > > - Jamie > > On 21/Mar/2006 23:54 Ravi Gehlot wrote .. > > There you go. This is what: > > > > > > <VirtualHost 24.227.56.178:80> > > SuexecUserGroup "#555" "#517" > > ServerName dev.sunshinetechsolutions.com > > ServerAlias jm > > DocumentRoot /home/dev/public_html > > ErrorLog /home/dev/logs/error_log > > CustomLog /home/dev/logs/access_log common > > ScriptAlias /cgi-bin/ /home/dev/cgi-bin/ > > <Directory /home/dev/public_html> > > Options Indexes IncludesNOEXEC FollowSymLinks > > allow from all > > </Directory> > > AliasMatch ^/.*$ /home/dev/public_html/framefwd.html > > </VirtualHost> > > > > -----Original Message----- > > From: web...@li... > > [mailto:web...@li...] On Behalf Of > > jca...@we... > > Sent: Wednesday, March 22, 2006 12:41 AM > > To: web...@li... > > Subject: RE: [webmin-l] Proxying IP > > > > Hi Ravi, > > It sounds like the external server is re-directing to the internal IP, > > instead of proxying to it. > > If you look in the Apache config file (usually httpd.conf) for the > domain's > > <Virtualhost> entry, what does it contain exactly? > > > > - Jamie > > > > -----Original Message----- > > > > From: "Ravi Gehlot" <mai...@ra...> > > Subj: RE: [webmin-l] Proxying IP > > Date: Tue 21 Mar 2006 8:44 pm > > Size: 2K > > To: <web...@li...> > > > > Jaime, > > > > That's what I have and it works fine within my local network. The > > problem is when an outsider tries to surf the site. It doesn't work > because > > it looks like it tries to find the private ip and can't. > > > > Ravi. > > -----Original Message----- > > From: web...@li... > > [mailto:web...@li...] On Behalf Of Jamie > > Cameron > > Sent: Tuesday, March 21, 2006 8:14 PM > > To: web...@li... > > Subject: Re: [webmin-l] Proxying IP > > > > On 21/Mar/2006 17:26 Ravi Gehlot wrote .. > > > Jamie, > > > > > > I don't you remember when I asked you how to point out a subdomain > > > in one machine with a public ip to another machine with a private ip > > and > > > you > > > said just go to virtualmin and add the subdomain plus its proxying? > Well > > > done, when I hit http://dev.homesite.com/ it goes to http://192.168.1.6/ > > > on > > > my local network but trying to access from the outside of my network > > it > > > chocks and gives me page cannot be displayed. Why is that? > > > > Hi Ravi, > > There was something I forgot to mention - before you create that virtual > > server, > > you need to go to the Module Config page and set the 'Allow creation > of > > forwarding-only websites?' option to 'Yes using frame forwarding'. > > > > - Jamie |