Re: Fixing Apache::ReadConfig limitations

"John A." <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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' => [
            {DirectoryIndex => 'cgit.cgi'},
            {RewriteEngine => 'On'},
            {RewriteCond => '%{REQUEST_FILENAME} !-f'},
            {RewriteCond => '%{REQUEST_FILENAME} !-d'},
            {RewriteRule => ['(.*) cgit.cgi/$1 [END,QSA]']},
        ]
    }

but the RewriteConds still don't work the way they should. The
RewriteRule applies regardless of the RewriteConds.

I'd love to find a way for this to work.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.