Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2010
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Apache HTTPd and Tomcat, 404 for .php files Options There are currently too many top

    Hi,

    I'm running Apache HTTPd 2.2.3 on CentOS 5.2, with Tomcat 6.0 and PHP
    5.3.

    I have the site setup such that the HTTPD server forwards everything
    to Tomcat. I have installed PHPJavaBridge, which handles all php
    scripts in Tomcat.

    So everything seemed to be working fine, last friday. I accessed the
    site and my scripts all okay. I did make a few changes but it still
    seemed to work fine.

    Today, I came back and started checking the site, and every time I try
    to access one of my PHP scripts I get a 404 Not Found.

    I shut down Tomcat and when I try to access any web page that was
    originally hosted by Tomcat I get a 503, but for any PHP files I still
    get a 404.

    Is there any possible explanation of how this happened?

    I'm didn't post my conf files, because like I said, it was fully
    functional. I'm really completely clueless as to what really happened,
    and hoping that someone has come across this error.

  • #2
    New Coder
    Join Date
    Jun 2010
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Problem solved. Don't bother replying.

  • #3
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,987
    Thanks
    4
    Thanked 2,660 Times in 2,629 Posts
    Quote Originally Posted by Popnbrown View Post
    Problem solved. Don't bother replying.
    Glad to hear.
    Could you perhaps mention what the problem ended up being and the solution for anyone else that may have the same problem as this? I'm not familiar with using a setup of this type myself.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •