python - Error starting mod_wsgi -


when run start-server command on mod_wsgi-experess, output:

server url      : http://localhost:8000/ server root     : /tmp/mod_wsgi-localhost:8000:0 server conf     : /tmp/mod_wsgi-localhost:8000:0/httpd.conf error log       : /tmp/mod_wsgi-localhost:8000:0/error_log httpd: syntax error on line 2 of /tmp/mod_wsgi-localhost:8000:0/httpd.conf: module version_module built-in , can't loaded 

the line 2 in httpd.conf in tmp folder referring says following. automatically created mod_wsgi:

loadmodule version_module '/usr/local/apache/modules/mod_version.so' 

i stumped. ideas how on obstacle?

i can change how generated configuration done, can indicate linux distribution version of apache using supplied on, or if compiled yourself. can provide output in question running:

httpd -m 

change 'httpd' in command whatever apache installation has called main apache http server executable if has been changed.

right generated configuration expects using apache installation built use dynamic shared objects (dso) apache modules , doesn't statically compile in specific modules. must support dynamic loading of additional modules such mod_wsgi.

i didn't contemplate people use apache version statically compiled in modules, doing bulk of modules defeat purpose of trying trim memory size of apache down loading needed.

in future if have questions mod_wsgi recommended mod_wsgi mailing list used. actual error/problem looks derive mod_wsgi, use issue tracker on github mod_wsgi repository. stackoverflow in general poor place ask issues mod_wsgi stackoverflow isn't forum , large number of mod_wsgi questions closed before answered because self styled moderators know nothing mod_wsgi can't see question posed may asking , wrongly close them invalid when in lot of cases there simple answers if knew topic.


update 1

further updates on issue done on over serverfault.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -