• 0

Server not parsing PHP and JSP


Question

Hi Guys.

I have started to program a website for the past two months using PHP and one of the complaints raised by two of the 4000 visitors was that the page was not being presented to them as HTML, instead, they were seeing the PHP code. They allowed me to VNC into their computers so that I may witness this. I have made a screen shot.

I cannot reproduce this problem using any of my test machines and none of the other 4000 or so visitors have raised the issue with me.

I cannot understand why this is happening. Although I know one user had NTL as an ISP, and I know they cache everything, so perhaps there is a clue there. This is obviously a major security risk.

Also, take a look at this page:

http://www.womenintheknow.com/speakout/speakout6.jsp

It's a JSP page but now I get to see the code, and not the parsed HTML.

Any thoughts guys?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Well, my PHP server is configured correctly, else 4000 people would be complaining. So why are those two people seeing the PHP source rather than the parsed pages?

Link to comment
Share on other sites

  • 0

Its probably because you have a non-standard server and use php as a cgi module, which is very insecure and unreliable. For JSP, how did you set up mod_jk ?

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.