Re: mod_python: problem with http.conf

2007-11-06 Thread Joe
Can you open a python interpreter and import your application? I place a sim link (ln -s) within the python site-packages directory to my project directory and the django source directory. J On Nov 5, 4:37 pm, stranger <[EMAIL PROTECTED]> wrote: > Hello I am using Fedora 7. I am using Django for

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Thanks a lot graham You have really helped me a lo. Thank you once againCan you please add me in Yahoo messenger id: aparichitudu_stranger Thank you On Nov 5, 3:33 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Turn off SELinux extensions on your box or do whatever research is

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
Turn off SELinux extensions on your box or do whatever research is required to work out how to configure SELinux to allow the user that Apache runs as to access your files. I can't help you with SELinux. Graham On Nov 6, 10:28 am, stranger <[EMAIL PROTECTED]> wrote: > Ya I have run the command

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Hey I have set the SELINUX from enforcing to permissive and the localhost/mysite is working. I am getting the Django default page. On Nov 5, 3:28 pm, stranger <[EMAIL PROTECTED]> wrote: > Ya I have run the command and restarted Apache... I have found the > cause for the problem can you advise m

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Ya I have run the command and restarted Apache... I have found the cause for the problem can you advise me after looking at this screenshot. http://img210.imageshack.us/img210/559/screenshot1bs5.png On Nov 5, 3:24 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Run: > > chmod 0755 /home/priy

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
Run: chmod 0755 /home/priya Restart Apache for good measure and try again. As I originally said, all the directories down to the mysite directory have to be readable and searchable to others. This means you personal home directory as well. Graham On Nov 6, 10:20 am, stranger <[EMAIL PROTECT

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Sorry for deleting I have run the command in /home When I run ls -lasgd in /home/priya 8 drwx-- 32 priya 4096 2007-11-05 14:54 . When I run ls -las in /home/priya [EMAIL PROTECTED] ~]$ ls -las total 416 8 drwx-- 32 priya priya 4096 2007-11-05 14:54 . 8 drwxr-xr-x 3 root root

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
Please do not keep deleting the previous message content. It makes it really hard having to go back and forth between messages. On Nov 6, 10:11 am, stranger <[EMAIL PROTECTED]> wrote: > I get this: > > 8 drwxr-xr-x 3 root 4096 2007-11-04 02:20 . If you get this when running that command in your

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
I get this: 8 drwxr-xr-x 3 root 4096 2007-11-04 02:20 . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from t

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
On Nov 6, 9:57 am, stranger <[EMAIL PROTECTED]> wrote: > Thank alot Graham. To which user, I must grant access? > > I know the command chmod.. and I traversed to mysite directory and > chmod -R 755 * > > still no change. Hmmm, I saw that example in the document I referred to and thought it was a

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Thank alot Graham. To which user, I must grant access? I know the command chmod.. and I traversed to mysite directory and chmod -R 755 * still no change. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django use

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
On Nov 6, 9:37 am, stranger <[EMAIL PROTECTED]> wrote: > Yes my settings.py file is in the place you specified. > > I have restarted the apache: /etc/init.d/httpd restart > > I think u r right. Apache dont have right to read that module. Please > specify me how to give access to apche to my mysit

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Yes my settings.py file is in the place you specified. I have restarted the apache: /etc/init.d/httpd restart I think u r right. Apache dont have right to read that module. Please specify me how to give access to apche to my mysite directory. --~--~-~--~~~---~--~--

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
On Nov 6, 9:30 am, stranger <[EMAIL PROTECTED]> wrote: > Hello Graham, > >Just followed the same instructions as u said. > > > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > Pyt

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Hello Graham, Just followed the same instructions as u said. SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On PythonPath "['/home/priya'] + sys.path" No Change

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
On Nov 6, 9:13 am, stranger <[EMAIL PROTECTED]> wrote: > Thank you Graham for the fast reply Could you please elaborate a > little since i am new to django. > > > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settin

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Thank you Graham for the fast reply Could you please elaborate a little since i am new to django. SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On ...and replace mysite.settings with the Pyth

Re: mod_python: problem with http.conf

2007-11-05 Thread Graham Dumpleton
On Nov 6, 8:37 am, stranger <[EMAIL PROTECTED]> wrote: > Hello I am using Fedora 7. I am using Django for the first time. I > want the django to run on port 80. so that : > > http://localhost/mysite/ > > should retreive the Django dafault page. I have installed mod_python > and imported it into ht

mod_python: problem with http.conf

2007-11-05 Thread stranger
Hello I am using Fedora 7. I am using Django for the first time. I want the django to run on port 80. so that : http://localhost/mysite/ should retreive the Django dafault page. I have installed mod_python and imported it into http.conf. In http.conf I have also: SetHandler python-pro