note 92625 deleted from domdocument.load by thiago

From: Date: Sat, 01 Aug 2009 00:18:37 +0000
Subject: note 92625 deleted from domdocument.load by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158977@lists.php.net to get a copy of this message
Note Submitter: SneakyWho_am_i ---- In reply to admin at tijnema dot tijnema dot info... On a shared webserver (which is a very common thing... I have a dedibox but I have several domains in shared webspace on it), requesting the file from localhost probably won't work since that will set the Host field in the request to "localhost" and the webserver won't be serving the file from the correct domain. However, my DNS stuff is all set up correctly, so by using the actual domain name I can access a file over the network. Works: mygreatdomain.com/myfile.php Fails miserably since the file isn't served from the shared ip page: localhost/myfile.php If you're running a dedibox (which is the most probably case if "localhost" does what you're saying) and your server doesn't know its own domain name, you may want to revise your configuration. ..... Not that it's really relevant to DOMDocument->load()

« previous php.notes (#158977) next »