Created
October 9, 2014 20:52
-
-
Save ivanelson/46c259d5586913a28f51 to your computer and use it in GitHub Desktop.
Apache settings of the Django App / Slackware 14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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