pkgsrc-ng/www/wordpress/files/wordpress.conf
2016-11-18 22:39:22 +01:00

26 lines
547 B
Plaintext

# $NetBSD: wordpress.conf,v 1.2 2016/08/22 18:11:04 morr Exp $
#
# WordPress configuration file fragment for Apache
<IfModule mod_alias.c>
Alias /wp/ "@WPHOME@/"
</IfModule>
<Directory "@WPHOME@">
Options Indexes
DirectoryIndex index.php index.html
AllowOverride None
Order allow,deny
Allow from all
</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 x.x.x.x
# Deny from all
#</Directory>