You are not logged in.
My apache is working and running
My main config listens on port 10080 this is working.
My virtualhost listens on port 80 this does'nt work. However if i look in the access log i see a message that i have a requested a page. By this i assume that fhe file linking is correct.
My nftable got rules to allow port 80 and 10080
Allso w3m localhost tels me host not found
Here's my vhost config.
<VirtualHost *:80>
ServerName trixke.com
ServerAdmin foo@bar.com
SetEnv USING_HTTPS 0
DocumentRoot "/home/gunther/public_html"
ErrorLog "/var/log/httpd/trixke.com-error_log"
CustomLog "/var/log/httpd/trixke.com-access_log" common
<Directory "/home/gunther/public_html">
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
ServerName trixke.com
ServerAdmin foo@bar.com
SetEnv USING_HTTPS 1
SSLOptions +StdEnvVars
DocumentRoot "/home/gunther/public_html"
SSLEngine on
SSLCertificateFile "/etc/httpd/conf/server.crt"
SSLCertificateKeyFile "/etc/httpd/conf/server.key"
ErrorLog "/var/log/httpd/trixke.com-error_log"
CustomLog "/var/log/httpd/trixke.com-access_log" common
<Directory "/home/gunther/public_html">
Require all granted
</directory>
</VirtualHost>Any assistance?
Last edited by Gunther74 (2018-03-03 15:59:54)
Offline
Does the http user have read access to the files/directories it's trying to serve?
Offline
Does the http user have read access to the files/directories it's trying to serve?
Yes i have added the user in the group.
I forgot to mention, the virtualhost worked before on a higher port.
It stoped working but im not sure when exactely.
The log show a error about the ssl certificate aswell but that doesn't explain why the http is not working.
Offline
I figured i have a hardware problem, ssh is lagging like hell even local sthings go weird. I tryed to restart using a usb drive the shell is freezing for 5 sec every once in a while, allso tryed different distro iso's they even dont boot up anymore.
Gone trobleshoot the hardware first then reinstall.
Offline