Hi,

We installed mingle (an application running on port 8080) on a
computer on our LAN.

It is accessible http://<IP of mingle>:8080

Some one can within LAN can see a URL

http://192.168.1.5:8080/profile/login

and a login page he gets.

We have a webserver which is where the main website of our organization is.




Server A---------------------------------------------------------------Server B

Public IP-----------------------------------------------------------192.168.1.5
A website is running  here
Sysadmins govern it-------------------------------------------( We
want to run mingle also here.)

I need to tell the sysadmin what

ReWriteRule they have to put so that
mingle is accessible on internet.



The computer on which mingle is installed also has a website running
on Apache port 80.
To access that from internet some one will type in
http://site.mydomain.com
and on the server which is available to world is having a proxy pass

in Apache vhost as follows

ProxyPass / http://192.168.1.5
ProxyPassReverse / http://192.168.1.5



So some one from internet can reach the site. http://site.mydomain.com
which is running on 192.168.1.5

We want mingle running on 192.168.1.5 to be accessible as
http://site.mydomain.com/mingle

I suggested the sysadmin to write a ReWrite Rule on Server A as follows

<IfModule mod_rewrite.c>
ReWriteEngine on

RewriteRule ^/mingle(.*) http://172.21.100.193:8080/$1 [R]
 </IfModule>



but if some one accesses it from within our network then

we can see it

http://site.mydomain.com/mingle

the above URL immediately gets replaced to

http://192.168.1.5:8080/profile/login

On LAN it is directly accessible by IP also so it is not a problem.



But if some one from internet does that then they are not able to
reach the login page.
So what can/should I added delete in the ReWriteRule.

Thanks
-- 
Tapas

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to