Hi Ben,
On Sun, 2007-03-25 at 14:23 -0700, benrawk wrote:
> Hello all,
>
> With Graham's hint about possible problems caused by SELinux, I
> finally figured out what was going on. Django can now serve pages!
> Here is what I learned:
Firstly, well done for sticking at solving the problem
Hello all,
With Graham's hint about possible problems caused by SELinux, I
finally figured out what was going on. Django can now serve pages!
Here is what I learned:
SELinux is installed and running by default on Fedora Core 6. This
means that along with the correct file permissions, for files
On Mar 23, 6:47 pm, "benrawk" <[EMAIL PROTECTED]> wrote:
> Thank you again for helping. FYI, I am using Fedora Core 6. I set
> 'PythonHandlermod_python.testhandler' in httpd.conf and got a bunch
> of info. The sys.path appears to be correct...relevant bits, and then
> full text beneath.
>
>
Thank you again for helping. FYI, I am using Fedora Core 6. I set
'PythonHandler mod_python.testhandler' in httpd.conf and got a bunch
of info. The sys.path appears to be correct...relevant bits, and then
full text beneath.
sys.path containes /home/benrawk
REQUEST_URI /mysite/
SCRIPT_NAME
On Mar 23, 2:49 pm, "benrawk" <[EMAIL PROTECTED]> wrote:
> Also, when I import and print sys.path into a python session, with
> apache running in the background, sys.path does not include '/home/
> benrawk'. Is it supposed to? Is there a way I can check the value of
> PythonPath as it is defined
On Fri, 2007-03-23 at 03:49 +, benrawk wrote:
> Also, when I import and print sys.path into a python session, with
> apache running in the background, sys.path does not include '/home/
> benrawk'. Is it supposed to?
No, they are different processes. Apache will only adjust sys.path for
the
I don't know if it's an encouraged practice, but I established a
symbolic link to my app folder in site-packages which ensures that the
app is in the python path. Until I did that I received the same error
from apache as you have.
On Mar 22, 10:49 pm, "benrawk" <[EMAIL PROTECTED]> wrote:
> Also,
Also, when I import and print sys.path into a python session, with
apache running in the background, sys.path does not include '/home/
benrawk'. Is it supposed to? Is there a way I can check the value of
PythonPath as it is defined in httpd.conf?
On Mar 22, 8:37 pm, "benrawk" <[EMAIL PROTECTED]>
Hello, thank your for your reply. Tried everything, getting positive
results, but still can't load http://localhost/mysite/.
1) permissions on both /home, /home/benrawk, and /home/benrawk/mysite
are 'drwxr-xr-x'
2) I succesfully imported mysite.settings after adding /home/benrawk
to the
On Thu, 2007-03-22 at 07:57 +, benrawk wrote:
> Hello,
>
> Recieving a common error, but have trolled the message boards, and
> have not found a solution. My httpd.conf file contains the following
> relevant snippet:
>
>
> SetHandler python-program
> PythonPath "['/home/benrawk'] +
Hello,
Recieving a common error, but have trolled the message boards, and
have not found a solution. My httpd.conf file contains the following
relevant snippet:
SetHandler python-program
PythonPath "['/home/benrawk'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
11 matches
Mail list logo