"Noel Da Costa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the thought...
>
> I was using getenv('PATH_INFO'). I tried  $_SERVER['PATH_INFO'], but it
> didn't help.
>
> PATH_INFO is working, ie being filled, but Apache doesn't seem to know
what
> to do with it. So if my link has a URL: "index.php/section/login" it tries
> to find a literal folder with that path, instead of simply passing the
> "/section/login" bit to the PATHINFO variable within the index.php file.
>
> This is the error msg: "
> Object not found!
>   The requested URL was not found on this server. The link on the
referring
> page seems to be wrong or outdated. Please inform the author of that page
> about the error.
>   If you think this is a server error, please contact the webmaster
> Error 404
>   192.9.200.182
>   Fri Apr 23 12:35:45 2004
>   Apache/2.0.40 (Red Hat Linux) "
>
> I'm sure it's something to do with config, because we just re-compiled PHP
> on the test server... and now my script won't run on the test server too!!
>
> Noel

I just searched my email archive. I had this problem with one of my
providers. Then they changed the file permission to 705 and it worked! So
set this for your index.php and try again. I know it sounds strange that
this has got something to do with Apache's look-back feature but it does!

Regards, Torsten

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to