Aktuelle Version |
Dein Text |
Zeile 1: |
Zeile 1: |
| ; Verwendungszweck:
| |
| * [[ownCloud]] ([[Dateiverwaltung]]) für [http://cloud.htw.stura-dresden.de cloud.htw.stura-dresden.de]
| |
| <!--
| |
| '''Lauft!'''
| |
| -->
| |
|
| |
| == [[Server/Jails/SRS16/Ports |Ports]] == | | == [[Server/Jails/SRS16/Ports |Ports]] == |
|
| |
|
Zeile 10: |
Zeile 4: |
|
| |
|
|
| |
|
| === apache ===
| |
|
| |
| ==== httpd.conf ====
| |
|
| |
| <code>
| |
| …
| |
| ServrerAdmin '''you@example.com'''
| |
| …
| |
| LoadModule authn_file_module libexec/apache24/mod_authn_file.so
| |
| LoadModule authn_core_module libexec/apache24/mod_authn_core.so
| |
| LoadModule authz_host_module libexec/apache24/mod_authz_host.so
| |
| LoadModule authz_groupfile_module libexec/apache24/mod_authz_groupfile.so
| |
| LoadModule authz_user_module libexec/apache24/mod_authz_user.so
| |
| LoadModule authz_core_module libexec/apache24/mod_authz_core.so
| |
| LoadModule access_compat_module libexec/apache24/mod_access_compat.so
| |
| LoadModule auth_basic_module libexec/apache24/mod_auth_basic.so
| |
| LoadModule reqtimeout_module libexec/apache24/mod_reqtimeout.so
| |
| LoadModule include_module libexec/apache24/mod_include.so
| |
| LoadModule filter_module libexec/apache24/mod_filter.so
| |
| LoadModule mime_module libexec/apache24/mod_mime.so
| |
| LoadModule log_config_module libexec/apache24/mod_log_config.so
| |
| LoadModule env_module libexec/apache24/mod_env.so
| |
| LoadModule headers_module libexec/apache24/mod_headers.so
| |
| LoadModule setenvif_module libexec/apache24/mod_setenvif.so
| |
| LoadModule version_module libexec/apache24/mod_version.so
| |
| LoadModule unixd_module libexec/apache24/mod_unixd.so
| |
| LoadModule status_module libexec/apache24/mod_status.so
| |
| LoadModule autoindex_module libexec/apache24/mod_autoindex.so
| |
| LoadModule cgi_module libexec/apache24/mod_cgi.so
| |
| LoadModule dir_module libexec/apache24/mod_dir.so
| |
| LoadModule alias_module libexec/apache24/mod_alias.so
| |
| LoadModule rewrite_module libexec/apache24/mod_rewrite.so
| |
| LoadModule php5_module libexec/apache24/libphp5.so
| |
|
| |
| <IfModule php5_module>
| |
| DirectoryIndex index.php index.php5 index.html
| |
| AddType application/x-httpd-php .php
| |
| AddType application/x-httpd-php-source .phps
| |
| </IfModule>
| |
|
| |
| ServerName '''www.example.com''':80
| |
| …
| |
|
| |
| # Virtual hosts
| |
| Include etc/apache22/extra/httpd-vhosts.conf
| |
| …
| |
| </code>
| |
|
| |
| ==== httpd-vhost.conf ====
| |
|
| |
| <code>
| |
| <VirtualHost cloud.htw.stura-dresden.de:80>
| |
| ServerAdmin webmaster@stura.htw-dresden.de
| |
| DocumentRoot "/usr/local/www/owncloud"
| |
| ServerName cloud.htw.stura-dresden.de
| |
| ServerAlias www.cloud.htw.stura-dresden.de
| |
| AcceptPathInfo On
| |
| <Directory /usr/local/www/owncloud>
| |
| Options Indexes FollowSymLinks
| |
| DirectoryIndex index.php index.php5 index.html
| |
| AllowOverride All
| |
| Require all granted
| |
| </Directory>
| |
| ErrorLog "/var/log/stura_owncloud-error_log"
| |
| </VirtualHost>
| |
| </code>
| |
|
| |
| == Siehe auch ==
| |
| * [[Server/Dateiverwaltung]]
| |
|
| |
|
| [[Kategorie:Rechentechnik]] | | [[Kategorie:Rechentechnik]] |
| [[Kategorie:Software]] | | [[Kategorie:Software]] |
| [[Kategorie:Jail]] | | [[Kategorie:Jail]] |