blob: 2d9eae49339137dcf2f8c03cfdb641cd0b97f96b (
plain)
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
|
# $NetBSD: wordpress.conf,v 1.1 2013/11/10 11:13:08 ryoon Exp $
#
# WordPress configuration file fragment for Apache
AddHandler application/x-httpd-php .php
Alias /wordpress @WPHOME@
<Directory "@WPHOME@">
DirectoryIndex index.php
Options All
Allow from All
AllowOverride All
Require all granted
#
# ANd insert any custom directives here
#
</Directory>
#
# For security, don't serve pages from the WordPress admin interface to
# the entire web.
#
<Directory "@WPHOME@/wp-admin">
Order deny,allow
Allow from localhost
Allow from 192.168.
Deny from all
</Directory>
|