<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 2011-05-14 01:19, John Johnson wrote:
<blockquote cite="mid:4DCE10FA.8050708@golden.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<font face="Helvetica, Arial, sans-serif">On 2011-05-14 00:33,
unsolicited wrote:<br>
<br>
</font><tt>< ... snip ... ></tt><font
face="Helvetica, Arial, sans-serif"><br>
<br>
</font>
<blockquote cite="mid:4DCE0609.6010102@swiz.ca" type="cite">
<blockquote type="cite"><font face="Helvetica, Arial, sans-serif"><a
moz-do-not-send="true" class="moz-txt-link-freetext" href="http://">http://</a><real
ip
address>/etc does indeed work w/caveats <br>
a) on the Linux box: the ip address is that of my subnet behind the
router, i.e. 192.168.0.102 <br>
b) on the Win box: (w/HTTP 500 error): the ip adrress is the 'real
world' ip address <br>
</font></blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
For b), you use the same numbers. You cannot browse the www, your own
www server, from within your own network. You cannot go out and come
back in on the same interface. </font></blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
</font><tt>< ... snip ... ></tt><br>
<font face="Helvetica, Arial, sans-serif"><br>
</font><tt>I do go out to the www on the Win box. And back in to the
Linux box.<br>
<br>
And all is OK. (more or less)<br>
index.html is seen and rendered<br>
a website using html/css is accessed and rendered (in the browser on
the Win box)<br>
a php file is accessed and executed ( on the Linux box ) and </tt><tt>rendered
(in
the browser on the Win box)</tt><br>
<tt>And all is OK. (more or less) ... <br>
... except when MySQL code is in a php file ... 500 error<br>
<br>
</tt></blockquote>
<br>
<tt>Whether the ip is www or internal the result is the same:</tt><br>
<br>
<tt>On the Win box: <br>
<a class="moz-txt-link-freetext" href="http://192.168.0.102/testing/index.php">http://192.168.0.102/testing/index.php</a><br>
w/no MySQL code execs & renders OK<br>
<br>
On the Win box: <br>
<a class="moz-txt-link-freetext" href="http://209.213.253.28/testing/index.php">http://209.213.253.28/testing/index.php</a><br>
w/no MySQL code execs & renders OK<br>
<br>
Apache/php is working on the Linux box and is coming through to the
browser on the Win box.<br>
<br>
With index.php replaced with mysqltest.php in both of the above: 500
error.<br>
<br>
JohnJ<br>
</tt><br>
</body>
</html>