Re: Where to place files on apache server.

2009-02-06 Thread djandrow
Ok thanks, I will make sure I do that. Currently this is just on my PC so there aren't any security issues but I will make a note of it for later, thanks. Andrew --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Where to place files on apache server.

2009-02-06 Thread Karen Tracey
On Fri, Feb 6, 2009 at 10:31 AM, djandrow wrote: > > So i set it in Environment Variable then System variables [this is on > windows]: > > PythonPath -- C:\ProgLangs\Python26 > > But i still get File > >

Re: Where to place files on apache server.

2009-02-06 Thread djandrow
So i set it in Environment Variable then System variables [this is on windows]: PythonPath -- C:\ProgLangs\Python26 But i still get File "C:\ProgLangs\Python25\Lib\site-packages\mod_python\importer.py", line 304, in import_module return __import__(module_name, {}, {}, ['*'])" How can I

Re: Where to place files on apache server.

2009-02-05 Thread Alex Gaynor
On Thu, Feb 5, 2009 at 7:15 PM, djandrow wrote: > > Thank you, i will try creating a symlink. I'm a bit confused about > the PythonPath though, is the python path an environment variable or > is it defined in the httpd conf or a 3rd place? > > I know I have: > >

Re: Where to place files on apache server.

2009-02-05 Thread djandrow
Thank you, i will try creating a symlink. I'm a bit confused about the PythonPath though, is the python path an environment variable or is it defined in the httpd conf or a 3rd place? I know I have: PythonPath "['C:/Program Files/Apache2.2/htdocs/myproject'] + sys.path" in the conf. But how

Re: Where to place files on apache server.

2009-02-05 Thread Alex Gaynor
On Thu, Feb 5, 2009 at 5:59 PM, djandrow wrote: > > Thanks, that has helped me quite abit. But I still have one issue. > When trying to look at the pages I create I get the following: > > Traceback (most recent call last): > > File

Re: Where to place files on apache server.

2009-02-05 Thread djandrow
Thanks, that has helped me quite abit. But I still have one issue. When trying to look at the pages I create I get the following: Traceback (most recent call last): File "C:\ProgLangs\Python25\Lib\site-packages\mod_python \importer.py", line 1537, in HandlerDispatch

Re: Where to place files on apache server.

2009-02-04 Thread Benjamin Wohlwend
Hi, On Feb 4, 10:08 pm, djandrow wrote: > Hello everyone, > > [...] > > I created a file in Htdocs then in that created the project with the > views and urls.py and the others. > But if I go >

Where to place files on apache server.

2009-02-04 Thread djandrow
Hello everyone, I've recently installed apache and mod_python and i've managed to run a couple of python files, so i guess its working. I've also created a view, which displays a simple hello world message. I've tested this with the django server and it works. But i'm not sure how to get this to