Thank you.  I gather I will need to ask the server hosting entity (who has root 
access) to remove the file.

Any downsides to uploading an empty .htaccess file or a dummy file (just having 
a comment and no directives)?


Joel

973 736 8306

________________________________
From: angel Hall-Coulston
Sent: Sunday, July 19, 2020 7:18 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] client removal of .htaccess file

Not without 'write' permission, or settings within httpd.conf, no… ALSO the 
following config disallows viewing:

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
    Require all denied
</FilesMatch>

And that’s prob why you can’t see it but CAN see the backup…

"What’s the difference between British SCONES (pronounced as in stones) and 
SCONES (pronounced as in cons) ?? Around 50p each !"

> On 19 Jul 2020, at 11:57, Joel Miller <jm-hotm...@hotmail.com> wrote:
>
> Can one without server root access delete a previously uploaded .htaccess 
> file?  The server can be accessed from the command line (e.g., ftp.[url] and 
> permissions) but the file listing contains .htaccess_bak, not the .htaccess 
> file.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>

Reply via email to