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! I saw Tie::IxHash me

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 Mithun Bhattacharya
Doesnt it accept array of array refs for this purpose ? On Fri, Apr 16, 2021 at 1:10 PM John A. wrote: > 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 orde

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