httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapas Mishra <>
Subject [users@httpd] rewrite rule for mingle
Date Thu, 10 Jun 2010 09:46:04 GMT
 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
So the back end server is hidden from outside.

I want if some one types in URL
then they be redirected to internal server which is running
/application on port 8080
this application server always does not have /application in URL

If some one types
and not
then in both cases they are seeing the same page.
Which should not happen.

Now the problem is I have written a ReWriteRule as following

   <IfModule mod_rewrite.c>
         ReWriteEngine on
         ReWriteRule /application/(.*) - [L]
         RewriteRule ^/(.*)$1 [P,L]

/application gives a login screen after some one logs in /application
is not present on the URL of client browser
only is present.
What is the problem in above ReWriteRule.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message