We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
You can specify the parameter -w 80 into your start script. As port 80 is the default to the browser´s You won´t see the port number anymore. Rodrigo We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this? _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi... I am using MSIE 5.0 from Win2kPro... What I dont understand about all this is how Zserver will sit alongside the webserver in tandem. Because if the webserver runs on :80, then you cannot start zope on :80, but rather :8080. So how do you simply access zope.somewhere.com/index_html when the zserver is on 8080....? I know you can redirect, but this is different. Whats more, because I hit MSIE server on 80, then pass it to zope, Zope does not get any valid REQUEST['HTTP_REFERER'] information..... What am I missing? {Paz Rodrigo Leme de Mello wrote:
You can specify the parameter -w 80 into your start script. As port 80 is the default to the browser´s You won´t see the port number anymore.
Rodrigo
We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Hi Paul, what the hell are you doing? :-) Obviously you cant have more then one server running on the same IP and Port. To suppres the port-parameter in the URL you have to use the standard port 80 as mentioned already. So either remove one of the servers you are running to get zserver serving on port 80 (with -w 80 ) Or set up a proxy solution to cover both servers. Apache can do this for example. mod_proxy and mod_rewrite. There are docs how to do it on apache.org and zope.org. If you have more then one IP-adress attached to your host, you can use: -w otherip:80 for your Zope and configure your other http-server you use for the second ip. HTH Tino Wildenhain --On Freitag, 23. Februar 2001 11:12 +0100 Paul Zwarts <paul.zwarts@oratrix.com> wrote:
Hi...
I am using MSIE 5.0 from Win2kPro... What I dont understand about all this is how Zserver will sit alongside the webserver in tandem. Because if the webserver runs on :80, then you cannot start zope on :80, but rather :8080. So how do you simply access zope.somewhere.com/index_html when the zserver is on 8080....? I know you can redirect, but this is different. Whats more, because I hit MSIE server on 80, then pass it to zope, Zope does not get any valid REQUEST['HTTP_REFERER'] information.....
What am I missing?
{Paz
Rodrigo Leme de Mello wrote:
You can specify the parameter -w 80 into your start script. As port 80 is the default to the browser´s You won´t see the port number anymore.
Rodrigo
We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Thank you for that... I think the magic word I missed was Proxy... Other missing bit, is obviously i am not using Apache... can it be done on MSIE? Im going to dive into it now. I think my error in understanding was that Zserver HAD to work in tandem with another.... whereas it does not? But does Zserver catch all of the browser/server variables by itself? This was what I thought the parent server was for. Perhaps the docs could change to have dotted lines between Zserver and Parent server (ie MSIE, Apache) to denote an optional connection? Thanks again kindly, Paz Tino Wildenhain wrote:
Hi Paul,
what the hell are you doing? :-) Obviously you cant have more then one server running on the same IP and Port. To suppres the port-parameter in the URL you have to use the standard port 80 as mentioned already.
So either remove one of the servers you are running to get zserver serving on port 80 (with -w 80 )
Or set up a proxy solution to cover both servers. Apache can do this for example. mod_proxy and mod_rewrite. There are docs how to do it on apache.org and zope.org.
If you have more then one IP-adress attached to your host, you can use:
-w otherip:80 for your Zope and configure your other http-server you use for the second ip.
HTH Tino Wildenhain
--On Freitag, 23. Februar 2001 11:12 +0100 Paul Zwarts <paul.zwarts@oratrix.com> wrote:
Hi...
I am using MSIE 5.0 from Win2kPro... What I dont understand about all this is how Zserver will sit alongside the webserver in tandem. Because if the webserver runs on :80, then you cannot start zope on :80, but rather :8080. So how do you simply access zope.somewhere.com/index_html when the zserver is on 8080....? I know you can redirect, but this is different. Whats more, because I hit MSIE server on 80, then pass it to zope, Zope does not get any valid REQUEST['HTTP_REFERER'] information.....
What am I missing?
{Paz
Rodrigo Leme de Mello wrote:
You can specify the parameter -w 80 into your start script. As port 80 is the default to the browser´s You won´t see the port number anymore.
Rodrigo
We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Paul, When you say MSIE do you really mean IIS, MSIE is Internet Explorer which as you probably know is a browser. IIS is Microsoft's attempt at a web server. Phil ----- Original Message ----- From: "Paul Zwarts" <paul.zwarts@oratrix.com> To: "Tino Wildenhain" <tino@wildenhain.de>; <zope@zope.org> Sent: Friday, February 23, 2001 11:14 AM Subject: Re: [Zope] Hiding Port Number in Zope
Thank you for that... I think the magic word I missed was Proxy...
Other missing bit, is obviously i am not using Apache... can it be done on MSIE? Im going to dive into it now. I think my error in understanding was that Zserver HAD to work in tandem with another.... whereas it does not? But does Zserver catch all of the browser/server variables by itself? This was what I thought the parent server was for. Perhaps the docs could change to have dotted lines between Zserver and Parent server (ie MSIE, Apache) to denote an optional connection?
Thanks again kindly, Paz
Tino Wildenhain wrote:
Hi Paul,
what the hell are you doing? :-) Obviously you cant have more then one server running on the same IP and Port. To suppres the port-parameter in the URL you have to use the standard port 80 as mentioned already.
So either remove one of the servers you are running to get zserver serving on port 80 (with -w 80 )
Or set up a proxy solution to cover both servers. Apache can do this for example. mod_proxy and mod_rewrite. There are docs how to do it on apache.org and zope.org.
If you have more then one IP-adress attached to your host, you can use:
-w otherip:80 for your Zope and configure your other http-server you use for the second ip.
HTH Tino Wildenhain
--On Freitag, 23. Februar 2001 11:12 +0100 Paul Zwarts <paul.zwarts@oratrix.com> wrote:
Hi...
I am using MSIE 5.0 from Win2kPro... What I dont understand about all this is how Zserver will sit alongside the webserver in tandem. Because if the webserver runs on :80, then you cannot start zope on :80, but rather :8080. So how do you simply access zope.somewhere.com/index_html when the zserver is on 8080....? I know you can redirect, but this is different. Whats more, because I hit MSIE server on 80, then pass it to zope, Zope does not get any valid REQUEST['HTTP_REFERER'] information.....
What am I missing?
{Paz
Rodrigo Leme de Mello wrote:
You can specify the parameter -w 80 into your start script. As port 80 is the default to the browser´s You won´t see the port number anymore.
Rodrigo
We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
One Option is to use Apache to rewrite URLs to the Zope Server we are using the ProxyPass method and VIrtualHostMonster within Zope e.g. ProxyPass /website/ http://www.yourhost.com.at:8080/website/VirtualHostBase/http/www.yourhost.co... redirects all requests to http://www.yourhost.com/website to same address but port 8080, the VirtualHostBase name in the middle of the URL tells VirtualHostMonster to rewrite the outgoing Base adress to www.yourhost.com:80 Harald Scheirich At 8:31 PM -0400 2/22/01, Eric Vautour wrote:
We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Isn't there a javascript that allows you to replace the location bar address with any text (probably netscape only). Also, If on your server on port 80 you create a page with one frame and have the page within that frame make a call to the Zope server it should still display the original page location of the frame page that the user first connected to. Thomas Eric Vautour wrote:
We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------------------------------------------- Use The Help Desk at http://linux.library.appstate.edu/help ----------------------------------------------------------------- Rock and Rule Zope Rocks -- http://www.zope.org Python Rules -- http://www.python.org ----------------------------------------------------------------- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III University Library Voice: 828 262 6587 FAX: 828 262 2797 Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit operating system that was originally coded for a 4-bit microprocessor. - Chris Dunphy Boot Magazine
Yes, this is a nice trick (the frameset method) i sometimes use as well to hide sub-urls from the domain, in the url bar of the browser... but a colleague suggested that this will block web-bots from searching your site.... is this true? Paz TMGB wrote:
Isn't there a javascript that allows you to replace the location bar address with any text (probably netscape only). Also, If on your server on port 80 you create a page with one frame and have the page within that frame make a call to the Zope server it should still display the original page location of the frame page that the user first connected to.
Thomas
Eric Vautour wrote:
We are running Zope under an Apache server and we were wondering if there was anyway to remove the port number from the web address. For example, our web address looks as following: http://www.something.com:8080/its and we would like it to look like this http://www.something.com.its is there any way to do this?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- ----------------------------------------------------------------- Use The Help Desk at http://linux.library.appstate.edu/help ----------------------------------------------------------------- Rock and Rule Zope Rocks -- http://www.zope.org Python Rules -- http://www.python.org ----------------------------------------------------------------- Thomas McMillan Grant Bennett Appalachian State University Computer Consultant III University Library Voice: 828 262 6587 FAX: 828 262 2797
Windows 95 is a 32-bit extension to a 16-bit patch for an 8-bit operating system that was originally coded for a 4-bit microprocessor. - Chris Dunphy Boot Magazine
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (7)
-
Eric Vautour -
Harald Scheirich -
Paul Zwarts -
Phil Harris -
rleme@idg.com.br -
Tino Wildenhain -
TMGB