Sorry, I answered 2 questions without clarifying. The error log entry is unrelated to the HTTP request info. I removed the javascript from each page that was calling the phpmv2 function that was causing numerous instances of that message. It was just to point out I have checked the logs and there are no errors related to the CAPTCHA issue.
I also posted the wrong response header above. I actually posted the response from the page that the link is on to open the appointment request form in a separate window.
I've isolated the input form on it's own page in a small pop-up window (it's always been that way) and the response headers are the same, just smaller file size:
Date: Thu, 17 Jun 2010 17:42:51 GMT
Server: Apache
X-Powered-By: PHP/5.2.4-2ubuntu5.10
Cache-Control: max-age=7200
Expires: Thu, 17 Jun 2010 19:42:51 GMT
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 1126
Content-Type: text/html
200 OK
The source code of the isolated pop up window (http://www.example.com/another-domain-directory/docs/ext/request.php) looks like this:
<html>
<head>
<meta name="robots" content="noindex, nofollow">
<title>Appointment Inquiry Form Mail</title>
<style>
style here {
blah blah blah
}
</style>
</head>
<body>
<p>
<center>
Appointment Inquiry Form
<?php include("../mailforms/appointment.php"); ?>
</center>
</p>
</body>
</html>
I've tried applying the full path (<?php include ("http://www.example.com/another-domain-directory/docs/mailforms/appointment.php"); ?>) as suggested in other forums but that caused more grief and errors:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /var/www/vhosts/
example.com/httpdocs/another-domain-directory/docs/ext/request.php on line 26
Warning: include(http://
www.example.com/another-domain-directory/docs/mailforms/appointment.php) [function.include]: failed to open stream: no suitable wrapper could be found in /var/www/vhosts/
example.com/httpdocs/another-domain-directory/docs/ext/request.php on line 26
Warning: include() [function.include]: Failed opening 'http://
www.example.com/another-domain-directory/docs/mailforms/appointment.php' for inclusion (include_path='.:') in /var/www/vhosts/
example.com/httpdocs/another-domain-directory/docs/ext/request.php on line 26
I notice that the above
error messages are returning 2 different URLs of the domain --
example.com and
www.example.com but I have no idea if that is somehow related to my problem :(
Tried: Options +FollowSymLinks -MultiViews (it changed nothing).
Tried: Options +FollowSymLinks -AcceptPathInfo (the server coughed up a furball, started chewing off it's tail, and generated a 500 Internal Server Error).
The full contents of the .htaccess file looks like this:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 2 hours"
ExpiresByType text/php "access plus 2 hours"
ExpiresByType text/xml "access plus 2 hours"
ExpiresByType text/plain "access plus 2 hours"
ExpiresByType text/inc "access plus 2 hours"
ExpiresByType application/x-javascript "access plus 60 days"
ExpiresByType application/js "access plus 60 days"
ExpiresByType text/css "access plus 1 year"
ExpiresByType application/pdf "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/ico "access plus 1 year"
</IfModule>
<FilesMatch "\\.(php|css|html|htm|xml|txt|js)$">
SetOutputFilter DEFLATE
</FilesMatch>