Simon icon Simon
Flexible server monitoring

htaccess file

Is there a way to monitor the .htaccess file for changes with Simon 3 or 4?

David Sinclair's picture

Re: htaccess file

Yes, you could make a duplicate of the "FTP Directory Listing" service and edit it to display the contents of that file, instead of doing a directory listing.

This should work, allowing looking at the contents of any file on your server:

ftp -n {Domain} << EOF
user {Username} {Password}
cd {Directory Path}
more {Filename}
EOF