# Sample itPage Virtual Host # Tested with Apache 2.2.23 and Lasso 8.5.6 on Mac OS X Server # 3/6/10 by Eric Landmann (support@iterate.ws) # Replace "yoursite.com" with relevant domain name and folder # Replace "127.0.0.1" with the IP of your webserver # Replace somebody@yoursite.com with your e-mail address ServerName www.yoursite.com ServerAdmin somebody@yoursite.com DocumentRoot "/Library/WebServer/Documents/yoursite.com" DirectoryIndex "index.lasso" "login.lasso" "index.html" CustomLog "|/opt/local/sbin/cronolog /Library/Webserver/Documents/yoursite.com/logs/www/%Y-%m-%d_access.log" "%h %l %u %a %U %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" ErrorLog "|/opt/local/sbin/cronolog /Library/Webserver/Documents/yoursite.com/logs/www/%Y-%m-%d_error.log" ErrorDocument 404 /error.lasso SSLEngine Off SSLCertificateFile "/etc/certificates/Default.crt" SSLCertificateKeyFile "/etc/certificates/Default.key" SSLCipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP:+eNULL" DAVLockDB "/var/run/davlocks/.davlock100" DAVMinTimeout 600 CacheEnable mem / MCacheSize 4096 AllowOverride None DAV Off Options All -Includes -ExecCGI +MultiViews -Indexes # Disallow .svn directory and contents Order allow,deny Deny from all RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F] # Disallow direct serving of .inc files RewriteCond %{REQUEST_URI} ^.*\.inc$ [NC] RewriteRule (.*) - [L,NS,F] Include "/etc/apache2/lasso8.conf" LogLevel warn ServerAlias *.yoursite.com # itPage Clean URL handling SetHandler lasso8-handler SetHandler lasso8-handler