/home/mscalora/www/html-scalora-link/_root_/short-1.conf

    # Rewrite rules for short URLs
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} ^/1[A-HJ-NP-Z0-9]{5}$
    RewriteRule ^(.*)$ /short-1.php [L,QSA]
    
    # Admin panel access
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{QUERY_STRING} action=
    RewriteRule ^(.*)$ /short-1.php [L,QSA]
    
    # Default homepage
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} ^/$
    RewriteRule ^(.*)$ /short-1.php [L,QSA]
    
    # Protect data directory
    <Directory "/home/mscalora/www/html-scalora-link/_root_/short-1">
        Order Deny,Allow
        Deny from all
    </Directory>
    
    # Disable server signature
    ServerSignature Off
    
    # Custom error pages (optional)
    ErrorDocument 404 /short-1.php
