From 90de9435ebe43a7d888a486bae8c31f971265ba6 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 26 Aug 2020 11:16:46 +0000 Subject: [PATCH] Added apache config for WP --- CMS/wordpress/Apache-unconfigured | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 CMS/wordpress/Apache-unconfigured diff --git a/CMS/wordpress/Apache-unconfigured b/CMS/wordpress/Apache-unconfigured new file mode 100644 index 0000000..feb2c84 --- /dev/null +++ b/CMS/wordpress/Apache-unconfigured @@ -0,0 +1,36 @@ +#beginConf + +ErrorLog ${APACHE_LOG_DIR}/SITEname_error.log +#CustomLog ${APACHE_LOG_DIR}/SITEname_custom.log combined + +DirectoryIndex index.php index.html index.htm +DocumentRoot /var/www/DOMAINname/html + + + + Options FollowSymLinks + AllowOverride Limit Options FileInfo + DirectoryIndex index.php + Order allow,deny + Allow from all + + RewriteEngine On + RewriteBase / + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule . /index.php [L] + + + + + Options FollowSymLinks + Order allow,deny + Allow from all + + + + + SetHandler "proxy:unix:/var/run/php/phpPHPver-fpm-SITEname.sock|fcgi://localhost" + + +#endConf \ No newline at end of file