I would like to request an assistant.
May i know how to add line in .htaccess file using PERL if the line is NOT ALREADY EXIST in the file ?
The filename is /home/$username/public_html/.htaccess
I would like to add the following line in it :
deny from all
But the adding is only IF the above line is not already in the .htaccess .
Appreciates of any assistant.