Re: [users@httpd] Seg fault when assigning value in AP_INIT_TAKE1 callback

2013-12-08 Thread Allasso Travesser
Thank you for your input, Nick. I see what you mean about using a full example; not yet understanding how modules work, it didn’t occur to me that cfg would be getting initialized somewhere else. My c programming skills are also rudimentary. Regarding mod_auth_form, I am using Apache 2.2. I

Re: [users@httpd] Seg fault when assigning value in AP_INIT_TAKE1 callback

2013-12-07 Thread Nick Kew
On 8 Dec 2013, at 04:17, Allasso Travesser wrote: > Hello, > > Learning to create modules, I want to read configuration directives. I used > the following example out of “The Apache Modules Book” (Nick Kew). It > compiles fine, however, when I restart apache, I get segmentation fault: So why

[users@httpd] Seg fault when assigning value in AP_INIT_TAKE1 callback

2013-12-07 Thread Allasso Travesser
Hello, Learning to create modules, I want to read configuration directives. I used the following example out of “The Apache Modules Book” (Nick Kew). It compiles fine, however, when I restart apache, I get segmentation fault: sudo service apache2 restart Segmentation fault (core dumped) Action