Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11593

Re: URL redirect?

$
0
0

Finally I got it working the easy way... Looks like I was almost right before, based on your earlier post, not sure where I went wrong.

Here it is for the benefit of others:

 

In Debian make the folder "spank" under /usr/share/openfire/resources     (ie. the main "resources" folder, whatever that may be under other dists)

 

Create an index.html file containing:

<html>

<head><title></title>

<meta http-equiv="refresh" content="0;URL=/ofmeet/?r=roomx">       # ("roomx" can be whatever  required)

</head>

<body>

</body>

</html>

 

Restart openfire.

 

Or here is the whole thing, including defaulting to 443 instead of 7443 in Debian:

 

sed -i 's/--chuid openfire:openfire / /' /etc/init.d/openfire

mkdir -p /usr/share/openfire/resources/spank

echo '<html>

<head><title></title>

<meta http-equiv="refresh" content="0;URL=/ofmeet/?r=roomx">

</head>

<body>

</body>

</html>' > /usr/share/openfire/resources/spank/index.html

service openfire restart

 

Manually set http bind to 443 from 7443 in admin panel.

 

Now typing in just the main IP address goes straight in to the ofmeet login for "roomx".


Viewing all articles
Browse latest Browse all 11593

Trending Articles