Wednesday, March 25, 2015

Re: Django accepting other applications ports

backend.conf

Listen 8787

WSGIScriptAlias / /var/www/html/backend/API/wsgi.py
WSGIPythonPath /var/www/html/backend:/var/www/html/backend/venv/lib/python2.7/site-packages
WSGIPassAuthorization On

<VirtualHost 81.169.229.41:8787>
        DocumentRoot /var/www/html/backend
        <Directory API/>
                <Files wsgi.py>
                        Require all granted
                </Files>
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>


website.conf

Listen 8888

<VirtualHost 81.169.229.41:8888>

        DocumentRoot /var/www/html/website
        <Directory />
                Options FollowSymLinks
                AllowOverride All
        </Directory>
        <Directory /var/www>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order Allow,Deny
                Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>


Am Mittwoch, 25. März 2015 20:22:05 UTC+1 schrieb Gergely Polonkai:

Hello,

Please share the rest of this Apache config; from what you copied, it's impossible to tell.

Best,
Gergely

On 25 Mar 2015 17:12, "Sven Mäurer" <maeure...@gmail.com> wrote:

I have two applications on my apache. Why is my Django application running accepting the connection also of port 8888?

Listen 8787
<VirtualHost 81.169.229.41:8787>



The other application:

Listen 8888
<VirtualHost 81.169.229.41:8888>

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f512ca44-b7fc-4e26-8c56-7cb325e1f6dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fdad8670-4d98-474e-ae33-6c719fcd4b75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment