# ============================================================ # NEUAGE OPS — neuage.health · .htaccess # Place this file in: public_html (rename it to exactly .htaccess ) # ============================================================ # 1) Make the self-updating hub the homepage. # This loads index.php ahead of the old default.php. DirectoryIndex index.php index.html default.php # 2) (OPTIONAL) PASSWORD-PROTECT this folder and everything inside it. # Easiest path: hPanel > Files > "Directory Privacy" — it writes these # lines AND the .htpasswd file for you, no editing needed. # # Manual path: uncomment the 4 lines below, then create a .htpasswd file # in the same folder (hPanel can generate it, or run on a machine with # Apache tools: htpasswd -c .htpasswd yourusername ). # IMPORTANT: AuthUserFile must be the ABSOLUTE server path to .htpasswd. # Find it in hPanel File Manager — it looks like the example below. # # AuthType Basic # AuthName "NEUAGE OPS — Restricted" # AuthUserFile /home/uXXXXXXXX/domains/neuage.health/public_html/.htpasswd # Require valid-user # 3) (OPTIONAL) Raw-directory behavior. # Leave directory listings ON (default) so asset folders without an index # page show a browsable file list — these are the cards labeled "File listing". # To turn them OFF instead (those folders then return 403), uncomment: # Options -Indexes