Hi Dominique,

It works on my Debian, as say Piotr Fiedorow.

At console write:

a2enmod rewrite

...so the module rewrite it is load it.

Edit:

gedit /etc/apache2/apache2.conf

...and write at the bottom:

LoadModule rewrite_module modules/mod_rewrite.so

After edit:

gedit /etc/apache2/sites-enabled/000-default

...and write at the bottom:

NameVirtualHost hola.com

<VirtualHost hola.com>
    DocumentRoot /var/www/miproyecto/
    ServerName hola.com
RewriteEngine   on
RewriteCond     %{SERVER_PORT} ^80$
RewriteCond     %{REMOTE_ADDR} !^192.168.198.50$
RewriteRule     ^/(.*)$ http://hola.com:5080/openmeetings/$1 [L,R]
</VirtualHost>

...with your domain and lan IP or ...

So when you go in the browser:

http://hola.com

...will be directly to:

http://hola.com:5080/openmeetings

Thanks to Piotr Fiedorow, i made it
and work in Debian and XP.

Regards


On 27 nov, 13:36, Dominique Claver KOUAME <[email protected]> wrote:
> 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 [email protected]
>         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 <[email protected]>:
>
> > For the second method it runs; but now I want to use Active Directory
> > for authentication which will avoid the creation of users manually.
>
> > Thanks !!!!
>
> > 2010/11/26, greenes <[email protected]>:
> >> Hi Dominique,
>
> >> For the first question...have you a web server like apache?
> >> ...if so can create a html file redirecting to:
>
> >>http://conference.mydomain.tld:5080/
>
> >> The second can resolve so:
>
> >> 1)
> >> Create a new user without write email adress and save.
>
> >> 2)
> >> Select the new user just created and write the email adress only.
> >> Save.
>
> >> greenes
>
> >> On 26 nov, 12:49, Dominique Claver KOUAME <[email protected]> wrote:
> >>> Hello,
> >>> I have differents problems to solve without openmeetings. I will post
> >>> them below :
> >>> 1° - Can somebody help me configure openmeetings for direct access
> >>> without keying the port number.
> >>> Something like thishttp://conference.mydomain.tld.
> >>> I think this will be very easy for the users than
> >>> keyinghttp://conference.mydomain.tld:5080/
>
> >>> 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.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "OpenMeetings User" group.
> >> To post to this group, send email to [email protected].
> >> To unsubscribe from this group, send email to
> >> [email protected].
> >> For more options, visit this group at
> >>http://groups.google.com/group/openmeetings-user?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to