temp URL prior to DNS change - with OLS

SupermanInNY

Verified User
Joined
Sep 28, 2004
Messages
428
Hi All,

Using OpenLiteSpeed, how do I set a temporary URL to see a preview of the website?

http://1.2.3.4/~username/ ?

Do I need to set anything in directadmin.conf? or somewhere else?
I get a Mod_security error of 406: Host header is a numeric IP address

"response":{"http_code":406,"headers":{}},"producer":{"modsecurity":"ModSecurity v3.0.2 (Linux)","connector":"mod_security 1.4","secrules_engine":"Enabled","components":["OWASP_CRS/3.3.0\""]},"messages":[{"message":"Host header is a numeric IP address","details":{"match":"Matched \"Operator `Rx' with parameter `^[\\d.:]+$' against variable `REQUEST_HEADERS:host' (Value: `1.2.3.4' )","reference":"o0,13v364,13","ruleId":"920350","file":"/etc/modsecurity.d/REQUEST-920-PROTOCOL-ENFORCEMENT.conf","lineNumber":"718","data":"1.2.3.4","severity":"4","ver":"OWASP_CRS/3.3.0","rev":"","tags":["application-multi","language-multi","platform-multi","attack-protocol","paranoia-level/1","OWASP_CRS","capec/1000/210/272","PCI/6.5.10"],"maturity":"0","accuracy":"0"}}]}}


Thanks,

-Sup
 
Last edited:
Back
Top