Permalink
Browse files

add a sample vhost configuration

  • Loading branch information...
1 parent 7bb9093 commit 79b5b7b07ff793f9ed790d57fe519763ee7343dd @reneeb committed Feb 18, 2011
Showing with 29 additions and 0 deletions.
  1. +29 −0 opar_vhost.conf
View
@@ -0,0 +1,29 @@
+<VirtualHost *:80>
+ ServerAdmin webmaster@localhost
+
+ DocumentRoot /opt/opar/html/
+ <Directory /opt/opar/html/>
+ Options Indexes FollowSymLinks MultiViews
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ </Directory>
+
+ # call http://localhost/bin/index.cgi/login ...
+ ScriptAlias /bin/ /opt/opar/opar/
+ <Directory "/usr/lib/cgi-bin">
+ AllowOverride None
+ Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
+ Order allow,deny
+ AddHandler cgi-script .cgi
+ Allow from all
+ </Directory>
+
+ ErrorLog ${APACHE_LOG_DIR}/error.log
+
+ # Possible values include: debug, info, notice, warn, error, crit,
+ # alert, emerg.
+ LogLevel warn
+
+ CustomLog ${APACHE_LOG_DIR}/access.log combined
+</VirtualHost>

0 comments on commit 79b5b7b

Please sign in to comment.