PageRenderTime 46ms CodeModel.GetById 43ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/phpmyadmin/apache.conf

http://github.com/brinkman83/bashrc
Config | 39 lines | 31 code | 8 blank | 0 comment | 0 complexity | f0389772595fffcf24657a423f798d2a MD5 | raw file
 1# phpMyAdmin default Apache configuration
 2
 3Alias /phpmyadmin /usr/share/phpmyadmin
 4
 5<Directory /usr/share/phpmyadmin>
 6	Options FollowSymLinks
 7	DirectoryIndex index.php
 8
 9	<IfModule mod_php5.c>
10		AddType application/x-httpd-php .php
11
12		php_flag magic_quotes_gpc Off
13		php_flag track_vars On
14		php_flag register_globals Off
15		php_value include_path .
16	</IfModule>
17
18</Directory>
19
20# Authorize for setup
21<Directory /usr/share/phpmyadmin/setup>
22    <IfModule mod_authn_file.c>
23    AuthType Basic
24    AuthName "phpMyAdmin Setup"
25    AuthUserFile /etc/phpmyadmin/htpasswd.setup
26    </IfModule>
27    Require valid-user
28</Directory>
29
30# Disallow web access to directories that don't need it
31<Directory /usr/share/phpmyadmin/libraries>
32    Order Deny,Allow
33    Deny from All
34</Directory>
35<Directory /usr/share/phpmyadmin/setup/lib>
36    Order Deny,Allow
37    Deny from All
38</Directory>
39