pkgsrc/www/wordpress/files/wordpress.conf
morr 456c34f473 pkgsrc changes to package:
- Add missing php modules
- Limit work with php-5.6
- Improve the wordpress.conf
- Install wp-config-sample.php to WPHOME but not EGDIR

Patch from wen heping.
2016-08-22 18:11:04 +00:00

25 lines
547 B
Text

# $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>