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.