ProxyPass ProxyPassReverse Fail
  • Hi there,

    I have Airtime running at:
    http://bistro2000.fm:8008

    but it needs to be served from
    https://bistro2000.fm/airtime

    Any ideas why ProxyPass and ProxyPassReverse don't work with Airtime?

    Despite below location code, Apache2 still ends up serving from

    /var/www/login


    instead of
    /usr/share/airtime/public/


    <Location /airtime>
    order deny,allow
    deny from all
    allow from all
    ProxyPass http://bistro2000.fm:8008
    ProxyPassReverse http://bistro2000.fm:8008
    </Location>


    <VirtualHost *:8008>
          ServerName bistro2000.fm
          #ServerAlias www.example.com
    
          ServerAdmin root@bistro2000.fm
    
          DocumentRoot /usr/share/airtime/public
          DirectoryIndex index.php
    
          SetEnv APPLICATION_ENV "production"
    
          <Directory /usr/share/airtime/public>
                  Options Indexes FollowSymLinks MultiViews
                  AllowOverride All
                  Order allow,deny
                  Allow from all
          </Directory>
    </VirtualHost> 
    
  • 2 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    there are two mistakes:
    - ProxyPass, ProxyPassReverse can not be applied for location but virtual host.
    - Airtime is not ready to be used under subfolder. So host/airtime won't work.
  • Hi Andrey,

    Not sure what you mean with mistakes...

    I have this type of proxy configured for 2 other servers (Sam Broadcaster and SABnzbdplus).
    They work just fine!

    What is it exactly that stops Airtime ?