ernieball_d
New member
- Joined
 - Mar 9, 2010
 
- Messages
 - 1
 
I've just completed my DA installation on Centos.
Everything seems to work fine however, when trying to access PHPMyAdmin it goes to: http://IPSERVER/phpmyadmin
This comes with an error page:
	
	
	
		
When i access PHPMyAdmin through the domain name: http://DOMAIN.COM/phpmyadmin everything seems to work fine.
The same problem occurs for Squirrelmail and Roundcube
Is there anyone who knows what could be wrong?
Thanks..
EDIT:
I found this in the error log (i 'X'-ed out the ip address with the hostname section):
	
	
	
		
EDIT: Appears the ModSecurity setting was rejecting the connections..
CASE CLOSED
				
			Everything seems to work fine however, when trying to access PHPMyAdmin it goes to: http://IPSERVER/phpmyadmin
This comes with an error page:
		Code:
	
	Bad Request
Your browser sent a request that this server could not understand.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
	When i access PHPMyAdmin through the domain name: http://DOMAIN.COM/phpmyadmin everything seems to work fine.
The same problem occurs for Squirrelmail and Roundcube
Is there anyone who knows what could be wrong?
Thanks..
EDIT:
I found this in the error log (i 'X'-ed out the ip address with the hostname section):
		Code:
	
	ModSecurity: Access denied with code 400 (phase 2). Pattern match "^[\\d\\.]+$" at REQUEST_HEADERS:Host. [file "/etc/modsecurity2/optional_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "60"] [id "960017"] [msg "Host header is a numeric IP address"] [severity "CRITICAL"] [tag "PROTOCOL_VIOLATION/IP_HOST"] [hostname "X.X.X.X"] [uri "/phpmyadmin"] [unique_id "S5bAKlGrU0EAADi0HfEAAAAA"]
	EDIT: Appears the ModSecurity setting was rejecting the connections..
CASE CLOSED
			
				Last edited: