Hi, Apache experts.
My server supports several virtual hosts (rwhutter.com, finknetwork.com,
learnhere.info) that use PHP. Two are running WordPress. Under
finknetwork.com is a Tiny Tiny RSS (www.tt-rss.org) installation at
(http://finknetwork.com/tt-rss/). This is not packaged for Debian, so I
installed it manually. It worked fine until yesterday, then suddenly the
PHP scripts started downloading instead of running.
The same darn Apache 2 instance continues to work fine for two separate
WordPress setups.
However, a third WP that I set up years ago under finknetwork.com also
stopped working: (http://finknetwork.com/learning/).
What the heck?
Debian Jesse server, with these packages:
apache2 2.4.25-3+deb9u9|
libapache2-mod-php7.0 7.0.33-0+deb9u6
a2enmod reports that the PHP7.0 module is already enabled.
What changed in the past couple of days to cause this? Why are the
WordPress sites unaffected? How can I fix this?
Thanks for your attention.
There is no .htaccess. Contents of finknetwork.com.conf follow:
<VirtualHost *:80>
SuexecUserGroup "#1000" "#1000"
ServerName finknetwork.com
ServerAlias www.finknetwork.com
ServerAlias webmail.finknetwork.com
ServerAlias admin.finknetwork.com
ServerAlias autoconfig.finknetwork.com
ServerAlias autodiscover.finknetwork.com
DocumentRoot /home/finknetwork/public_html
ErrorLog /var/log/virtualmin/finknetwork.com_error_log
CustomLog /var/log/virtualmin/finknetwork.com_access_log combined
ScriptAlias /cgi-bin/ /home/finknetwork/cgi-bin/
ScriptAlias /awstats/ /home/finknetwork/cgi-bin/
ScriptAlias /AutoDiscover/AutoDiscover.xml
/home/finknetwork/cgi-bin/autoconfig.cgi
ScriptAlias /Autodiscover/Autodiscover.xml
/home/finknetwork/cgi-bin/autoconfig.cgi
ScriptAlias /autodiscover/autodiscover.xml
/home/finknetwork/cgi-bin/autoconfig.cgi
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /home/finknetwork/public_html>
Options +Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
allow from all
AllowOverride All
Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
AddType application/x-httpd-php .php
</Directory>
<Directory /home/finknetwork/cgi-bin>
allow from all
AllowOverride All
Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
Require all granted
</Directory>
RewriteEngine on
RewriteCond %{HTTP_HOST} =webmail.finknetwork.com
RewriteRule ^(.*) https://finknetwork.com:20000/ [R]
RewriteCond %{HTTP_HOST} =admin.finknetwork.com
RewriteRule ^(.*) https://finknetwork.com:10000/ [R]
RemoveHandler .php
RemoveHandler .php7.0
#php_admin_value engine Off
<Files awstats.pl>
AuthName "finknetwork.com statistics"
AuthType Basic
AuthUserFile /home/finknetwork/.awstats-htpasswd
require valid-user
</Files>
Redirect /mail/config-v1.1.xml /cgi-bin/autoconfig.cgi
Redirect /.well-known/autoconfig/mail/config-v1.1.xml
/cgi-bin/autoconfig.cgi
IPCCommTimeout 31
php_admin_value engine Off
</VirtualHost>
--
Carl Fink nitpick...@nitpicking.com
Read my blog at blog.nitpicking.com. Reviews! Observations!