Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To avoid stealing your precious source, you should add below at .htaccess or /etc/httpd/conf.d/vhosts.conf or /etc/httpd/conf/httpd.conf

Code Block
## block accessing .git
<Directorymatch "^/.*/\.git/">
  Order 'deny,allow'
  Deny from all
</Directorymatch>

...