Results 1 to 3 of 3
January 30th, 2008, 01:24 AM #1yet more virtual includes problem...
Just when I think I have it all fixed...
My host threw another wrench in the works. I was spidering the site for a search index and they firewalled it against types of http requests
anyway, using <!--#include virtual="/file.php"-->
causes on page error
[http://www.mysite.com/file.php: error: 500 Can't connect to www.ezoutlets.com:80 (connect: Connection timed out)]
I think I know the answer already, but is there any way to keep that relative path instead of causing another http request?
January 30th, 2008, 03:02 PM #2
If the extension of the included filename is .txt, then the file is accessed directly from the hard drive. All other file types cause an HTTP request to be issued.
Try using a full URL (including domain name) in the virtual= parameter, such as:
If the domain name is not specified then the request goes to the server that the DySE view.pl script is running on. If a domain name is specified, then that request goes to the specified server.
Since your hosting company is using a firewall, domain name resolution may be not available from behind the firewall (thus "mysite.com" cannot resolve). So ask your hosting company if HTTP requests behind the firewall need to be addressed to a domain other than your server's domain, such as localhost (e.g.: http://localhost/file.php) or your server's IP # (e.g.: http://18.104.22.168/file.php).
If the output of file.php is constant, then save that output to file.txt and then use virtual="/file.txt" instead.
per: David Cusimano
January 31st, 2008, 12:40 AM #3
Thanks for all the suggestions. Hopefully I can avoid changing servers.
By ercole in forum Cusimano.com ScriptsReplies: 1Last Post: June 15th, 2009, 04:43 PM
By 3dhead in forum Cusimano.com ScriptsReplies: 6Last Post: June 10th, 2005, 11:04 AM
By forefront in forum Cusimano.com ScriptsReplies: 2Last Post: February 13th, 2005, 09:35 AM
By smnash in forum Cusimano.com ScriptsReplies: 4Last Post: November 23rd, 2003, 11:33 PM
By rardentech in forum Cusimano.com ScriptsReplies: 5Last Post: June 28th, 2003, 04:55 PM