[BlueOnyx:13815] Re: PHP issue with site

Bob Wickline wick at bobwickline.com
Mon Oct 7 21:29:39 -05 2013


On 10/07/2013 09:23 PM, Gerald Waugh wrote:
> On 10/07/2013 06:33 PM, Bob Wickline wrote:
>> Having an issue with a users webpage.  They have a php script that is
>> not executing correctly.  The site was working correctly on a Solaris
>> host running apache 2 webserver.  I copied the files from the site to
>> the "web" directory for the site.  All the other times I've done this it
>> has worked fine.  Here's an excerpt from the error_log (see last line):
>>
>> [root at bowebserver ~]# tail -20 /etc/httpd/logs/error_log
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.204:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.204:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.204:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.205:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.205:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.205:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.205:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.205:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.208:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.208:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.208:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.208:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [warn] NameVirtualHost xxx.xxx.xxx.208:80 has
>> no VirtualHosts
>> [Mon Oct 07 18:20:59 2013] [notice] Digest: generating secret for digest
>> authentication ...
>> [Mon Oct 07 18:20:59 2013] [notice] Digest: done
>> [Mon Oct 07 18:20:59 2013] [warn] No JkShmFile defined in httpd.conf.
>> Using default /etc/httpd/logs/jk-runtime-status
>> [Mon Oct 07 18:20:59 2013] [notice] Apache/2.2.15 (Unix) DAV/2
>> mod_jk/1.2.32 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.0-fips mod_perl/2.0.4
>> Perl/v5.10.1 configured -- resuming normal operations
>> [Mon Oct 07 18:21:17 2013] [error] [client xxx.xxx.xxx.92] malformed
>> header from script. Bad header=/home/.sites/112/site7/.users/:
>> contact.php, referer: http://www.somedomain.com/reservations.php
>> [root at bowebserver ~]#
>>
>> The error message on the screen is:
>>
>> "Internal Server Error:  The server encountered an internal error or
>> misconfiguration ad was unable to complete your request.  Your
>> adminstrator may not have enabled CGIaccess to this directory."
>>
>> Any ideas would be appreciated.  I have tried it with both suPHP enabled
>> and disabled and neither works.  CGI is enabled. "contact.php" is in the
>> sites "web" directory.
>>
>> _
> Check the ownership of the script and other files in the web directory
> for suphp try site admin
>

Yes I checked that.  Files are owned by site admin.




More information about the Blueonyx mailing list