[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 http://community.thoughtworks.com

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 http://

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

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 9:01 PM, Tom Evans 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/' through the proxy I

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 404s.

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

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 5:50 PM, Tom Evans 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 have to describe how to

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

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 12:18 PM, Tapas Mishra 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 don't know your appli

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

2010-06-11 Thread Tapas Mishra
On Fri, Jun 11, 2010 at 4:08 PM, Tom Evans wrote: > On Fri, Jun 11, 2010 at 11:30 AM, Tapas Mishra wrote: >> So let me know what you want to know. > > > Does this not work for you? No > >   ServerName site1.mydomain.com >   ServerAdmin webmas...@localhost > >   ProxyRequests off >   >       Or

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

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 11:30 AM, Tapas Mishra wrote: > So let me know what you want to know. Does this not work for you? ServerName site1.mydomain.com ServerAdmin webmas...@localhost ProxyRequests off Order deny,allow Allow from all ProxyPreserveHost On P

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

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

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

2010-06-11 Thread Tom Evans
On Fri, Jun 11, 2010 at 8:44 AM, Tapas Mishra wrote: > On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans wrote: >> Then your vhost should look like this: >> >> >>    ServerName site1.mydomain.com >>    ServerAdmin webmas...@localhost >> >>    ProxyRequests off >>     >>        Order deny,allow >>      

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

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

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

2010-06-11 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 7:04 PM, Tom Evans wrote: > The 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 domain. > site1.mydomain.com/mingle/ should pro

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

2010-06-10 Thread Tom Evans
On Thu, Jun 10, 2010 at 1:11 PM, Tapas Mishra wrote: > Actually I have got quite confused. > I will tell from start. .. > > >        ServerName site1.mydomain.com >        ServerAdmin webmas...@localhost > >        ProxyRequests off >         >        Order deny,allow >        Allow from all >  

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 Eric Covener
On Thu, Jun 10, 2010 at 7:43 AM, Tapas Mishra wrote: > On Thu, Jun 10, 2010 at 4:34 PM, Eric Covener 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

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

2010-06-10 Thread Tapas Mishra
On Thu, Jun 10, 2010 at 4:34 PM, Eric Covener 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. After that it a

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

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

[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