|
From: Ravi G. <mai...@ra...> - 2006-03-24 00:43:27
|
No luck Jamie. It opens if I put a forward slash at the end of it. (I can
live with it)
Here is the output for httpd.conf:
<VirtualHost 192.168.1.6:80>
ServerName 192.168.1.6
ServerAlias 192.168.1.6
DocumentRoot /home/sunshinetechsolutions/public_html
UseCanonicalName off
<Directory /home/sunshinetechsolutions/public_html>
Options Includes Indexes ExecCGI FollowSymLinks
allow from all
</Directory>
</VirtualHost>
Ravi.
-----Original Message-----
From: web...@li...
[mailto:web...@li...] On Behalf Of Jamie
Cameron
Sent: Thursday, March 23, 2006 6:33 PM
To: web...@li...
Subject: RE: [webmin-l] Proxying IP
Interestingly, it works if you add a / to the end.
Try adding the following the the <VirtualHost> section for this virtual
server :
UseCanonicalName off
and then restart Apache.
- Jamie
On 23/Mar/2006 18:15 Ravi Gehlot wrote ..
> http://dev.sunshinetechsolutions.com/firstriverside_com
>
> Ravi.
>
>
> -----Original Message-----
> From: Jamie Cameron [mailto:jca...@we...]
> Sent: Thursday, March 23, 2006 6:19 PM
> To: ra...@ra...
> Subject: RE: [webmin-l] Proxying IP
>
> What is the actual real URL? I would like to try connecting to this myself
> ..
>
> - Jamie
>
> On 23/Mar/2006 17:54 Ravi Gehlot wrote ..
> > Jamie,
> >
> > In the status bar on Internet Explorer it shows: "Opening Page
> > http://dev.homesite.com/firstriverside_com" and chocks trying to open
> it
> > and
> > then comes the error: The page cannot be found.
> >
> > Ravi.
> >
> >
> > -----Original Message-----
> > From: Jamie Cameron [mailto:jca...@we...]
> > Sent: Thursday, March 23, 2006 5:05 PM
> > To: ra...@ra...
> > Subject: RE: [webmin-l] Proxying IP
> >
> > Hi,
> > When you are getting the error about the page not being displayed, is
> it
> > trying
> > and failing to connect to the internal IP address?
> >
> > - Jamie
> >
> > On 23/Mar/2006 07:02 Ravi Gehlot wrote ..
> > > 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=lnk&kid=110944&bid=241720&dat=121642
-
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
|