http 404 after deploy

Developers
2012-09-14
2013-05-15
  • Emanuele Bonin

    Emanuele Bonin - 2012-09-14

    i've deployed a simple application (http://pippo.netsons.org/p4a/applications/Marco/Index.php) tha in my local machine works very well
    But wen i try to add (or any other action) a record on deployed version the server emits this error:
    404 Not Found

    The resource requested could not be found on this server!)

    Anyone can help me ?

    Thanx in Advance!

     
  • croaker___

    croaker___ - 2012-09-14

    I think P4A is expecting to find a "index.php" in ./Marco rather than "Index.php".

    Make your index.php all lower-case.

    You should be able to navigate to http://pippo.netsons.org/p4a/applications/Marco and have the application start but on your server it shows a directory listing. You should set your web server software to look for index.php by default and switch off the directory listing ability.

     
  • Fabrizio Balliano

    yes probably you develop on windows and deploy on linux, you've to use lowercase index.php for your main p4a file.

     
  • Emanuele Bonin

    Emanuele Bonin - 2012-09-17

    Yes, i'm a windows developer … 8(
    and Yes the problem was the CamlCase used on index.php file

    Thank'you very much!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks