and here is an example of a django.wsgi file
import os
import sys
path = '/path/to/your/project/'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'yourproject.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
2013/5/28 Rafael E. Ferrero <[email protected]>
> First... configure Bind2 (or your DNS to support your domain)
> Second configure a Virtual Host for your domain (supoust that you use wsgi)
> Here is an example:
>
> <VirtualHost *:443>
> DocumentRoot /var/www/yourdomain.com
> ServerName yourdomain.com.ar
> ServerAlias www.yourdomain.com.
> ServerAdmin [email protected]
>
> ErrorLog ${APACHE_LOG_DIR}/error.log
> CustomLog ${APACHE_LOG_DIR}/access.log combined
>
> WSGIDaemonProcess yourdomain.com processes=2 threads=15
> display-name=%{GROUP}
> WSGIProcessGroup yourdomain.com
> #here i say: for all request call to django.wsgi
> WSGIScriptAlias / /path/to/django.wsgi
>
> Alias /media/ /path/to/your/project/and/to/your/media/
> Alias /static/admin/ /path/to/your/project/and/to/your/static/admin/
>
> <Directory /var/www/yourdomain.com>
> Options FollowSymLinks -Indexes
> AllowOverride None
> </Directory>
> </VirtualHost>
>
>
>
> 2013/5/28 John Fabiani <[email protected]>
>
>> Yes I have complete control. But I don't know how to set it up.
>> Johnf
>>
>> On 05/28/2013 07:39 AM, Rafael E. Ferrero wrote:
>>
>> you have access to config files of apache ?? like site-available/
>> yoursite.com to set your virtuals hosts ??
>>
>>
>> 2013/5/28 John Fabiani <[email protected]>
>>
>>> Hi Folks,
>>> I need immediate help setting up Apache on an openSUSE 12.3. I'm
>>> willing to pay a little for the help.
>>> Currently I have my scripts working using manage.py runserver. But I
>>> don't understand what I need to do with Apache. I have to get website up
>>> today.
>>> I will also have to setup the delivery port to 443.
>>>
>>> Contact me via this list.
>>>
>>> Thanks in advance,
>>>
>>> Johnf
>>>
>>> --
>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>
>> --
>> Rafael E. Ferrero
>> Claro: (03562) 15514856
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/django-users?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Rafael E. Ferrero
> Claro: (03562) 15514856
>
--
Rafael E. Ferrero
Claro: (03562) 15514856
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.