[us...@httpd] Solved Re: [us...@httpd] rewrite rule for mingle

2010-06-13 Thread Tapas Mishra
Hi, I was finally able to solve the problem. The context root of application mingle was serving the site on / and not /mingle so when some one requested http://site.mydomain.com/mingle he could reach but not correct page. Here is a link to a discussion which helped

Re: [us...@httpd] rewrite rule for mingle

2010-06-12 Thread Tapas Mishra
The application server when returns a URL then there is no /mingle in URL so that might be a problem. I am not clear as what to do with that. - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans tevans...@googlemail.com wrote: The IfModule mod_rewrite.c section is not right at all. Stop me where I get it wrong site1.mydomain.com is your 'publicly available address' and you want your websites on 192.168.1.10 to appear proxied on this

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans tevans...@googlemail.com wrote: Then your vhost should look like this: VirtualHost *:80    ServerName site1.mydomain.com    ServerAdmin webmas...@localhost    ProxyRequests off    Proxy *        Order deny,allow        Allow from all    /Proxy

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 8:44 AM, Tapas Mishra mightydre...@gmail.com wrote: On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans tevans...@googlemail.com wrote: Then your vhost should look like this: VirtualHost *:80    ServerName site1.mydomain.com    ServerAdmin webmas...@localhost    

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 2:10 PM, Tom Evans tevans...@googlemail.com wrote: On Fri, Jun 11, 2010 at 8:44 AM, Tapas Mishra mightydre...@gmail.com wrote: On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans tevans...@googlemail.com wrote: Then your vhost should look like this: VirtualHost *:80    

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 11:30 AM, Tapas Mishra mightydre...@gmail.com wrote: So let me know what you want to know. Does this not work for you? VirtualHost *:80 ServerName site1.mydomain.com ServerAdmin webmas...@localhost ProxyRequests off Proxy * Order deny,allow

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 4:08 PM, Tom Evans tevans...@googlemail.com wrote: On Fri, Jun 11, 2010 at 11:30 AM, Tapas Mishra mightydre...@gmail.com wrote: So let me know what you want to know. Does this not work for you? No VirtualHost *:80   ServerName site1.mydomain.com   ServerAdmin

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 12:18 PM, Tapas Mishra mightydre...@gmail.com wrote: Does this give some clue? Not really. HTTP doesn't work on filenames. I need to understand what your sites are sending, whether requests are going to the right server, etc etc. Since I can't access your servers, and

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 5:50 PM, Tom Evans tevans...@googlemail.com wrote: HTTP doesn't work on filenames. I need to understand what your sites are sending, whether requests are going to the right server, etc etc. Since I can't access your servers, and don't know your applications, I will

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tom Evans
OK, that makes everything clearer. BTW, you are proxying /mingle/. That final / has meaning, please be precise about whether something has a trailing slash or not. Your first examples of attempting to access '/mingle/' through the proxy were requesting the URL '/mingle', which is why you got

Re: [us...@httpd] rewrite rule for mingle

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 9:01 PM, Tom Evans tevans...@googlemail.com wrote: OK, that makes everything clearer. BTW, you are proxying /mingle/. That final / has meaning, please be precise about whether something has a trailing slash or not. Your first examples of attempting to access '/mingle/'

[us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
Hi, I am using a backend server to serve an application which is running on apache and another apache which is front end to users coming from internet. So the back end server is hidden from outside. I want if some one types in URL http://site1.mydomain.com/application then they be redirected to

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Eric Covener
  IfModule mod_rewrite.c         ReWriteEngine on         ReWriteRule /application/(.*) - [L]         RewriteRule ^/(.*) http://site1.mydomain.com:8080/$1 [P,L]     /IfModule /application gives a login screen after some one logs in /application is not present on the URL of client browser

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 4:34 PM, Eric Covener cove...@gmail.com wrote: Try adding the R flag  on the first RewriteRule. Ok it did seem to do some thing. Actually the application is not developed by me.When some one types on LAN http://192.168.1.10:8080 a welcome screen comes that is of mingle.

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Eric Covener
On Thu, Jun 10, 2010 at 7:43 AM, Tapas Mishra mightydre...@gmail.com wrote: On Thu, Jun 10, 2010 at 4:34 PM, Eric Covener cove...@gmail.com wrote: Try adding the R flag  on the first RewriteRule. Ok it did seem to do some thing. Actually the application is not developed by me.When some one

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tapas Mishra
Actually I have got quite confused. I will tell from start. I am running a website. http://site1.mydomain.com on a pc on LAN. There is a server which has a public IP. I have access to modify what ever Apache file is needed. That server does not have a DNS. Server A

Re: [us...@httpd] rewrite rule for mingle

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 1:11 PM, Tapas Mishra mightydre...@gmail.com wrote: Actually I have got quite confused. I will tell from start. .. VirtualHost *:80        ServerName site1.mydomain.com        ServerAdmin webmas...@localhost        ProxyRequests off        Proxy *        Order