Thanks for all your help
Mary Adel
Software Developper
ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis
email: [EMAIL PROTECTED]
Office: +202 - 6236612 EXT. 102
Mobile: +2012 5241719
> Original Message
> Subject: Re: appache and pthonpath
> From: "aka
If you have /var/www/mysite/settings.py
then you need PythonPath "['/var/www']+sys.path"
just like limodou just instructed.
Your DocumentRoot should be outside the Django project tree.
I usually have:
/home/myproject/public_html
/home/myproject/django/myproject
and define:
DocumentRoot /home/myp
I still have a problem although here is my appache file
DocumentRoot /var/www/mysite
ServerName mysite.com
ErrorLog logs/mysite.com-error_log
CustomLog logs/mysite.com-access_log common
SetHandler python-program
PythonHandler django.core.handlers.modpython
Py
2006/1/24, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I still have a problem although here is my appache file
>
> DocumentRoot /var/www/mysite
> ServerName mysite.com
> ErrorLog logs/mysite.com-error_log
> CustomLog logs/mysite.com-access_log common
>
> SetHandler python-progr
med
Grill23.settings
If u can help i ll appretiate that a lot
Mary Adel
Software Developper
ITrize-Egypt 13 Naguib Hashad medan elhegaz heliopolis
email: [EMAIL PROTECTED]
Office: +202 - 6236612 EXT. 102
Mobile: +2012 5241719
> Original Message ----
> Subject: Re: appach
[EMAIL PROTECTED] wrote:
my Django proeject is not in the sitepackages it is in /var/www/mysite
First of all, it isn't a good practice to store a python web application
under /var/www. This can pose a potential security risk.
PYTHONPATH "['/var/www/mysite']"
Could be you are looking
my Django proeject is not in the sitepackages it is in /var/www/mysite
can anyone help me how to configure my appache so as it will work
proparly
here it is what i have but it is not working i don't know why
SetHandler python-program
PythonHandler django.core.handlers.modpython
PYTHO