I'm running a Python Elastic Beanstalk environment and have some PHP files I need to serve. How can I do this?
I'm attempting something like
@application.route("/")
def test():
return flask.redirect(flask.url_for('static', filename='redirect/index.php'))
but get the PHP file as text.
The answer to the related question here isn't quite what I need.