Commit Graph

6 Commits (aa5f0d5ec1c1c810a4d49dab4a7b60ec8b7e36aa)

Author SHA1 Message Date
Tobias Diekershoff 77cb9405be
only deny files ending in ~ 2022-03-16 19:54:43 +01:00
Tobias Diekershoff cd7b9177ea
.htaccess-dist deny access to some backup files
this PR adds a filematch block to the distributed .htaccess file to deny access to backup files from emacs (~), vim (.swp) and other backup files (.bak).

addressing #11350
2022-03-16 19:35:59 +01:00
Hypolite Petovan 3bd8b81154 Prevents Apache from serving CLI scripts 2020-09-07 05:43:20 -04:00
Roland Häder 6da47936c6 renamed .htaccess to .htaccess-dist and ignored .htaccess afterwards (#5428)
* renamed .htaccess to .htaccess-dist and ignored .htaccess afterwards. This
allows local changes to it without having a dirty checkout directory.

Signed-off-by: Roland Häder <roland@mxchange.org>

* Some fixes:
- removed non-neutral words
- added examples for Linux/Windows

* Better documentation and added note about **not** renaming the file.

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-20 20:27:37 -04:00
Marcus Müller 38666fa7fa [BUGFIX] .htaccess: Rename file 2018-05-15 18:09:24 +02:00
Roland Häder a0d03bb311
Continued:
- renamed .htaccess -> .htaccess-dist and ignored .htaccess to allow local
  changes
- described /nbproject/private/ ignore (NetBeans IDE's private project data)

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-14 22:49:59 +02:00