So after a lot of testing, and playing I finally got the correct code. However in the end the changes I make only get saved if someone other than root owns .htaccess
Not sure whether this follow up question belongs here in the replies or in a new question, but what would be the safest ownership of .htaccess so that I can change it from Perl scripts run via CGI?
In reply to Re^2: Can a Perl script modify .htaccess
by SergioQ
in thread Can a Perl script modify .htaccess
by SergioQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |