Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18864 closed defect (fixed)

mod_wsgi 1.1 prints incorrect apache configuration instructions

Reported by: francis@… Owned by: ys@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: mod_wsgi

Description (last modified by mf2k (Frank Schima))

I think that the message printed by www/mod_wsgi/Portfile is incorrect. The line that currently reads:

ui_msg "#  LoadModule python_module modules/mod_wsgi.so"

should read:

ui_msg "#  LoadModule wsgi_module modules/mod_wsgi.so"

If the current instructions are followed, attempting to start Apache gives the following error:

jupiter LaunchDaemons # /opt/local/apache2/bin/apachectl start
httpd: Syntax error on line 116 of /opt/local/apache2/conf/httpd.conf: Can't locate API module structure `python_module' in file /opt/local/apache2/modules/mod_wsgi.so: dlsym(0x404e10, python_module): symbol not found

(I am using MacPorts 1.7.0 on OS X 10.5.6/Intel)

Change History (4)

comment:1 Changed 16 years ago by francis@…

Cc: francis@… added

Cc Me!

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Cc: francis@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to ys@…
Port: mod_wsgi added

comment:3 Changed 16 years ago by blb@…

Resolution: fixed
Status: newclosed

Fixed in r49736 (maintainer timeout).

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.