All pastes #77632 Raw Edit

matthew_i

public text v1 · immutable
·published 2006-07-03 06:33 UTC
rendered paste body
<VirtualHost *>
        ServerAdmin webmaster@matt-land.com

        DocumentRoot /usr/share/softcopy/scripts
        ServerName beta.matt-land.com
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>

        Alias /themes /usr/share/softcopy/themes/data
        <Directory /usr/share/softcopy/themes/data>
                Options FollowSymLinks IncludesNOEXEC MultiViews -Indexes
                AllowOverride None

                Order allow,deny
                allow from all
        </Directory>


#        <Directory /home/matthew/Projects/matt-land.com/website/www>
#                Options FollowSymLinks IncludesNOEXEC MultiViews
#                AllowOverride None
#                DirectoryIndex index.xhtml index.html index.cgi
#
#                Order allow,deny
#                allow from all
#
#
#                # Send Internet Explorer 6 users to get a real browser.
#                RewriteEngine on
#                RewriteCond %{REQUEST_URI} !^/ie6.html$
#                RewriteCond %{REQUEST_URI} !^/styles/ie.css$
#                RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4(.*)MSIE\s[456]
#                RewriteRule ^.*$ /ie6.html [redirect=temp,last]
#        </Directory>

        ScriptAlias / /usr/share/softcopy/scripts/
        <Directory "/usr/share/softcopy/scripts">
                AllowOverride None
                DirectoryIndex articles
                Options ExecCGI -MultiViews +SymLinksIfOwnerMatch -Indexes
                Order allow,deny
                Allow from all
        </Directory>

        ErrorDocument 404 /error/404
        ErrorDocument 403 /error/403
        ErrorDocument 500 /error/500

        ErrorLog /var/log/apache2/beta.matt-land.com/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/beta.matt-land.com/access.log combined
        ServerSignature On

</VirtualHost>