LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache URL addition of .php extension (https://www.linuxquestions.org/questions/linux-software-2/apache-url-addition-of-php-extension-442638/)

thetawaverider 05-07-2006 10:28 PM

Apache URL addition of .php extension
 
Hello,

I have a relative url '/testsubmit/article_read_id/4' which needs to resolve to '/testsubmit.php/article_read_id/4'. The php extension needs to be applied to 'testsubmit' once it is found by AcceptPathInfo, but it is not doing so. This file extension addition works great on my testing server, but a search of the httpd.conf file for 'php' did not bring up anything relevant. Does anyone know what I need to enable on the live server to bring about this filename resolution?

Thanks,
Aaron

thetawaverider 05-08-2006 01:28 AM

The answer - Options MultiViews
 
The answer to the above is to use the directive Options MultiViews in a <Directory>, <Files>, or <Locations> section of httpd.conf or an .htaccess file.

-Aaron


All times are GMT -5. The time now is 12:13 AM.