> On 12 Oct 2015, at 3:49 pm, DougE <[email protected]> wrote:
>
> httpd (mod_wsgi-express): Syntax error on line 316 of
> /etc/mod_wsgi-express-80/httpd.conf: Cannot load
> /usr/lib64/python2.7/site-packages/md_wsgi_packages/httpd/modules/mod_ssl.so
> into server:
> /usr/lib64/python2.7/site-packages/mod_wsgi_packages/httpd/modules/mod_ssl.so:
> undefined symbol: ap_map_http_request_error
>
> I tried linking it to /usr/lib64/httpd/modules/mod_ssl.so but that does not
> seem to work.
>
> I am on fedora 22, and apache -v 2.4.1
>
> python manage.py runmodwsgi --version returned 1.8.4 but that sounds like
> django
>
> python manage.py runmodwsgi --setup-only --port=80 --https-only \
> --hsts-policy=3600 --https-port=443 --user apache --group apache \
> --server-root=/etc/mod_wsgi-express-80 \
> --ssl-certificate-file=/etc/ssl/certs/yourhelpdesk.crt \
> --ssl-certificate-key-file=/etc/ssl/certs/yourhelpdesk.key \
> --document-root=/usr/local/libexec/yourhelpdesk_us \
> --host=192.168.0.7 \
> --server-name=yourhelpdesk.us --allow-localhost
>
> apologies in advance if I am doing something stupid
I would have expected that Fedora 22 would have had a more recent version of
Apache than 2.4.1. Can you ensure you have the most up to date Apache package
for Fedora installed.
Also, it seems you aren’t using the system Apache anyway, but have pip
installed mod_wsgi-httpd package as well.
I would suggest:
pip uninstall mod_wsgi
pip uninstall mod_wsgi-httpd
and then try:
pip install mod_wsgi
so that it just uses the system wide Apache.
If that fails because of missing headers for Apache, make sure you have the
appropriate ‘devel’ package for Apache installed.
If still doesn’t work, only then do:
pip uninstall mod_wsgi
pip install -U mod_wsgi-httpd
pip install mod_wsgi
which would install the pip installable Apache provided by mod_wsgi-httpd,
before then installing mod_wsgi.
FWIW, unless you have a specific need, setting ‘—host’ option to an IP address
looks very strange. Normally that option wouldn’t be required.
Graham
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.