Server/Jail/SRS16/2015: Unterschied zwischen den Versionen

Aus Wiki StuRa HTW Dresden
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
(httpd conf)
Zeile 4: Zeile 4:




=== apache ===


==== httpd.conf ====
<code>
ServrerAdmin '''you@example.com'''
<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>
[[Kategorie:Rechentechnik]]
[[Kategorie:Rechentechnik]]
[[Kategorie:Software]]
[[Kategorie:Software]]
[[Kategorie:Jail]]
[[Kategorie:Jail]]

Version vom 16. September 2013, 23:10 Uhr

Ports

installierte Ports

  • apr
  • asciidoc
  • atk
  • autoconf
  • autoconf-wrapper
  • automake
  • automake-wrapper
  • bdftopcf
  • bigreqsproto
  • bison
  • bitstream-vera
  • boehm-gc+fulldebug
  • bsdadminscripts
  • ca_root_nss
  • cairo
  • cmake
  • cmake-modules
  • compositeproto
  • curl
  • cvsps
  • damageproto
  • db41
  • db42
  • dejavu
  • dialog4ports
  • docbook
  • docbook-sk
  • docbook-xml
  • docbook-xsl
  • encodings
  • expat
  • fixesproto
  • font-bh-ttf
  • font-misc-ethiopic
  • font-misc-meltho
  • font-util
  • fontconfig
  • fontsproto
  • freetype2
  • gamin
  • gdbm
  • gdk-pixbuf2
  • getopt
  • gettext
  • gio-fam-backend
  • git
  • glib
  • gmake
  • gnomehier
  • gobject-introspection
  • gtk
  • gtk-update-icon-cache
  • help2man
  • hicolor-icon-theme
  • icu
  • inputproto
  • intltool
  • iso8879
  • jasper
  • jbigkit
  • jpeg
  • kbproto
  • libICE
  • libSM
  • libX11
  • libXau
  • libXcomposite
  • libXcursor
  • libXdamage
  • libXdmcp
  • libXext
  • libXfixes
  • libXfont
  • libXft
  • libXi
  • libXinerama
  • libXrandr
  • libXrender
  • libXt
  • libcheck
  • libevent
  • libevent2
  • libexecinfo
  • libffi
  • libfontenc
  • libgcrypt
  • libgpg-error
  • libiconv
  • libpaper
  • libpthread-stubs
  • libsigsegv
  • libssh2
  • libtool
  • libxcb
  • libxml2
  • libxslt
  • libyaml
  • lynx
  • m4
  • mkfontdir
  • mkfontscale
  • neon29
  • p5-Error
  • p5-IO-Socket-IP
  • p5-IO-Socket-SSL
  • p5-Locale-gettext
  • p5-Net-SMTP-SSL
  • p5-Net-SSLeay
  • p5-Socket
  • p5-Term-ReadKey
  • p5-URI
  • p5-XML-Parser
  • p5-subversion
  • pango
  • pcre
  • perl-threaded
  • pixman
  • pkgconf
  • png
  • portaudit
  • portupgrade
  • python27
  • python33
  • randrproto
  • renderproto
  • ruby
  • ruby18-bdb
  • ruby19-bdb
  • ruby19-date2
  • shared-mime-info
  • sqlite3
  • subversion
  • tiff
  • tmux
  • unzip
  • vim-lite
  • w3m
  • xcb-proto
  • xcb-util
  • xcb-util-renderutil
  • xcmiscproto
  • xextproto
  • xf86bigfontproto
  • xineramaproto
  • xmlcatmgr
  • xmlcharent
  • xmlto
  • xorg-fonts-truetype
  • xorg-macros
  • xproto
  • xtrans
  • zsh

konfigurierte Ports

apr

OPTIONS_FILE_SET+=SSL
OPTIONS_FILE_SET+=THREADS
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_SET+=DEVRANDOM
OPTIONS_FILE_SET+=BDB
OPTIONS_FILE_SET+=GDBM
OPTIONS_FILE_UNSET+=LDAP
OPTIONS_FILE_UNSET+=MYSQL
OPTIONS_FILE_UNSET+=NDBM
OPTIONS_FILE_UNSET+=PGSQL
OPTIONS_FILE_UNSET+=SQLITE
OPTIONS_FILE_UNSET+=FREETDS

python27

OPTIONS_FILE_UNSET+=EXAMPLES
OPTIONS_FILE_UNSET+=FPECTL
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_SET+=NLS
OPTIONS_FILE_UNSET+=PTH
OPTIONS_FILE_SET+=PYMALLOC
OPTIONS_FILE_UNSET+=SEM
OPTIONS_FILE_SET+=THREADS
OPTIONS_FILE_UNSET+=UCS2
OPTIONS_FILE_SET+=UCS4


apache

httpd.conf


…
ServrerAdmin you@example.com
…

<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
…

httpd-vhost.conf


<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>