Opened 16 years ago

Closed 4 years ago

#24 closed defect (wontfix)

Python package needs cgi-bin/apache support

Reported by: warmerdam Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords: pkg-python
Cc:

Description

The pkg-python should create a httpd.d\http_python.conf file to set PYTHONPATH similar to the .ini file. The contents should look something like:

AddType application/x-httpd-python .py
Action  application/x-httpd-python /cgi-bin/python.exe

SetEnv PYTHONHOME "C:\OSGeo4W\apps\Python25"

This would ensure that python cgi's work smoothly if apache is install. No dependency on apache needed though.

Change History (2)

comment:1 by dsampson, 15 years ago

The file should infact be httpd.d\httpd_python.conf (missing the second 'd')

Just tried this hack and it exposed a python cgi script stub.

Thanks for the original post.

perhaps if I release my script then I will provide the required patch.

Cheers

comment:2 by jef, 4 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.