Re: read POST parameters in apache module

2015-07-07 Thread Prakash Premkumar
Thanks a lot Yann. I upgraded to a newer version and the problem is solved now. On Wed, Jul 8, 2015 at 4:31 AM, Yann Ylavic wrote: > On Mon, Jul 6, 2015 at 1:51 PM, Prakash Premkumar > wrote: > > > > I get the following error while trying to compile the module: > > > > mod_example.c:82:9: error

Re: You don't have permission to access /asd on this server

2015-07-07 Thread Prakash Premkumar
Thanks for your reply Sorin. I changed it to LocationMatch. But i still get the same error. Can you please help me ? On Wed, Jul 8, 2015 at 12:24 AM, Sorin Manolache wrote: > On 2015-07-07 13:58, Prakash Premkumar wrote: > >> >> I added my Set Handler as follows >> >> >> >> SetH

Re: read POST parameters in apache module

2015-07-07 Thread Yann Ylavic
On Mon, Jul 6, 2015 at 1:51 PM, Prakash Premkumar wrote: > > I get the following error while trying to compile the module: > > mod_example.c:82:9: error: use of undeclared identifier 'ap_form_pair_t' > ap_form_pair_t *pair = (ap_form_pair_t *) apr_array_pop(pairs); > > apxs does not recognize ap_f

Re: You don't have permission to access /asd on this server

2015-07-07 Thread Sorin Manolache
On 2015-07-07 13:58, Prakash Premkumar wrote: I added my Set Handler as follows SetHandler example_module when I try to access localhost/ , I get "It Works!" screen. But when I try to access some path in localhost like localhost/asd I get the following error Forbidden

You don't have permission to access /asd on this server

2015-07-07 Thread Prakash Premkumar
I am using apache server version 2.4 I have installed apache to a custom location by specifying --prefix during configure. I'm on mac os x mavericks. I am using apache module written in c. I'm following the tutorials at the official sitehttp://httpd.apache.org/docs/2.4/developer/modguide.html