forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapache.conf
More file actions
40 lines (37 loc) · 1000 Bytes
/
apache.conf
File metadata and controls
40 lines (37 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# phpMyAdmin default Apache configuration
Alias /%pma_alias% /usr/share/phpmyadmin
<Directory /usr/share/phpmyadmin>
Options FollowSymLinks
DirectoryIndex index.php
<IfModule mpm_event_module>
# Use www.conf instead
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/www.sock|fcgi://localhost"
</FilesMatch>
</IfModule>
</Directory>
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
Order Deny,Allow
Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/setup>
Order Deny,Allow
Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/sql>
Order Deny,Allow
Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/vendor>
Order Deny,Allow
Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/templates>
Order Deny,Allow
Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/locale>
Order Deny,Allow
Deny from All
</Directory>