]> git.pld-linux.org Git - packages/mythplugins.git/blame - mythweb.conf
- merged 0.19 from DEVEL
[packages/mythplugins.git] / mythweb.conf
CommitLineData
ac6be0fb
ER
1# $Id$
2
1824b804
ER
3Alias /mythweb /usr/share/mythweb
4<Directory /usr/share/mythweb>
5
6<IfModule !mod_auth.c>
7 deny from all
8 allow from localhost
9</IfModule>
10<IfModule mod_auth.c>
11 AuthType Basic
12 AuthName "MythTV"
13 AuthUserFile /etc/mythweb/htpasswd
14 Require valid-user
15 allow from all
16</IfModule>
f923a4ba
ER
17
18# If you have nuv files that are actually mpeg2 files, uncomment this
19#AddType video/mpeg .nuv
20# If you have normal software-encoded nuv files, use this type
ac6be0fb 21#AddType video/nuppelvideo .nuv
f923a4ba
ER
22
23# Some special handlers for php
24# These settings are intended for apache 2.x. If your version of apache
25# doesn't support php_value, or things like memory_limit aren't working
26# as expected, then use these settings as examples for your own php.ini
27# files.
28<FilesMatch "\.php$">
29 php_value safe_mode 0
30
31 php_value memory_limit 32M
32
1824b804 33 php_value session.save_path /var/cache/mythweb/php_sessions
f923a4ba 34
f923a4ba
ER
35 php_value register_globals 0
36 php_value magic_quotes_gpc 0
37 php_value file_uploads 0
38 php_value allow_url_fopen On
39
40 php_value zlib.output_handler Off
41 php_value zlib.output_compression 16384
42 php_value zlib.output_compression_level 4
43
44 php_value url_rewriter.tags a=href,area=href,frame=src,input=src,form=action
45
46# These values do not change - bug in php
47 php_value output_handler NULL
48 php_value short_open_tag 1
49
50# php_flag does not work in older versions of php
51 php_flag output_handler "NULL"
52 php_flag short_open_tag "On"
53
54</FilesMatch>
ac6be0fb 55
1824b804
ER
56</Directory>
57
ac6be0fb 58# vim: filetype=apache ts=4 sw=4 et
This page took 0.107254 seconds and 4 git commands to generate.