helmut2509 Posted August 17, 2014 Share Posted August 17, 2014 Hello, after some months absence, I continue working on my ProcessWire project. To my surprise I am confronted with a strange error: the "view page" url in my live app refers to localhost (localhost/contact), whereas all other urls (edit, new, move) refer correctly to my live app. That is the case for all pages. Any explanation for this error? thx, Helmut Link to comment Share on other sites More sharing options...
Gayan Virajith Posted August 17, 2014 Share Posted August 17, 2014 Please double check HTTP Hosts Whitelist settings under site/config.php. /** * Installer: HTTP Hosts Whitelist * */ $config->httpHosts = array('example.com', 'www.example.com'); Thanks 1 Link to comment Share on other sites More sharing options...
helmut2509 Posted August 17, 2014 Author Share Posted August 17, 2014 Please double check HTTP Hosts Whitelist settings under site/config.php. /** * Installer: HTTP Hosts Whitelist * */ $config->httpHosts = array('example.com', 'www.example.com'); Thanks Thanks for the right answer! The content of the array was just 'localhost'. I replaced it with my live domain name and now it works. However, I do not understand, why only the 'view' function was affected and but not 'edit', 'new' and move.... 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now