Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a php file at http://lohray.com/info1.php that is just -

<?php
    phpinfo();
?>

The page does not render on my browsers (I have tried chrome and firefox), however, wget fetches all the HTML. What might be going wrong? My apache / php are running on an EC2 instance.

Using the developer tools, I can see that I have received a 200 header with X-Powered-By:PHP/5.3.10.

share|improve this question
    
Works fine here. –  Ignacio Vazquez-Abrams Apr 10 '12 at 22:05
    
What do you mean, it doesn't render? Do you see the raw PHP, or what? –  Zoredache Apr 10 '12 at 22:06
    
I see a blank page. And on checking for the source, I see some incomplete HTML. I also tried to check it from my phone and do not see any HTML rendering. –  Lord Loh. Apr 10 '12 at 22:21
add comment

1 Answer

up vote 1 down vote accepted

Okay! I figured out the problem. Apparently my university (Texas Tech University, Lubbock) network administrators tried to detect incoming phpinfo() output and blocked it! When I disconnect from WiFi and use LTE connection to access the site, I see the complete HTML and it renders fine.

Also, I tried to see the page from a remote proxy called http://www.surf-anon.com/ and it renders fine :-)

Thank you for the comments. It did give me a few tips.

The length to which some people go on the name of security! Disgusting!

share|improve this answer
    
This is one of those beloved "WTF" moments that I will never forget... good call! Would you mind also marking this answer correct? As benign as it may seem, I bet you anything a future Texas Tech University student will come looking one day... :) –  Andrew M. Apr 10 '12 at 23:12
    
I will have to wait for 2 days to mark my own answer correct. –  Lord Loh. Apr 11 '12 at 6:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.