Skip to content

Instantly share code, notes, and snippets.

@ivanelson
Created October 9, 2014 20:52
Show Gist options
  • Save ivanelson/46c259d5586913a28f51 to your computer and use it in GitHub Desktop.
Save ivanelson/46c259d5586913a28f51 to your computer and use it in GitHub Desktop.
Apache settings of the Django App / Slackware 14
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName mfd.claudinosa.com.br
DocumentRoot /var/www/django/portal_mfd/
WSGIScriptAlias / /var/www/django/portal_mfd/portal_mfd/mfd.wsgi
Alias /static/admin/ /var/www/django/portal_mfd/portal_mfd/static/admin/
Alias /static/ /var/www/django/portal_mfd/portal_mfd/static/
<Directory /var/www/django/portal_mfd/portal_mfd>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
ErrorLog /var/log/httpd/mfd.claudinosa.com.br-error-log
<Directory /var/www/django/portal_mfd/portal_mfd>
Order allow,deny
Allow from all
Require all granted # ADICIONAR ESSA LINHA DE PERMISSAO
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment