apache - apache2 django mod_wsgi htaccess -


I want to get the Apache Savings .htaccess file to fix Firefox. Access-Control-Allow-Origin I am using mod_wsgi and my httpd.conf looks like this:

  alias / static / / home / ubuntu / my-django-app / static / & lt; Under the directory / home / ubuntu / my -dangango app / stabilize & gt; Decline order, allow all & lt; / Directory & gt; WSGIScriptAlias ​​/home/ubuntu/my-django-app/apache/django.wsgi   

What do I need to see Apache for .htaccess file in / home / ubuntu / my? Do -django-app?

  & lt; Files match ". (Ttf | otf | eot) $" & gt; & Lt; IfModule mod_headers.c & gt; Header has access-control-permission-origin "*" & lt; / IfModule & gt; & Lt; / FilesMatch & gt;    

If you have access to httpd.conf, then you may be unable to configure your configuration. Requires access-control-permission-generation

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -