powered by Jive Software

Openfire registration page

Hello is it possible to change the registration page access port from 9090 to 7070 so as to be on different ports from the server admin so I can restrict the admin to local router but have the registration page remote access from the internet

Bruce

I assume with “registration page” you mean the Registration plugin or something similar.

It is not possbile with Openfire itself, to set only this page to another port. Registration page will always be available on the AdminConsole port.

However, you can change this using external software, e.g. by using Apache with mod_rewrite and mod_proxy. For example you could define the following:

RewriteCond %{REQUEST_URI} ^/registration/sign-up.jsp
RewriteRule ^/(.*) http://localhost:9090/plugins/$1 [P]

With that you can access the registration plugin using this URL: http://yourserver.com/registration/sign-up.jsp

(assuming Apache runs on port 80)

this would still leave port 9090 open to remote internet access and yes I am using registration plugin I was more into closing remote access to the admin wile still using the registration plugin but thank you very much for the help

You need to block port 9090 using your firewall. (thought that would be obvious)

AdminConsole will not available from remote, but Registration plugin is still available because Apache acts as proxy for this specific URL.

ok thanks I will enable mod_proxy and mod_rewrite and give it a try I have two apache server one on my windows vista where the openfire is and one on my linux centos witch is my hosting server both on the same router

thank you kindly

Bruce

Where do i put this code?

RewriteCond %{REQUEST_URI} ^/registration/sign-up.jsp
RewriteRule ^/(.*) http://localhost:9090/plugins/$1 [P]

Where do i put this code?
Inside your Apache config file. It depends on your operating system where to put it. E.g. on a Fedora or CentOS Linux this would be /etc/httpd/conf/httpd.conf . However, you should make yourself familar with Apache before using this.