tscopp

Untitled

Dec 19th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.50 KB | None | 0 0
  1. <VirtualHost *:80>
  2.         ServerAdmin idsg@eecs.berkeley.edu
  3.         DocumentRoot /phabricator/phabricator/webroot
  4.  
  5.         SetEnv PHABRICATOR_ENV custom/myconfig
  6.  
  7.         RewriteEngine on
  8.         RewriteRule ^/rsrc/(.*)     -                       [L,QSA]
  9.         RewriteRule ^/favicon.ico   -                       [L,QSA]
  10.         RewriteRule ^(.*)$          /index.php?__path__=$1  [B,L,QSA]
  11.  
  12.         <Directory />
  13.                 Options FollowSymLinks
  14.                 AllowOverride None
  15.         </Directory>
  16.         <Directory /var/www/>
  17.                 Options Indexes FollowSymLinks MultiViews
  18.                 AllowOverride None
  19.                 Order allow,deny
  20.                 allow from all
  21.         </Directory>
  22.         ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  23.         <Directory "/usr/lib/cgi-bin">
  24.                 AllowOverride None
  25.                 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  26.                 Order allow,deny
  27.                 Allow from all
  28.         </Directory>
  29.  
  30.         ErrorLog ${APACHE_LOG_DIR}/error.log
  31.         LogLevel warn
  32.         CustomLog ${APACHE_LOG_DIR}/access.log combined
  33. </VirtualHost>
  34.  
  35. <VirtualHost *:443>
  36.         ServerAdmin idsg@eecs.berkeley.edu
  37.         DocumentRoot /phabricator/phabricator/webroot
  38.  
  39.         SetEnv PHABRICATOR_ENV custom/myconfig
  40.  
  41.         SSLEngine on
  42.         SSLCertificateFile certfile
  43.         SSLCertificateKeyFile keyfile
  44.         SSLCACertificateFile /phabricator/libphutil/resources/ssl/default.pem
  45. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment