NEUAGEOPS

Asset Hub — Setup Guide

Everything you need to deploy, maintain, and lock down the self-updating hub at neuage.health.

AThe files

1Upload

  1. In Hostinger hPanel → File Manager, open public_html.
  2. Upload index.php into that folder.
  3. If you previously uploaded the static index.html, delete it so there's no confusion about which loads.
  4. While you're there, delete the stray {ops,affiliate,branding,assets} folder — it's an accidental leftover and is already hidden by the hub anyway.

2Make it the homepage

Your server currently has a default.php. To guarantee the hub loads at neuage.health, add an .htaccess that lists index.php first.

  1. Upload htaccess-sample.txt to public_html.
  2. Rename it to exactly .htaccess (with the leading dot, no extension).

It contains this line, which does the work:

DirectoryIndex index.php index.html default.php

3How it stays current

You don't maintain the list by hand. On every visit the hub scans public_html and:

Page vs. File listing labels

Each folder card is tagged so you know what opens when you click it:

Page File listing File

"File listing" depends on a server setting. By default Hostinger allows directory browsing, so those folders show a file list. If directory listing is turned off (Options -Indexes), those same folders return a 403 instead. The sample .htaccess leaves listings on; flip the commented line if you'd rather lock raw folders down.

4Customize

Two clearly-commented arrays at the top of index.php are all you ever touch.

Rename or re-describe a section

Edit $CURATED — each line is 'folder' => ['Title','Description','Category','icon']. Order here = display order.

$CURATED = [
  // folder/file name        Title              Description                       Category     icon
  'ops'         => ['Operations Hub', 'Internal ops home — SOPs & processes.', 'Operations', 'gear'],
  'branding'    => ['Branding',       'Logos, color system, typography.',        'Brand',      'palette'],
  // …add a new top-priority section the same way
];

Available icon keys: gear chat users chart palette folderopen image check doc folder file.

Hide something from the hub

Add its exact name to $IGNORE. Dotfiles are hidden automatically.

$IGNORE = [
  $SELF, 'index.html', 'index.php', 'default.php', '.htaccess',
  'cgi-bin', '.well-known',
  '{ops,affiliate,branding,assets}',
  // 'staging', 'admin',  ← add anything else to hide
];

5Password protection

Yes — and the right method protects not just the hub page but every asset folder behind it. Use HTTP Basic Auth at the directory level (not a PHP login, which would only guard index.php and leave the raw folders reachable directly).

Easiest — hPanel (recommended)

  1. hPanel → Files → Directory Privacy (sometimes "Password Protect Directories").
  2. Pick the folder to lock (see the note below about which folder).
  3. Turn protection on, set a username and password, save.

Hostinger writes the .htaccess rules and the encrypted .htpasswd for you. Everything in that folder — the hub page and the asset directories — then prompts for login.

Manual — .htaccess Basic Auth

If you prefer to do it yourself, uncomment this block in your .htaccess and create a .htpasswd file (hPanel can generate the hashed line, or use the htpasswd tool). AuthUserFile must be the absolute server path.

AuthType Basic
AuthName "NEUAGE OPS — Restricted"
AuthUserFile /home/uXXXXXXXX/domains/neuage.health/public_html/.htpasswd
Require valid-user

Which folder you protect matters. Locking public_html protects everything on neuage.health — including any public-facing pages like /affiliate. If some sections need to stay public, don't lock the whole root. Instead, move the internal hub and its private assets into a subfolder (e.g. neuage.health/hub/) and apply Directory Privacy to that folder only, leaving public pages reachable at the root.

Basic Auth sends credentials over the connection, so make sure the site is served over HTTPS (Hostinger provides free SSL — enable it in hPanel if it isn't already).

6Troubleshooting