Re: [users@httpd] PHP to control Apache

2011-02-09 Thread Fredric Fredricson
On 02/09/2011 12:20 PM, Nilesh Govindarajan wrote: [snip] The problem with using mod_perl is one needs to know perl to a decent extent or at least db operations in perl. It is a strict requirement. [snip] This, of course, depends on your situation but perl DBI is quite well documented and

Re: [us...@httpd] Config for a PHP REST web service

2010-07-26 Thread Fredric Fredricson
On 07/22/2010 10:50 PM, Simone Caruso wrote: On 22/07/2010 19:31, Fredric Fredricson wrote: Hi all, I am working on a small REST-based web service that I write in php. I have a single PHP-script and I want Apache to route all requests to a specific location and below to my php script. did

[us...@httpd] Config for a PHP REST web service

2010-07-22 Thread Fredric Fredricson
Hi all, I am working on a small REST-based web service that I write in php. I have a single PHP-script and I want Apache to route all requests to a specific location and below to my php script. This is how I did it: LocationMatch ^/pathtomyservice(.*) Limit GET POST PUT DELETE OPTIONS