Fixing Apache::ReadConfig limitations

2021-04-16 Thread John A.
Presently, Apache::ReadConfig doesn't seem to provide a way to represent the order of directives, which limits its usefulness when used with modules like mod_rewrite that rely on the order of certain directives: ServerName example.com DirectoryRoot /www RewriteEngine On

Re: Fixing Apache::ReadConfig limitations

2021-04-16 Thread John A.
Den 2021-04-16 kl. 20:42 skrev Mithun Bhattacharya: > Doesnt it accept array of array refs for this purpose ? Could you give an example? I'm not sure I follow. After experimenting a bit, it seems that the following method, with an array of hash refs, is accepted: Directory => { '/www

Re: Fixing Apache::ReadConfig limitations

2021-04-16 Thread John A.
Den 2021-04-16 kl. 23:30 skrev John A.: > Den 2021-04-16 kl. 20:42 skrev Mithun Bhattacharya: >> Doesnt it accept array of array refs for this purpose ? > > Could you give an example? I'm not sure I follow. Replying to myself with an update, as I seem to have figured it out

[RFC] Apache::Inject

2021-04-24 Thread John A
Hi, I've created a mod_perl module called Apache::Inject that I've recently put up on PrePAN [1]. It is my first Perl module, so I'd be grateful for any comments. [1] http://prepan.org/module/nYw5RG2DWu5 NAME Apache::Inject - Apache directive for injecting HTML headers and footers SYNOPSIS