I installied the scalix community edition with the scalix installer on opensuse 11.0. Everything installed correct. When I start the browser within that opensuse 11.0 installation ( so on the scalix server) I can go to
Code: Select all
http://scalix.domain.de/sac/
and
Code: Select all
http://scalix.domain.de/webmail/
and can login and work.
But if I go to another computer within or not within the subnet, I enter
Code: Select all
http://scalix.domain.de
I get an "access denied":
Code: Select all
Zugriff verweigert!
Der Zugriff auf das angeforderte Verzeichnis ist nicht möglich. Entweder ist kein Index-Dokument vorhanden oder das Verzeichnis ist zugriffsgeschützt.
Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
Error 403
scalix.domain.de
Thu Dec 4 08:55:47 2008
Apache/2.2.8 (Linux/SUSE)
Well, the real problem ist when I enter
Code: Select all
http://scalix.domain.de/sac/
and
Code: Select all
http://scalix.domain.de/webmail/
There I get an "404":
Code: Select all
Objekt nicht gefunden!
Der angeforderte URL konnte auf dem Server nicht gefunden werden. Sofern Sie den URL manuell eingegeben haben, überprüfen Sie bitte die Schreibweise und versuchen Sie es erneut.
Sofern Sie dies für eine Fehlfunktion des Servers halten, informieren Sie bitte den Webmaster hierüber.
Error 404
scalix.domain.de
Thu Dec 4 08:06:02 2008
Apache/2.2.8 (Linux/SUSE)
Of course when I ping scalix.domain.de I get the IP of the scalix server
So where's the problem?
DNS? My /etc/hosts says:
Code: Select all
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 scalix.domain.de scalix
123.45.67.89 scalix scalix
/var/log/apache2/errror_log says
Code: Select all
[Thu Dec 04 08:05:42 2008] [notice] Apache/2.2.8 (Linux/SUSE) mod_ssl/2.2.8 OpenSSL/0.9.8g configured -- resuming normal operat ions
[Thu Dec 04 08:05:47 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/sac
[Thu Dec 04 08:05:58 2008] [error] [client 123.45.67.89] Directory index forbidden by Options directive: /srv/www/htdocs/
[Thu Dec 04 08:06:02 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/webmail
[Thu Dec 04 08:55:43 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/sac
[Thu Dec 04 08:55:47 2008] [error] [client 123.45.67.89] Directory index forbidden by Options directive: /srv/www/htdocs/
[Thu Dec 04 09:16:35 2008] [error] [client 123.45.67.89] Directory index forbidden by Options directive: /srv/www/htdocs/
[Thu Dec 04 09:16:38 2008] [error] [client 123.45.67.89] File does not exist: /srv/www/htdocs/webmail
in /var/opt/scalix/se/webmail/swa.properties I have
Code: Select all
swa.platform.url=http://scalix.domain.de/api
My /etc/apache2/conf.d/scalix-tomcat-connector.conf" has only the following:
Code: Select all
# ---------------------------------------------------------------------------
# Configure on-the-fly deflate compression of the pages:
# ---------------------------------------------------------------------------
<Location />
AddOutputFilterByType DEFLATE text/xml text/html text/css
AddOutputFilterByType DEFLATE application/x-javascript
Allow from all
</Location>
# ---------------------------------------------------------------------------
# mod_proxy_ajp connector configuration
# ---------------------------------------------------------------------------
<IfModule mod_proxy_ajp.c>
Include /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf
</IfModule>
So, I got it now.. I added:
Code: Select all
Include /etc/opt/scalix-tomcat/connector/ajp/app-*.conf
to /etc/apache2/conf.d/scalix-tomcat-connector.conf
So it now looks like:
Code: Select all
# ---------------------------------------------------------------------------
# Configure on-the-fly deflate compression of the pages:
# ---------------------------------------------------------------------------
<Location />
AddOutputFilterByType DEFLATE text/xml text/html text/css
AddOutputFilterByType DEFLATE application/x-javascript
Allow from all
</Location>
# ---------------------------------------------------------------------------
# mod_proxy_ajp connector configuration
# ---------------------------------------------------------------------------
<IfModule mod_proxy_ajp.c>
Include /etc/opt/scalix-tomcat/connector/ajp/instance-*.conf
Include /etc/opt/scalix-tomcat/connector/ajp/app-*.conf
</IfModule>
~