Just to clarify, the remote "client" is the owner of the URL and has full 
access for purposes of uploading the html, css, etc. files to the server, as 
well as .htaccess files.  At least one website states this can be done from the 
command line, but I'm not certain that's correct.  See 
http://www.activewebhosting.com/faq/cgi-htaccess-change.html

Does the .htaccess file physically remain in the directory where it was 
initially loaded?  Or, does the server remove, transfer, or otherwise dispose 
of the file?


Joel

973 736 8306

________________________________
From: Joel <jm-hotm...@hotmail.com>
Sent: Sunday, July 19, 2020 7:32 AM
To: users@httpd.apache.org <users@httpd.apache.org>
Subject: Re: [users@httpd] client removal of .htaccess file

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