×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    10

    Python Server Pages

    Hi.

    Please can anyone tell me if it's possible to use Python Server Pages in PAMP. Just tried but got an internal server error. I had an _htaccess file in the directory with the contents:
    AddHandler mod_python.psp
    PythonHandler mod_python.psp

    Any suggestions please?

    Thanks.

    Madeleine

  2. #2
    Registered User
    Join Date
    Feb 2006
    Posts
    10

    Re: Python Server Pages

    Hi.

    Found my own solution at: http://ghantoos.org/howto-apache2-mod_python/
    Placed this in the httpd.conf file:
    AddHandler mod_python .py
    PythonHandler mod_python.psp
    PythonDebug On

    and just call what should be .psp now .py

    It works!

    Madeleine

Similar Threads

  1. Replies: 11
    Last Post: 2007-10-03, 19:46
  2. Serving WAP/WML pages on Web Server
    By Nokia_Archive in forum Browsing and Mark-ups
    Replies: 2
    Last Post: 2002-05-17, 12:34
  3. Problem Starting the server
    By Nokia_Archived in forum WAP Servers
    Replies: 1
    Last Post: 2002-05-14, 18:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •