code.fastix.org

Dateiansicht:

Datei:Projekte -> Linux:Netzwerk für Seminare -> Router_Server -> etc -> apache2 -> sites-available -> 000-default.conf
md5:397bb3576c07f822da79cd16377c1acf
sha1:440ecc517ace735ca8837055bed809e1a5fe20d8
Download-Link:Download
  1. <VirtualHost *:80>
  2.         #ServerName www.example.com
  3.         ServerAdmin webmaster@localhost
  4.         DocumentRoot /var/www/seminar/htdocs
  5.  
  6.         ErrorLog ${APACHE_LOG_DIR}/error.log
  7.         CustomLog ${APACHE_LOG_DIR}/access.log combined
  8.  
  9.         # For most configuration files from conf-available/, which are
  10.         # enabled or disabled at a global level, it is possible to
  11.         # include a line for only one particular virtual host. For example the
  12.         # following line enables the CGI configuration for this host only
  13.         # after it has been globally disabled with "a2disconf".
  14.         #Include conf-available/serve-cgi-bin.conf
  15.  
  16.  
  17.         <Directory "/var/www/seminar/htdocs">
  18.                 AllowOverride All
  19.                 Options MultiViews FollowSymlinks SymLinksIfOwnerMatch IncludesNoExec
  20.                 Options All
  21.                 Order allow,deny
  22.                 Allow from all
  23.         </Directory>
  24.  
  25.         # serve proxy autoconfig correctly:
  26.         <Files "wpad.dat)">
  27.                 AddType application/x-ns-proxy-autoconfig dat
  28.         </Files>
  29.         <Files "proxy.pac">
  30.                 AddType application/x-ns-proxy-autoconfig pac
  31.         </Files>
  32.  
  33. </VirtualHost>
  34.  
  35. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  36.