On Fri, Apr 26, 2013 at 11:34:15PM -0400, Alex Guzu wrote:
> Hello,
> 
> I am trying to see if I can use Monkey HTTP server to serve a website I 
> currently have.
> 
> The website currently runs on Apache.
> 
> I managed to get php to work but I have a problem.
> 
> If I do not specify the .php extension in the URL, I get 404 Not Found.
> 
> On my Apache, this does not happen, I can just specify the name of the file, 
> and the server will find it and server it.
> 
> Can this be done in Monkey?
> 
> I do not want to have to rewrite the whole website to append the extensions.
> 
> 
> Moreover, it is good practice for a Web server to determine the extension on 
> its own for portability reasons
> 
> 
> Thanks.
>                                         

You can probably setup you site using php-fpm.
The fastcgi plugin looks for a .php extension in the file name, not on
the url, so it should work.

> _______________________________________________
> Monkey mailing list
> [email protected]
> http://lists.monkey-project.com/listinfo/monkey


-- 
Sonny Karlsson
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to