I’m having problems getting websites to work - getting a 500 internal server error.
I’m running the latest Virtualmin on an Amazon Linux server. Install went ok but can’t get past this issue.
I’m guessing it’s something to do with the Apache virtual server configuration though checking in Webmin it appears to be ok;
default server - any address any port - server name set to domain name used for Virtualmin - doc root ok
virtual server - any address port 443 - as above - doc root ok
virtual server - private IP address of server port 80 - server name correct - doc root ok
No errors in the Apache log.
I thought that everything was being mapped to the default server but this doesn’t appear to be the case as I uploaded a file to it’s www root and got the same error.
You’d want to take a peek at the logfile I mentioned above, $HOME/logs/error_log. That’s the domain’s logfile, which would contain any errors for that domain.
The logs in /var/log/httpd/ wouldn’t actually show those, and would contain system errors that weren’t related to individual domains.
Let us know what errors you see in $HOME/logs/error_log, and we can assist in deciphering those.
I was not able to open those directories but I did find the file in /var/logs/virtualmin. htaccess was the culprit. But my question here is why cant I view the error directory. ownership is correct and perm is 777