Subversion Repositories configs

Rev

Blame | Last modification | View Log | RSS feed

<Directory "/var/www/html/mythweb">
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all

        SetEnv db_server "localhost"
        SetEnv db_name "mythconverg"
        SetEnv db_login "mythtv"
        SetEnv db_password "mythtv"

        RewriteEngine on
        RewriteRule ^(css|data|images|js|themes|skins|README|INSTALL|[a-z_]+\.(php|pl))(/|$) - [L]
        RewriteRule ^(pl(/.*)?)$ mythweb.pl/$1 [QSA,L]
        RewriteRule ^(.+)$ mythweb.php/$1 [QSA,L]
        RewriteRule ^(.*)$ mythweb.php [QSA,L]

        AddType video/nuppelvideo .nuv
        AddType image/x-icon .ico

        <Files *.pl>
                SetHandler cgi-script
                Options +ExecCGI
        </Files>

</Directory>