Hi,
Is it possible to tell me if this configuration for virtual host is
correct for the stable version of sipxecs?
I'm using centos 5 x86_64.
We use this server for other sites too and i would like to use vhost
environment.
this is the configuration file. I access sipxecs webui without any
problems, but i have problems with replication of files
to /var/sipdata/sipdb. It says replication completed, but i have not
these files in this directory. All DNS tests and configurations are ok.
I followed the page for dns configuration and everything is ok. Test are
ok.
This is the configuration file with vhosts:
Thanks in advanced!
Regards,
Ali Nebi!
##
## Vhost configuration file for SIPX.
##
<VirtualHost *:80>
ServerName sip.servername.domain.tld
SuEXECUserGroup sipxchange sipxchange
DocumentRoot "/usr/share/www/doc"
<Directory "/usr/share/www/doc">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Listen 8090
NameVirtualHost *:8090
<VirtualHost *:8090>
SuEXECUserGroup sipxchange sipxchange
ServerName asgard.iguanait.com
DocumentRoot "/usr/share/www/doc"
<Directory "/usr/share/www/doc">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /sipdb/ "/var/sipxdata/sipdb/"
<Directory "/var/sipxdata/sipdb/">
Order allow,deny
# Deny from all
Allow from 127.0.0.1
#Satisfy any
Allow from all
</Directory>
<Directory "/var/sipxdata/mediaserver/data/prompts/">
Options Indexes FollowSymLinks MultiViews
# Order allow,deny
Deny from all
Allow from 127.0.0.1
#Satisfy any
Allow from all
</Directory>
<Directory "/usr/share/www/cgi-bin">
# Standard directory settings taken from httpd.conf
#AllowOverride All # Commented out by Mike M.
Order allow,deny
# Deny from all
Allow from 127.0.0.1
# Satisfy any
Allow from all
</Directory>
<Directory "/usr/share/www/cgi-bin/replication">
Options Indexes FollowSymLinks MultiViews
Order allow,deny
# Deny from all
Allow from 127.0.0.1
# Satisfy any
Allow from all
</Directory>
# Where hard and soft phones get their profile information
Alias /phone/ "/var/sipxdata/configserver/phone/"
<Directory "/var/sipxdata/configserver/phone/">
Options -Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
TypesConfig /etc/sipxpbx/mime.types
ErrorLog /var/log/sipxpbx/httpd_error_log
CustomLog /var/log/sipxpbx/httpd_access_log common
</VirtualHost>
##
## SIPX SSL configuration file.
##
<VirtualHost *:443>
SuEXECUserGroup sipxchange sipxchange
ServerName sip.servername.domain.tld
SSLEngine on
SSLCertificateFile /etc/sipxpbx/ssl/ssl.crt
SSLCertificateKeyFile /etc/sipxpbx/ssl/ssl.key
SSLCertificateChainFile
/etc/sipxpbx/ssl/authorities/gd_intermediate_bundle.crt
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
ErrorLog /var/log/sipxpbx/httpd_error_log
TransferLog /var/log/sipxpbx/httpd_access_log
DocumentRoot "/usr/share/www/doc"
<Directory "/usr/share/www/doc">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Listen 8091
NameVirtualHost *:8091
<VirtualHost *:8091>
SuEXECUserGroup sipxchange sipxchange
ServerName asgard.iguanait.com
SSLEngine on
SSLCertificateFile /etc/sipxpbx/ssl/ssl.crt
SSLCertificateKeyFile /etc/sipxpbx/ssl/ssl.key
SSLCertificateChainFile
/etc/sipxpbx/ssl/authorities/gd_intermediate_bundle.crt
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
ErrorLog /var/log/sipxpbx/httpd-8091_error_log
TransferLog /var/log/sipxpbx/httpd-8091_access_log
DocumentRoot "/usr/share/www/doc"
<Directory "/usr/share/www/doc">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /mailboxes/ "/var/sipxdata/mediaserver/data/"
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/usr/share/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
Alias /cgi-bin/ "/usr/share/www/cgi-bin/"
<Directory "/usr/share/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Location "/cgi-bin/processmonitor/">
Options Indexes FollowSymLinks MultiViews
Order allow,deny
#Deny from all
Allow from 127.0.0.1
Allow from all
#Satisfy any
</Location>
<Location "/cgi-bin/replication/">
Options Indexes FollowSymLinks MultiViews
Order allow,deny
# Deny from all
Allow from 127.0.0.1
Allow from all
#Satisfy any
</Location>
Alias /sipdb/ "/var/sipxdata/sipdb/"
<Directory "/var/sipxdata/sipdb/">
Order allow,deny
# Deny from all
Allow from 127.0.0.1
Allow from all
#Satisfy any
</Directory>
# Where hard and soft phones get their profile information.
Alias /phone/ "/var/sipxdata/configserver/phone/"
<Directory "/var/sipxdata/configserver/phone/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "/var/sipxdata/mediaserver/data/prompts/">
Options Indexes FollowSymLinks MultiViews
Order allow,deny
# Deny from all
Allow from 127.0.0.1
Allow from all
#Satisfy any
</Directory>
</VirtualHost>
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users