vServer (S4You) Mozilla Weave Installation

starbuck

New Member
Hallo ich besitze seit kurzem einen Vserver bei (Server4You).
Dort möchte ich nun Mozilla Weave betreiben, zwecks Synchronisation meiner Lesezeichen. Zudem ist die Neu-Registrierung eines Accounts bei Mozilla z. Zt. nicht möglich.

Nun habe ich im Internet eine Lösung gefunden wie man Weave auf einem eigenen Server installieren kann. Allerdings klappt die Konfiguration nicht richtig.

Create your own Mozilla Weave server | Remco Bressers' Blog

apt-get install libapache-mod-dav
a2enmod dav_fs
a2enmod auth_digest

Module habe ich aktiviert

Inhalt /etc/apache2/conf.d/zz010_psa_httpd.conf

Code:
NameVirtualHost ip Adresse des Severs :80
NameVirtualHost ip Adresse des Severs:443
ServerName name.vserver.de
ServerAdmin admin@vserver.de

DocumentRoot /var/www/vhosts/default/htdocs

<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
TraceEnable off

<Directory "/var/www/vhosts">
	AllowOverride All
	Options SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
	<IfModule mod_php4.c>
	php_admin_flag engine off
	</IfModule>
	<IfModule mod_php5.c>
	php_admin_flag engine off
	</IfModule>
</Directory>

<Directory "/usr/lib/mailman">
	AllowOverride All
	Options SymLinksIfOwnerMatch
	Order allow,deny
	Allow from all
	<IfModule mod_php4.c>
	php_admin_flag engine off
	</IfModule>
	<IfModule mod_php5.c>
	php_admin_flag engine off
	</IfModule>
</Directory>

<IfModule mod_userdir.c>
	UserDir disabled
</IfModule>
Include /var/www/vhosts/domainname/conf/httpd.include

<VirtualHost \
			ip Adresse des Severs:80 \
			>
	ServerName default
	UseCanonicalName Off
	DocumentRoot /var/www/vhosts/default/htdocs
	ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
	<IfModule mod_ssl.c>
		SSLEngine off
	</IfModule>
	<Directory "/var/www/vhosts/default/cgi-bin/">
		AllowOverride None
		Options None
		Order allow,deny
		Allow from all
	</Directory>
	<Directory /var/www/vhosts/default/htdocs>
	<IfModule mod_php4.c>
		php_admin_flag engine on
		php_admin_flag safe_mode on
		php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
	</IfModule>
	<IfModule mod_php5.c>
		php_admin_flag engine on
		php_admin_flag safe_mode on
		php_admin_value open_basedir "/var/www/vhosts/default/htdocs:/tmp"
	</IfModule>
	</Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost ip Adresse des Severs:443 >
	ServerName default-Ip-Adresse-des-Servers
	UseCanonicalName Off
	DocumentRoot /var/www/vhosts/default/httpsdocs
	ScriptAlias /cgi-bin/ "/var/www/vhosts/default/cgi-bin/"
	SSLEngine on
	SSLVerifyClient none
	SSLCertificateFile /opt/psa/var/certificates/cert-Mz2Scu
	<Directory "/var/www/vhosts/default/cgi-bin/">
		AllowOverride None
		Options None
		Order allow,deny
		Allow from all
	</Directory>
	<Directory /var/www/vhosts/default/httpsdocs>
		SSLRequireSSL
	</Directory>
</VirtualHost>

</IfModule>

<VirtualHost \
			Ip Adresse des Severs:80 \
			>
	DocumentRoot /usr/share/psa-horde/
	Alias /horde/ /usr/share/psa-horde/
	Alias /imp/ /usr/share/psa-horde/imp/
	ServerName webmail
	ServerAlias webmail.*
	UseCanonicalName Off
	<Directory /usr/share/psa-horde>
		<IfModule mod_php4.c>
			php_admin_flag engine on
			php_admin_flag magic_quotes_gpc off
			php_admin_flag safe_mode off
			php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
			php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-pear:."
		</IfModule>
		<IfModule mod_php5.c>
			php_admin_flag engine on
			php_admin_flag magic_quotes_gpc off
			php_admin_flag safe_mode off
			php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
			php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:."
		</IfModule>
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost \
			Ip Adresse des Severs:443 \
			>
	DocumentRoot /usr/share/psa-horde/
	Alias /horde/ /usr/share/psa-horde/
	Alias /imp/ /usr/share/psa-horde/imp/
	ServerName webmail
	ServerAlias webmail.*
	UseCanonicalName Off
	SSLEngine on
	SSLVerifyClient none
	SSLCertificateFile /etc/apache2/httpd.pem
	<Directory /usr/share/psa-horde>
		<IfModule mod_php4.c>
			php_admin_flag engine on
			php_admin_flag magic_quotes_gpc off
			php_admin_flag safe_mode off
			php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
			php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-pear:."
		</IfModule>
		<IfModule mod_php5.c>
			php_admin_flag engine on
			php_admin_flag magic_quotes_gpc off
			php_admin_flag safe_mode off
			php_admin_value open_basedir "/usr/share/psa-horde:/etc/psa-horde:/etc/psa:/tmp:/var/tmp:/var/log/psa-horde:/usr/share/doc:/usr/share/psa-pear"
			php_admin_value include_path "/usr/share/psa-horde:/usr/share/psa-horde/lib:/usr/share/psa-pear:."
		</IfModule>
		SSLRequireSSL
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>


</IfModule>

<VirtualHost \
			ip Adresse des Severs:80 \
			>
	DocumentRoot /var/www/vhosts/default/htdocs
	ServerName lists
	ServerAlias lists.*
	UseCanonicalName Off
	ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
	ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
	Alias /icons/ /var/lib/mailman/icons/
	Alias /pipermail/ /var/lib/mailman/archives/public/
	Alias /images/ /usr/share/images/
	<Directory /var/lib/mailman/archives/>
		Options FollowSymLinks
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>


<IfModule mod_ssl.c>

<VirtualHost \
			Ip Adresse des Severs:443 \
			>
	DocumentRoot /var/www/vhosts/default/httpsdocs
	ServerName lists
	ServerAlias lists.*
	UseCanonicalName Off
	ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
	ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
	Alias /icons/ /var/lib/mailman/icons/
	Alias /pipermail/ /var/lib/mailman/archives/public/
	Alias /images/ /usr/share/images/
	<Directory /var/lib/mailman/archives/>
		Options FollowSymLinks
		Order allow,deny
		Allow from all
	</Directory>
</VirtualHost>


</IfModule>

<VirtualHost \
			Ip Adresse des Severs:443 \
			>
	DocumentRoot /var/www/vhosts/default/httpsdocs
	ServerName weave
	ServerAlias weave.*
	UseCanonicalName Off
	<Directory /var/www/vhosts/default/httpsdocs/weave>
		Options FollowSymLinks
		AllowOverride AuthConfig Limit
		Order allow,deny
		Allow from all
		DAV On
		AuthType Basic
		AuthName “WebDAV Restricted”
		AuthUserFile /var/www/vhosts/domainname/weave/passwords
		require valid-user
	</Directory>
</VirtualHost>

Sind die Änderungen in zz010_psa_httpd.conf richtig? Oder muss dies in apache2.conf gemacht werden?


Kann mir bitte jemand einen Tip geben wie die Konfiguration auszusehen hat?

Vielen Dank.

Gruß
starbuck
 
Sind die Änderungen in zz010_psa_httpd.conf richtig?
Grundsätzlich ist dies der falsche Ort. Diese Datei erstellt Plesk und jede manuelle Änderung wird i.d.R. überschrieben. Daher ist die apache2.conf der bessere Ort. Noch geschickter ist es eine eigene Datei zu erstellen.

huschi
 
Back
Top