whmcs The requested URL /session_login.cgi was not found on this server.

1 post / 0 new
#1 Tue, 10/03/2017 - 19:07

whmcs The requested URL /session_login.cgi was not found on this server.

Hi guys, i have used the install script to install whmcs. When i configure the server in whmcs and then attempt to log into the server from whmcs i get the following error

The requested URL /session_login.cgi was not found on this server.

I am also getting a DNS address could not be found error. I dont see how this can be an issue as i can manually access the webmin admin URL by typing it in the browser!

Shouldnt the /session_login.cgi have been installed already by virtualmin along with the whmcs module script?

Here are the two urls

This is the one i use to access webmin manually...


This is the one whmcs admin area is trying to use which gives me the errors above


AHHHH...woops!!! I see the problem. He he. I am blind as a bat ^_^ (total embarrassment)

How this came about is because of the way in which whmcs requires the hostname to be enterred on whmcs/Servers/Edit Server. I have added http:// in front of my server3.mydomain.com.au and then checked the use "Secure" SSL tickbox at the bottom of the page. Then when that didnt work i unchecked the Secure checkbox, stuffed around with hostnames and in the end totally made a mess of it.

The way to avoid such a mistake is to not add any http... in front of hostname at all. Then when "Secure Tick to use SSL Mode for Connections" is enabled in checkbox down the bottom of the page, the resultant URL isnt a complete mess.