All pastes #610406 Raw Edit

sayotte

public text v1 · immutable
·published 2007-07-09 13:29 UTC
rendered paste body
<VirtualHost _default_:80>
    ServerName voyager.DOMAIN.com
    ServerAlias voyager
    ServerSignature On
    DocumentRoot /srv/vhosts/voyager
    ErrorLog /srv/vhosts/voyager/logs/error.log
    CustomLog /srv/vhosts/voyager/logs/access.log combined

    <Directory "/srv/vhosts/voyager">
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    AccessFileName .htaccess

    <IfModule mod_userdir.c>
            UserDir public_html
            UserDir disable root public_html
    </IfModule>

    <Directory "/srv/vhosts/voyager/icons">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <IfModule mod_dir.c>
        DirectoryIndex index.html
	<IfModule mod_autoindex.c>
            IndexOptions FancyIndexing

            Alias /icons/ "/srv/vhosts/voyager/icons/"

            AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

            AddIconByType (TXT,/icons/text.gif) text/*
            AddIconByType (IMG,/icons/image2.gif) image/*
            AddIconByType (SND,/icons/sound2.gif) audio/*
            AddIconByType (VID,/icons/movie.gif) video/*

            AddIcon /icons/binary.gif .bin .exe
            AddIcon /icons/binhex.gif .hqx
            AddIcon /icons/tar.gif .tar
            AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
            AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
            AddIcon /icons/a.gif .ps .ai .eps
            AddIcon /icons/layout.gif .html .shtml .htm .pdf
            AddIcon /icons/text.gif .txt
            AddIcon /icons/c.gif .c
            AddIcon /icons/p.gif .pl .py
            AddIcon /icons/f.gif .for
            AddIcon /icons/dvi.gif .dvi
            AddIcon /icons/uuencoded.gif .uu
            AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
            AddIcon /icons/tex.gif .tex
            AddIcon /icons/bomb.gif core

            AddIcon /icons/back.gif ..
            AddIcon /icons/hand.right.gif README
            AddIcon /icons/folder.gif ^^DIRECTORY^^
            AddIcon /icons/blank.gif ^^BLANKICON^^

            DefaultIcon /icons/unknown.gif

            ReadmeName README
            HeaderName HEADER
        </IfModule> # mod_autoindex.c
    </IfModule> # mod_dir.c

    ScriptAlias /cgi-bin/ "/srv/vhosts/voyager/cgi-bin/"
    <Directory "/srv/vhosts/voyager/cgi-bin">
        AllowOverride None
        Options +ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>