| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-21-2009, 05:39 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Rep:
|
HTTPD times out with PHP include files on CENTOS5
Errors Only happen on external addresses: (Not on my local network 192.x.x.x).
Web page times out under the following conditions:
Web page (PHP) index.php
Includes many files (PHP INCLUDE STATEMENT)
The include files use imagemap or images from a server...
Ex:
<area shape="rect" coords="856,23,951,46" href="http://www.example.com/redirect.cgi?ss=<?php echo "$ss"; ?>&page=example/index" target="_blank" alt="Some random text" />
If this line is in the file it will timeout on ONLY external clients (not on the 192.x.x.x network)
This exact code WORKED on another centos server so I'm thinking there is something I'm missing on setup or access controls.
If I just put in some generic php or html the file loads at the remote web browsers just fine.
It seems to be the alt tags or reference to img maps/images that cause the issues. I can echo the statement through php and get the same issue.
Checked for unprintable chars...
I've been working on this tonight to no avail...
Any help would be appreciated.
Thanks
P.S.
here is the System Config
System hostname BH-Linux-01
Operating system CentOS Linux 5.4
Webmin version 1.500
Time on system Mon Dec 21 04:18:34 2009
Kernel and CPU Linux 2.6.18-164.9.1.el5 on x86_64
Processor information Intel(R) Core(TM) i7 CPU 975 @ 3.33GHz, 8 cores
System uptime 3 days, 12 hours, 11 minutes
Running processes 254
CPU load averages 0.00 (1 min) 0.02 (5 mins) 0.00 (15 mins)
Real memory 11.72 GB total, 435.81 MB used
Virtual memory 13.69 GB total, 0 bytes used
Local disk space 5.27 TB total, 287.91 GB used
|
|
|
|
12-21-2009, 03:24 PM
|
#2
|
|
Member
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365
Rep:
|
Is there any clue in the Apache error logs? (assuming your using Apache). Also, what time-out settings do you have set in php.ini, and I noticed your using short-tags '<?', are these enabled in php.ini?
|
|
|
|
12-22-2009, 01:49 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by harry edwards
Is there any clue in the Apache error logs? (assuming your using Apache). Also, what time-out settings do you have set in php.ini, and I noticed your using short-tags '<?', are these enabled in php.ini?
|
Yes I am using apache and no message in the error logs. The access log show the access but no transfer of datd (ex: the .jpg file).
The php works just fine unless I call an external fuke such as a ,jpg and the file works 100% including the external file if I hit the web page from my internal network.
Thanks
Btret
|
|
|
|
12-22-2009, 01:52 PM
|
#4
|
|
LQ Newbie
Registered: Dec 2009
Posts: 3
Original Poster
Rep:
|
Quote:
Originally Posted by harry edwards
Is there any clue in the Apache error logs? (assuming your using Apache). Also, what time-out settings do you have set in php.ini, and I noticed your using short-tags '<?', are these enabled in php.ini?
|
Also tried it without the PHP same problem as with the php included.
Thanks
Bret
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|