Simple Heroku hosted PHP proxy to check the HTTP status of websites. The repository is based on Heroku's php-getting-started. It's purpose for YEAHWHAT?! is to allow requesting AJAX request without the proper "Access-Control-Allow-Origin" headers set. For more information, checkout our fallback webserver.
- Update the configuration in the index.php (enable_jsonp, enable_native, valid_url_regex, etc.)
- Commit changes
- Deploy to Heroku (see instructions below)
- Open https://assigned-name-1234.herokuapp.com/?url=http://yeahwh.at
Make sure you have PHP, Apache and Composer installed. Also, install the Heroku Toolbelt.
$ git clone https://github.com/yeahwhat-mc/heroku-php-status-proxy.git # or clone your own fork
$ cd php-status-proxy
$ composer update
$ foreman start web
Your app should now be running on localhost:5000.
$ heroku create
$ git push heroku master
$ heroku open