How to serve images from the public folder from Python Selector created app
For more information on the latest vulnerability (CVE-2018-12130, CVE-2018-12126, CVE-2018-12127, and CVE-2019-11091),
please refer to our blog post
  1. Forums
  2. General
  3. General Discussion
  1. Vero
  2. Friday, 12 April 2019
  3.  Subscribe via email
I setup an app with Python Setup App feature, on a cPanel server.

The app is in a folder /home/user/app

When setting it up, a folder /home/user/app/public was created and as I understood, any images/css files placed on that folder would be served directly.

But I am getting all 404 errors.

the app url is

I've tried accessing the images with, or, I get 404 in both cases.

The app is a Flask app. What I am seeing is that Flask app is called for urls at /app/public. How do I need to set this up so the assets on that folder are directly served by Passenger?

Thank you.
Rate this post:
  1. 17.04.2019 08:04:14
  2. # 1
Dmitriy Serafin Accepted Answer
Posts: 8
Joined: 03.04.2019

It is quite difficult to tell why this doesn't work for you without a live example. There could be some configuration issues, .htaccess rules preventing that or some other issue.
Could you please submit a Support ticket so we could help you with that?
We're looking forward to hearing from you.
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.