You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joel Miller <jm...@hotmail.com> on 2020/07/19 10:57:50 UTC

[users@httpd] client removal of .htaccess file

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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] client removal of .htaccess file

Posted by Eric Covener <co...@gmail.com>.
On Sun, Jul 19, 2020 at 6:58 AM Joel Miller <jm...@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.

If the directory is writable by the user, yes.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] client removal of .htaccess file

Posted by angel Hall-Coulston <ra...@me.com.INVALID>.
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...@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-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>