mod_python question

Problems with the Windows version of XAMPP, questions, comments, and anything related.

mod_python question

Postby grneyeddvl » 28. May 2011 18:50

Hi Everyone

I have finally managed to get mod_python working with apache xampp on windows xp and managed to get a very basic page to display
the "Hello World" message from an index.py file

now my question is if i direct to localhost/mySite/index the page displays, and if i created a new py file called profile.py and tried to access it like so localhost/mySite/profile or localhost/mySite/index.py i get this message "Object not found!", even though
profile.py is in the same directory as index.py

this the code in my http.conf file if required

Code: Select all
<Directory "C:/xampp/htdocs/mySite">
    SetHandler mod_python
    PythonHandler mod_python.publisher
    PythonDebug on
</Directory>


can anyone help me understand why i cannot get any other file to display.

I have tried adding the new profile.py file to the directory and then stopping the server then restarting but no luck.

Thanks for reading
and any help would be much appreciated.

I noticed quite a few threads across the internet (while trying to get this working over the weekend) about people who have had problems getting this working if anyone still having trouble,feel free to PM me.
grneyeddvl
 
Posts: 1
Joined: 26. May 2011 13:44

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 135 guests