|
From: Ravi G. <mai...@ra...> - 2006-03-23 13:02:37
|
Jamie, This worked. Whenever I type http://dev.homesite.com/mywebsite_com it goes to http://192.168.1.6 without a single problem and opens up the file index.cfm located inside of public_html on /home/homesite. Now, the problem is that inside of /home/homesite/public_html I have subdirectories for every website I host. An example goes: /home/homesite/public_html/myfirstsite_1 /home/homesite/public_html/myfirstsite_2 /home/homesite/public_html/myfirstsite_3 Whenever I type http://dev.homesite.com/myfirstsite_1 on my local network it finds index.cfm and opens up the page. However, outside of my network it can't display the page. I think this has to do with how proxying handles requests? Or just configuration on httpd.conf Ravi. -----Original Message----- From: web...@li... [mailto:web...@li...] On Behalf Of jca...@we... Sent: Thursday, March 23, 2006 12:59 AM To: web...@li... Subject: RE: [webmin-l] Proxying IP Hi Ravi, Try editing that file manually, and replacing the AliasMatch line with : ProxyPass / http://x.x.x.x/ ProxyPassReverse / http://x.x.x.x/ where x.x.x.x is the internal IP. Then re-start Apache. - Jamie -----Original Message----- From: "Ravi Gehlot" <mai...@ra...> Subj: RE: [webmin-l] Proxying IP Date: Wed 22 Mar 2006 5:55 pm Size: 2K To: <web...@li...> cc: "'Jamie Cameron'" <jca...@we...> <VirtualHost 24.227.56.178:80> SuexecUserGroup "#555" "#517" ServerName dev.sunshinetechsolutions.com ServerAlias www.dev.sunshinetechsolutions.com 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 Jamie Cameron Sent: Wednesday, March 22, 2006 8:30 PM To: web...@li... Subject: RE: [webmin-l] Proxying IP 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... --- message truncated --- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd- Forwarded by the Webmin mailing list at web...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list |