On 18 дек, 12:33, Graham Dumpleton <[email protected]> wrote:
> 2009/12/18 TheDeadOne <[email protected]>:
>
> > On 24 ноя, 10:41, Iván <[email protected]> wrote:
> >> Hi, I can't make WSGi work on daemon mode. It works perfectly well
> >> with embed mode. I'm getting "Prematureend of script headers:
> >> test.wsgi" in the error log.
>
> > I have the same problem. Is any solutions?
>
> As there are various causes, we first need to ensure you have
> eliminated the known causes.
>
> 1. What is the Apache configuration you are using for mod_wsgi?
>
> 2. What is the URL you are using to make requests against the application?
>
> 3. Do you have an existing AddHandler for .py extension denoting it is
> a cgi-script?
>
> 4. Have you disabled use of mod_python in same Apache installation?
>
> 5. Have you disable SELinux extensions?
>
> 6. Have you tried with a hello world WSGI application rather than some
> fat Python web application/framework with lots of dependencies?
>
> Graham

Sorry. My mistake:

> /usr/local/apache2/bin/httpd -V
Server version: Apache/2.2.11 (Unix)
Server built: Apr 14 2009 12:48:52
Server's Module Magic Number: 20051115:21
Server loaded: APR 1.2.8, APR-Util 1.2.8
Compiled using: APR 1.2.8, APR-Util 1.2.8
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
>

--

You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.


Reply via email to