# # Apache configuration directives for MythWeb. # # Note that this file is maintained by the network administration. # For Apache 2.2 #Options -All +FollowSymLinks +IncludesNoExec # For Apache 2.4+ Options +FollowSymLinks +IncludesNoExec setenv db_server "127.0.0.1" setenv db_name "mythconverg" setenv db_login "mythtv" setenv db_password "{{ mythtv_dbpass }}" php_value file_uploads 0 php_value allow_url_fopen On php_value zlib.output_handler Off php_value memory_limit 64M php_value max_execution_time 30 php_value display_startup_errors On php_value display_errors On 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] AllowOverride All Options FollowSymLinks AddType video/nuppelvideo .nuv AddType image/x-icon .ico BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4\.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/x-javascript Header append Vary User-Agent env=!dont-vary SetHandler cgi-script Options +ExecCGI