i've got strange issue apache:
i'm running apache/2.2.22 + php 5.5.27 (dotdeb.org) under debian 7.8.
i made upgrade of php, i'm not sure if it's related restarted apache , http stuff ceased work, https requests correctly handled, virtualhost config of port 80 no more working correctly, seems apache not getting right documentroot (403 on / , file not found subfolders , files) if use http url (ok https stuff).
sites-available/default syntax ok, suexec , open_basedir paths updates didn't help.
it's not related ip (it's not fail2ban, checked on other devices)
it's not permissions or apache running user problem (i tried everything).
i uninstalled (purge) , reinstalled libapache2-mod-php5.
nothing worked.
any clue ?
thanks
ok figured out, it's not php, it's virtualhosts created using virtualmin, here's fix:
disable namevirtualhost lines in /etc/apache2/apache2.conf
replace
<virtualhost xx.xx.xx.xxx:80 [xxxx:xxxx:x:xxxx::]:80><virtualhost *:80>in /etc/apache2/backup/sites-available/ conf filesadd namevirtualhost *:80 @ top of /etc/apache2/sites-available/default file
Comments
Post a Comment