Re: [OT] Apache : Redirect web requests - Keep the same host in the URL
Olivier, Marking off-topic because this is about Apache httpd and not Apache Tomcat, but it's fine. See below. On 3/26/22 07:48, olivier giorgi wrote: The goal is that users willcontinue to connect to "https:/server1"but will actually browse to "https://server2;. I have successfullyredirected from "server1" to "server2" via apache/http, but the url seen in the browserchanges. In the following configuration, how can I make this redirectioncompletely transparent to end users? ServerNameserver2 ServerAliasserver2 ErrorLog"C:\Apache24\logs/Error.log" TransferLog"C:\Apache24\logs/access.log" LogLevelwarn SSLEngineon SSLProxyEngineOn SSLCertificateFile"E:\certificat\proxy\server2.cer" SSLCertificateKeyFile"E:\certificat\proxy\server2.dsone.3ds.com_self.key" ProxyPass/3dpassport "https://server1/3dpassport; ProxyPassReverse /3dpassport "https://server1/3dpassport; You're on the right track, here, but it's not clear which server's configuration file is being shown above. If you want users to type "server1" but the information really comes from "server2", then you want to configure server1 like this: ServerName server1 ServerAlias server2 ... ProxyPass/3dpassport https://server2/3dpassport ProxyPassReverse /3dpassport https://server2/3dpassport This will configure server1 as a reverse-proxy for server2, but only for the /3dpassport URL-space. If you want to proxy *everything*, you can just: ProxyPass/ https://server2/ ProxyPassReverse / https://server2/ Hope that helps, -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
AW: Apache : Redirect web requests - Keep the same host in the URL
> -Ursprüngliche Nachricht- > Von: olivier giorgi > Gesendet: Samstag, 26. März 2022 12:49 > An: Tomcat Users List > Betreff: Apache : Redirect web requests - Keep the same host in the URL > > > Hello all, > > The goal is that users willcontinue to connect to "https:/server1"but will > actually browse to "https://server2;. > > I have successfullyredirected from "server1" to "server2" via apache/http, > but the url seen in the browserchanges. > In the following configuration, how can I make this redirectioncompletely > transparent to end users? > ServerNameserver2 > > ServerAliasserver2 > > ErrorLog"C:\Apache24\logs/Error.log" > > TransferLog"C:\Apache24\logs/access.log" > > LogLevelwarn > > SSLEngineon > > SSLProxyEngineOn > > SSLCertificateFile"E:\certificat\proxy\server2.cer" > > SSLCertificateKeyFile"E:\certificat\proxy\server2.dsone.3ds.com_self.key" > > ProxyPass/3dpassport "https://server1/3dpassport; > > ProxyPassReverse /3dpassport "https://server1/3dpassport; > > > > > > > > Good week-end ! Hello, I think "redirect" is the wrong way or method. Redirect will always tell the browser to go to another URL. If you want to have a transparent behaviour, you need to just proxy the request to the target server. E.g. on Server1 runs Apache webserver and the webserver will proxy the incoming request to server2 in the background. SSL must be handled by server1 because apache must be able to read the request. Depending on the environment / security the target server can use http or https. Also take care of websockets, if they are used. They need additional rules. Maybe it's more a question about Apache and less about Tomcat. Greetings, Thomas
Apache : Redirect web requests - Keep the same host in the URL
Hello all, The goal is that users willcontinue to connect to "https:/server1"but will actually browse to "https://server2;. I have successfullyredirected from "server1" to "server2" via apache/http, but the url seen in the browserchanges. In the following configuration, how can I make this redirectioncompletely transparent to end users? ServerNameserver2 ServerAliasserver2 ErrorLog"C:\Apache24\logs/Error.log" TransferLog"C:\Apache24\logs/access.log" LogLevelwarn SSLEngineon SSLProxyEngineOn SSLCertificateFile"E:\certificat\proxy\server2.cer" SSLCertificateKeyFile"E:\certificat\proxy\server2.dsone.3ds.com_self.key" ProxyPass/3dpassport "https://server1/3dpassport; ProxyPassReverse /3dpassport "https://server1/3dpassport; Good week-end !
Re: Apache redirect
You should definitely go to an Apache https help list, or perhaps here : http://modwsgi.readthedocs.io/en/develop/finding-help.html I do not see any Rewrite or redirects in what you show below, although maybe the AliasMatch below could be considered as a form of internal redirect (but not one going back to the browser). Nor do I see below anything which could explain a difference of behaviour depending on where the client is coming from. If you are adamant that there is no front-end proxy, and if what you show below is all there is, then I must suspect that it is something at the level of mod_wsgi which treats insiders and outsiders differently. Maybe your python wsgi scripts expect some form of authentication from outsiders, and send them back to the homepage if they don't pass muster ? (and maybe the "WSGIPassAuthorization" below has something to do with that). (I'm just guessing heavily here, I don't know mod_wsgi at all). But again, this is the Tomcat Users list, and we don't want to be using their bandwidth for dealing with issues for which the Apache httpd guys and the mod_wsgi guys are certainly more up to par. The comments above were made here just in a spirit of oecumenical and brotherly love for our non-Tomcat Apache colleagues. On 09.05.2016 19:01, Temp Temp wrote: Thanks Andre. I am not aware of any proxy in our network. I am pretty sure the request is directly coming to Apache. I am trying to understand the httpd.conf file. There are several RewriteRule's and redirects. Here is the virtual host configuration. ServerName www.xxx.com WSGIProcessGroup web2py WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py WSGIPassAuthorization On AllowOverride None Order Allow,Deny Deny from all Allow from all AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) \ /opt/web-apps/web2py/applications/$1/static/$2 Options -Indexes Order Allow,Deny Allow from all Deny from all Deny from all CustomLog /var/log/httpd/access_log common ErrorLog /var/log/httpd/error_log On Mon, May 9, 2016 at 11:57 AM, André Warnier (tomcat)wrote: On 09.05.2016 18:47, Temp Temp wrote: Thanks Andre. Will do Your are welcome. Based on the minimal information you provided below, I will venture a guess however : It may be that when users access your application from the Internet, this goes through a front-end proxy server before reaching your webserver. And that it is this proxy which does not forward the calls correctly. So it is probably the proxy server people you would need to talk to first. On Mon, May 9, 2016 at 11:37 AM, André Warnier (tomcat) wrote: On 09.05.2016 17:11, Temp Temp wrote: Hi All Need help to trace how the redirect is happening We have some static pages and dynamic pages (Using Python) and we are using apache 2.2.15 (Unix Environment). Then you are asking for help on the wrong list. This one is for Apache Tomcat, which is the Java Servlet Engine. The list you want can probably be found here : http://httpd.apache.org/lists.html We have a URL to edit product details. When this URL is used in the intranet it is displaying the product details When the same URL is used on Internet, It is redirecting to home page. Not sure where this redirect is happening. But with a description like the above, I am not sure that anyone would be able to help you. You would have first to provide some description of your network for instance. When Internet users want to access your website, which server/proxy are they connecting with ? (I mean this as a question to answer on the http list, so that they can help you further). And you might also want to provide a copy of your Apache httpd configuration (after removing any sensitive information). And be a bit more precise than just "Unix environment". - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache redirect
Thanks Andre. I am not aware of any proxy in our network. I am pretty sure the request is directly coming to Apache. I am trying to understand the httpd.conf file. There are several RewriteRule's and redirects. Here is the virtual host configuration. ServerName www.xxx.com WSGIProcessGroup web2py WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py WSGIPassAuthorization On AllowOverride None Order Allow,Deny Deny from all Allow from all AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) \ /opt/web-apps/web2py/applications/$1/static/$2 Options -Indexes Order Allow,Deny Allow from all Deny from all Deny from all CustomLog /var/log/httpd/access_log common ErrorLog /var/log/httpd/error_log On Mon, May 9, 2016 at 11:57 AM, André Warnier (tomcat)wrote: > On 09.05.2016 18:47, Temp Temp wrote: > >> Thanks Andre. Will do >> > > Your are welcome. > Based on the minimal information you provided below, I will venture a > guess however : > It may be that when users access your application from the Internet, this > goes through a front-end proxy server before reaching your webserver. And > that it is this proxy which does not forward the calls correctly. So it is > probably the proxy server people you would need to talk to first. > > > > >> On Mon, May 9, 2016 at 11:37 AM, André Warnier (tomcat) >> wrote: >> >> On 09.05.2016 17:11, Temp Temp wrote: >>> >>> Hi All Need help to trace how the redirect is happening We have some static pages and dynamic pages (Using Python) and we are using apache 2.2.15 (Unix Environment). >>> Then you are asking for help on the wrong list. This one is for Apache >>> Tomcat, which is the Java Servlet Engine. >>> The list you want can probably be found here : >>> http://httpd.apache.org/lists.html >>> >>> >>> We have a URL to edit product details. When this URL is used in the intranet it is displaying the product details When the same URL is used on Internet, It is redirecting to home page. Not sure where this redirect is happening. But with a description like the above, I am not sure that anyone would >>> be >>> able to help you. You would have first to provide some description of >>> your >>> network for instance. >>> When Internet users want to access your website, which server/proxy are >>> they connecting with ? >>> (I mean this as a question to answer on the http list, so that they can >>> help you further). >>> And you might also want to provide a copy of your Apache httpd >>> configuration (after removing any sensitive information). And be a bit >>> more >>> precise than just "Unix environment". >>> >>> >>> >>> - >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >>> >>> >> > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Apache redirect
On 09.05.2016 18:47, Temp Temp wrote: Thanks Andre. Will do Your are welcome. Based on the minimal information you provided below, I will venture a guess however : It may be that when users access your application from the Internet, this goes through a front-end proxy server before reaching your webserver. And that it is this proxy which does not forward the calls correctly. So it is probably the proxy server people you would need to talk to first. On Mon, May 9, 2016 at 11:37 AM, André Warnier (tomcat)wrote: On 09.05.2016 17:11, Temp Temp wrote: Hi All Need help to trace how the redirect is happening We have some static pages and dynamic pages (Using Python) and we are using apache 2.2.15 (Unix Environment). Then you are asking for help on the wrong list. This one is for Apache Tomcat, which is the Java Servlet Engine. The list you want can probably be found here : http://httpd.apache.org/lists.html We have a URL to edit product details. When this URL is used in the intranet it is displaying the product details When the same URL is used on Internet, It is redirecting to home page. Not sure where this redirect is happening. But with a description like the above, I am not sure that anyone would be able to help you. You would have first to provide some description of your network for instance. When Internet users want to access your website, which server/proxy are they connecting with ? (I mean this as a question to answer on the http list, so that they can help you further). And you might also want to provide a copy of your Apache httpd configuration (after removing any sensitive information). And be a bit more precise than just "Unix environment". - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache redirect
Thanks Andre. Will do On Mon, May 9, 2016 at 11:37 AM, André Warnier (tomcat)wrote: > On 09.05.2016 17:11, Temp Temp wrote: > >> Hi All >> >> Need help to trace how the redirect is happening >> >> We have some static pages and dynamic pages (Using Python) and we are >> using >> apache 2.2.15 (Unix Environment). >> > > Then you are asking for help on the wrong list. This one is for Apache > Tomcat, which is the Java Servlet Engine. > The list you want can probably be found here : > http://httpd.apache.org/lists.html > > >> We have a URL to edit product details. When this URL is used in the >> intranet it is displaying the product details When the same URL is used on >> Internet, It is redirecting to home page. Not sure where this redirect is >> happening. >> >> > But with a description like the above, I am not sure that anyone would be > able to help you. You would have first to provide some description of your > network for instance. > When Internet users want to access your website, which server/proxy are > they connecting with ? > (I mean this as a question to answer on the http list, so that they can > help you further). > And you might also want to provide a copy of your Apache httpd > configuration (after removing any sensitive information). And be a bit more > precise than just "Unix environment". > > > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: Apache redirect
On 09.05.2016 17:11, Temp Temp wrote: Hi All Need help to trace how the redirect is happening We have some static pages and dynamic pages (Using Python) and we are using apache 2.2.15 (Unix Environment). Then you are asking for help on the wrong list. This one is for Apache Tomcat, which is the Java Servlet Engine. The list you want can probably be found here : http://httpd.apache.org/lists.html We have a URL to edit product details. When this URL is used in the intranet it is displaying the product details When the same URL is used on Internet, It is redirecting to home page. Not sure where this redirect is happening. But with a description like the above, I am not sure that anyone would be able to help you. You would have first to provide some description of your network for instance. When Internet users want to access your website, which server/proxy are they connecting with ? (I mean this as a question to answer on the http list, so that they can help you further). And you might also want to provide a copy of your Apache httpd configuration (after removing any sensitive information). And be a bit more precise than just "Unix environment". - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Apache redirect
Hi All Need help to trace how the redirect is happening We have some static pages and dynamic pages (Using Python) and we are using apache 2.2.15 (Unix Environment). We have a URL to edit product details. When this URL is used in the intranet it is displaying the product details When the same URL is used on Internet, It is redirecting to home page. Not sure where this redirect is happening. Any help is appreciated. Thanks and Regards Naga
Re: Aid: Tomcat/Apache redirect (or forwarding).
Hassan Schroeder-2 wrote: On Tue, Dec 16, 2008 at 9:59 AM, TiredMan soulscaven...@gmail.com wrote: The page cannot be found message in IE when i go to http://webdomain.com You would be better off using Firefox with the Web Developer and Firebug plugins to get better error messages, but... As for httpd logs, i not sure they are configured, because i just have next files in logs dir: Should i enable it somehow? ? Logs appear to be enabled -- what do you find in them? And again, does your configuration check pass? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org Hassan, i just want to say THANK YOU a lot your invaluable help! I done with it and my finish config for http so: VirtualHost *:80 ProxyPreserveHost On ProxyPass / http://localdomain.com:3001/ ProxyPassReverse / http://localdomain.com:3001/ ServerName webdomain.com /VirtualHost *:80 IT JUST WORKS. and another virt.host for reverse proxy with SSL: VirtualHost *:443 SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile conf/ssl/mycert.cert SSLCertificateKeyFile conf/ssl/mykey.key SSLProxyEngine On ProxyPreserveHost On ProxyPass / https://localdomain.com/ ProxyPassReverse / https://localdomain.com/ ServerName webdomain.com /VirtualHost Thank you a million and I wish you good luck in all your deeds. -- View this message in context: http://www.nabble.com/Aid%3A-Tomcat-Apache-redirect-%28or-forwarding%29.-tp21031384p21088154.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
Hi. Kees de Kooter, are you sure it is possible with mod_proxy? In this case if i will set at webdomain.com something like: ProxyPass / http://localdomain.com It will just redirect user, to http://localdomain.com which is not accessible for him. Or I am missing something? Kees de Kooter wrote: You can use apache's mod_proxy module for this: http://httpd.apache.org/docs/2.0/mod/mod_proxy.html. Cheers, Kees de Kooter On Tue, Dec 16, 2008 at 12:26, TiredMan soulscaven...@gmail.com wrote: Hi. Gentlemen, I have a mission, but I have no idea how to do it. I have: 1. A server with clear Tomcat 6.0.18 Apache 2.0.63 installed, with name, lets say, webdomain.com. The server is available from Internet by webdomain.com:80 and webdomain.com:443. 2. Another server, localdomain.com, which is available ONLY for webdomain.com by local area network. This server has two webpages/application deployed. One at localdomain.com:3001, another at localdomain.com:443. Goal: configure webdomain.com so, that if user goes to webdomain.com:80 he will see webpage/application which is located at localdomain.com:3001, and same for webdomain.com:443 -- localdomain.com:3001 Is it possible to configure so? Could you please show me how to do that? Maybe you know where i can read about it? I am completely newbe in apache/tomcat, so please don't be aggressive with respect to me :) -- View this message in context: http://www.nabble.com/Aid%3A-Tomcat-Apache-redirect-%28or-forwarding%29.-tp21031384p21031384.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Aid%3A-Tomcat-Apache-redirect-%28or-forwarding%29.-tp21031384p21036040.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
On Tue, Dec 16, 2008 at 8:06 AM, TiredMan soulscaven...@gmail.com wrote: Hi. Kees de Kooter, are you sure it is possible with mod_proxy? In this case if i will set at webdomain.com something like: ProxyPass / http://localdomain.com It will just redirect user, to http://localdomain.com which is not accessible for him. Or I am missing something? Yes -- proxy does not mean redirect. -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Aid: Tomcat/Apache redirect (or forwarding).
Hi. Gentlemen, I have a mission, but I have no idea how to do it. I have: 1. A server with clear Tomcat 6.0.18 Apache 2.0.63 installed, with name, lets say, webdomain.com. The server is available from Internet by webdomain.com:80 and webdomain.com:443. 2. Another server, localdomain.com, which is available ONLY for webdomain.com by local area network. This server has two webpages/application deployed. One at localdomain.com:3001, another at localdomain.com:443. Goal: configure webdomain.com so, that if user goes to webdomain.com:80 he will see webpage/application which is located at localdomain.com:3001, and same for webdomain.com:443 -- localdomain.com:3001 Is it possible to configure so? Could you please show me how to do that? Maybe you know where i can read about it? I am completely newbe in apache/tomcat, so please don't be aggressive with respect to me :) -- View this message in context: http://www.nabble.com/Aid%3A-Tomcat-Apache-redirect-%28or-forwarding%29.-tp21031384p21031384.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
You can use apache's mod_proxy module for this: http://httpd.apache.org/docs/2.0/mod/mod_proxy.html. Cheers, Kees de Kooter On Tue, Dec 16, 2008 at 12:26, TiredMan soulscaven...@gmail.com wrote: Hi. Gentlemen, I have a mission, but I have no idea how to do it. I have: 1. A server with clear Tomcat 6.0.18 Apache 2.0.63 installed, with name, lets say, webdomain.com. The server is available from Internet by webdomain.com:80 and webdomain.com:443. 2. Another server, localdomain.com, which is available ONLY for webdomain.com by local area network. This server has two webpages/application deployed. One at localdomain.com:3001, another at localdomain.com:443. Goal: configure webdomain.com so, that if user goes to webdomain.com:80 he will see webpage/application which is located at localdomain.com:3001, and same for webdomain.com:443 -- localdomain.com:3001 Is it possible to configure so? Could you please show me how to do that? Maybe you know where i can read about it? I am completely newbe in apache/tomcat, so please don't be aggressive with respect to me :) -- View this message in context: http://www.nabble.com/Aid%3A-Tomcat-Apache-redirect-%28or-forwarding%29.-tp21031384p21031384.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
Thank you for reply! Maybe you can also point me where I am wrong then? I've added in httpd.conf at webdomain.com ProxyRequests Off Proxy * Order deny,allow Allow from all /Proxy ProxyPass / http://localdomain.com ProxyPassReverse / http://localdomain.com And when I tried to access webdomain.com from a machine which has not acees to localdomain.com directly - i did not successed. Hassan Schroeder-2 wrote: On Tue, Dec 16, 2008 at 8:06 AM, TiredMan soulscaven...@gmail.com wrote: Hi. Kees de Kooter, are you sure it is possible with mod_proxy? In this case if i will set at webdomain.com something like: ProxyPass / http://localdomain.com It will just redirect user, to http://localdomain.com which is not accessible for him. Or I am missing something? Yes -- proxy does not mean redirect. -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Aid%3A-Tomcat-Apache-redirect-%28or-forwarding%29.-tp21031384p21037354.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
On Tue, Dec 16, 2008 at 9:11 AM, TiredMan soulscaven...@gmail.com wrote: Thank you for reply! Maybe you can also point me where I am wrong then? And when I tried to access webdomain.com from a machine which has not acees to localdomain.com directly - i did not successed. WTF does that mean? You got a 404? 500 error? What do your httpd logs say? Does your configuration check pass? Is localdomain.com resolvable from the webdomain system? Are there any iptables rules or tcp wrappers on the localdomain.com system that would block access? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
Hi again. The page cannot be found message in IE when i go to http://webdomain.com As for httpd logs, i not sure they are configured, because i just have next files in logs dir: access.log access_log error.log error_log httpd.pid install.log ssl_request_log Should i enable it somehow? Yes, localdomain is resolvable by short and FQDN. Nope, there are no iptables/wrappers at localdomain. I tried http://www.google.com as localdomain for test and there was same picture. By the way, when i trying to access webdoman.com from machine which ABLE to see localdomain.com - all works perfect. Browsers shows me content of localdomain.com and url is webdomain.com. P.S Thank you a lot for you feedbacks Hassan. I really appreciate it. Hassan Schroeder-2 wrote: On Tue, Dec 16, 2008 at 9:11 AM, TiredMan soulscaven...@gmail.com wrote: Thank you for reply! Maybe you can also point me where I am wrong then? And when I tried to access webdomain.com from a machine which has not acees to localdomain.com directly - i did not successed. WTF does that mean? You got a 404? 500 error? What do your httpd logs say? Does your configuration check pass? Is localdomain.com resolvable from the webdomain system? Are there any iptables rules or tcp wrappers on the localdomain.com system that would block access? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Aid%3A-Tomcat-Apache-redirect-%28or-forwarding%29.-tp21031384p21038314.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Aid: Tomcat/Apache redirect (or forwarding).
On Tue, Dec 16, 2008 at 9:59 AM, TiredMan soulscaven...@gmail.com wrote: The page cannot be found message in IE when i go to http://webdomain.com You would be better off using Firefox with the Web Developer and Firebug plugins to get better error messages, but... As for httpd logs, i not sure they are configured, because i just have next files in logs dir: Should i enable it somehow? ? Logs appear to be enabled -- what do you find in them? And again, does your configuration check pass? -- Hassan Schroeder hassan.schroe...@gmail.com - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org