python - .htaccess file location for Openshift (for Flask) -
i tried following 2 locations put .htaccess
app/wsgi/.htaccess
and app/.openshift/config/.htaccess suggested here: where place htaccess file on openshift wordpress?
neither seems correct. added junk .htaccess, site still runs. added
deny
to top of htaccess file, still site works fine. .htaccess file supposed be?
try reading:
static files go in 'wsgi/static'. can in directory place '.htaccess' file , configure main apache configuration file allows in .htaccess file.
this works if using apache serve static files. if using feature of python web framework or wsgi middleware serve static files, can't default apache configuration there no way affecting things physical 'wsgi/static' directory.
so putting static files?
Comments
Post a Comment