Answer the question
In order to leave comments, you need to log in
How to make the site be on an external and local Ip (apache2)?
Here I configured the config in the sites-enabled folder.
<VirtualHost *:80>
ServerName get5.uralgamearea.ru
ServerAdmin [email protected]
WSGIScriptAlias / /var/www/get5-web/get5.wsgi
<Directory /var/www/get5>
Order deny,allow
Allow from all
</Directory>
Alias /static /var/www/get5-web/get5/static
<Directory /var/www/get5-web/get5/static>
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question