Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.87 KB | None | 0 0
  1. <VirtualHost *:80>
  2.     ServerAdmin webmaster@localhost
  3.  
  4.     DocumentRoot /var/www
  5.     <Directory />
  6.         Options FollowSymLinks
  7.         AllowOverride All
  8.     </Directory>
  9.     <Directory /var/www/>
  10.         Options Indexes FollowSymLinks MultiViews
  11.         AllowOverride All
  12.         Order allow,deny
  13.         allow from all
  14.     </Directory>
  15.  
  16.     ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  17.     <Directory "/usr/lib/cgi-bin">
  18.         AllowOverride None
  19.         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  20.         Order allow,deny
  21.         Allow from all
  22.     </Directory>
  23.  
  24.     ErrorLog /var/log/apache2/error.log
  25.  
  26.     # Possible values include: debug, info, notice, warn, error, crit,
  27.     # alert, emerg.
  28.     LogLevel warn
  29.  
  30.     CustomLog /var/log/apache2/access.log combined
  31.  
  32.     Alias /doc/ "/usr/share/doc/"
  33.     <Directory "/usr/share/doc/">
  34.         Options Indexes MultiViews FollowSymLinks
  35.         AllowOverride None
  36.         Order deny,allow
  37.         Deny from all
  38.         Allow from 127.0.0.0/255.0.0.0 ::1/128
  39.     </Directory>
  40.  
  41.    Alias /pawel/ "/home/pawel/public_html/"
  42.         <Directory /home/pawel/public_html/>
  43.                 Options Indexes FollowSymLinks MultiViews
  44.                 AllowOverride All
  45.                 Order allow,deny
  46.                 allow from all
  47.         </Directory>
  48.  
  49.    <Location /svn/repos>
  50.     DAV svn
  51.     SVNPath /var/svn/repos
  52.  
  53.       AuthType Basic
  54.       AuthName "Subversion Repository"
  55.       AuthUserFile /etc/apache2/passwords
  56.       Require valid-user
  57.  
  58.   </Location>
  59.  
  60.     <Location /trac/[[:alnum]]+/login">
  61.       AuthType Basic
  62.       AuthName "Subversion Repository"
  63.       AuthUserFile /etc/apache2/passwords
  64.       Require valid-user
  65.     </Location>
  66.  
  67.     <Location /trac>
  68.       SetHandler mod_python
  69.       PythonInterpreter main_interpreter
  70.       PythonHandler trac.web.modpython_frontend
  71.       PythonOption TracEnvParentDir /var/www/trac
  72.       PythonOption TracUriRoot /trac
  73.     </Location>
  74.  
  75.  
  76. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement