2°- Why OM send me an error message when I create an users and fill
tthe email field. The error message "invalid email". My OM server is
the secondary of my dns server which is on the same network.
Thanks more for your replay.
If you want to avoid forcing users to write port number in OM URL, you
could use Apache's ModRewrite.
Just run Apache on port 80,
enable ModRewrite,
and add to, virtual host definition something like this:
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
RewriteRule ^/(.*)$ http://conference.mydomain.tld:5080/$1 [L,R]
You can do the same trick if you have OM installed under eaven more ugly
URL, for example http://conference.mydomain.tld:5080/openmeetings/
Just put it into rewrite rule, and the users will be automagically
redirected from http://conference.mydomain.tld to
http://conference.mydomain.tld:5080/openmeetings/
regards
Piotr
Thanks more !!!
2010/11/26, Piotr Fiedorow <piotr.f...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to openmeet...@googlegroups.com.
> To unsubscribe from this group, send email to
> openmeetings-u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>
>
Thanks !!!!
2010/11/26, greenes <zurc...@gmail.com>:
but no success.
Now I want to test apache2 rewrite. below I will put my vhost config
file; can somebody tells me if it's correct or no.
==== vhost config =====
<VirtualHost *:5080>
ServerAdmin weba...@mydomain.tld
ServerName webconference.mydomain.tld
ServerAlias conference.mydomain.tld
DocumentRoot /opt/red5/webapps/openmeetings
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
RewriteRule ^/(.*)$ http://conference.mydomain.tld:5080/$1 [L,R]
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /opt/red5/webapps/openmeetings/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/webconf-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/webconf-access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
======== vhost config end of file ============
One question : Must I disable the default site ?????
2010/11/26, Dominique Claver KOUAME <kdcl...@gmail.com>:
Morning everybody and thanks for your help. Just make a summary of
what I have tested to solve the vhost problem.
Some of you tell me to change http-port of red5. I have done the changes in :
/opt/red5/conf/red5.properties
/opt/red5/webapps/openmeetings/config.xml
but no success.
Now I want to test apache2 rewrite. below I will put my vhost config
file; can somebody tells me if it's correct or no.
==== vhost config =====
<VirtualHost *:5080>
ServerAdmin weba...@mydomain.tld
ServerName webconference.mydomain.tld
ServerAlias conference.mydomain.tld
DocumentRoot /opt/red5/webapps/openmeetings
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
RewriteRule ^/(.*)$ http://conference.mydomain.tld:5080/$1 [L,R]
Hi Dominique:
1.
If you changed red5 port to 80, you'd have to run red5 as root
(because on Unix, Linux etc. proceses binding to ports with
numbers
lower than 1024 requires root privileges). I think, that it is not
a
good idea to run red5 process as root (security etc.).
Applications
such as Apache, after binding to port 80 lowers its privileges by
becoming a normal user (eg. in Debian it becomes www-data).
I have
no idea, how to do such trick in RED5/Tomcat.
2. Apache
In
the configuration you sent there is a problem:
There is <VirtualHost
*:5080> but it should be <VirtualHost *:80> because
Apache
is supposed to listen on port 80, not 5080 (there is RED5 on
5080).
If you examine the
rewrite condition, you'll find, that it
says:
- if the connection comes to port 80 - RewriteCond
%{SERVER_PORT} ^80$
- and if it doesn't come from localhost (the
server machine itself) - RewriteCond %{REMOTE_ADDR} !^127.0.0.1$
-
redirect the browser to RED5 on 5080 - RewriteRule ^/(.*)$
http://conference.mydomain.tld:5080/$1 [L,R]