Currently having a problem debugging a PHP-based app running under Linux/Apache.
Here's the issue: The project is an open source project written in PHP. The 'main' entry point is called 'index.php'. The application uses the URL to determine functionality.
For example:
and
Both find the default site properly.
Now, in other installations, the software is set up to access other portions of the site using:
That should cause the application to run the index.php application and access the information from 'secondpage'. This fails.
However, it does work correctly if we use:
So, from what I can gather, Apache is not able to find the default 'index.php' file unless its spelled out explicitly.
The httpd.conf file does have a 'DirectoryIndex index.php' line (otherwise the default web page won't work.)
Anyone have any idea why the database access is failing? (In particular, the line.)
Here's the issue: The project is an open source project written in PHP. The 'main' entry point is called 'index.php'. The application uses the URL to determine functionality.
For example:
and
Both find the default site properly.
Now, in other installations, the software is set up to access other portions of the site using:
That should cause the application to run the index.php application and access the information from 'secondpage'. This fails.
However, it does work correctly if we use:
So, from what I can gather, Apache is not able to find the default 'index.php' file unless its spelled out explicitly.
The httpd.conf file does have a 'DirectoryIndex index.php' line (otherwise the default web page won't work.)
Anyone have any idea why the database access is failing? (In particular, the line.)