skip to Main Content

Django + Apache: cannot serve static files

I think this is common problem, but non of the solutions I tried work. The code from apache conf: <VirtualHost *:80> ServerName xxxx ServerAdmin xxxx DocumentRoot /home/matousc/apps/iacah ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Alias /static /home/matousc/apps/iacah/www/static <Directory /home/matousc/apps/iacah/www/static> Require all granted…

VIEW QUESTION

Installing mod_wsgi for Python 3.7 virtualenv – Apache

Trying to install mod_wsgi for Python 3.7 to complete setup of Django. But it fails with following error message Collecting mod-wsgi Using cached https://files.pythonhosted.org/packages/9e/37/dd336068ece37c43957aa337f25c59a9a6afa98086e5507908a2d21ab807/mod_wsgi-4.6.4.tar.gz Building wheels for collected packages: mod-wsgi Running setup.py bdist_wheel for mod-wsgi ... error Complete output from…

VIEW QUESTION
Back To Top
Search