Hi,

I am new in this MWS area.

I was trying to follow the example given in the PDF file (http://mymobilesite.net/files/Mobile...er_Book_en.pdf) under "Nokia Mobile Web Server"

I have followed the guidelines given in Page 75 under "Creating Dynamic Pages with Python". I tried to run the following code with two files (ht.acl & test.py).

######## test.py (From Page 113)

def handler(req):
from mod_python import apache
req.content_type = ’text/html’
req.write(”<html>Hello World!</html>”)
return apache.OK

######### ht.acl (From Page 113)

AddHandler mod_python .py
PythonHandler test
PythonDebug On
Options None
Order Deny,Allow
Allow from all
<FilesMatch ”\.(pyc)$”>
Deny from all
</FilesMatch>

I tried to run the test application by requesting the following URL:

https://testapplication.mymobilesite.net/test/test.py

I find the following Error message:

#########
The website cannot display the page

HTTP 500
Most likely causes:
The website is under maintenance.
The website has a programming error.

What you can try:
Refresh the page.

Go back to the previous page.

More information

This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.

#########

Any idea how to solve the problem?