2009/12/18 Mengu <[email protected]>:
> Graham,
>
> even the simple configuration on the quick start doesn't work for me.
> i am doing something wrong but still haven't figured it out. here is
> how the configuration looks like:
>
> <VirtualHost *:80>
>
>    ServerName wsgi.localhost
>    ServerAlias example.com
>    ServerAdmin [email protected]
>
>    DocumentRoot /var/www
>
>    <Directory /var/www>
>    Order allow,deny
>    Allow from all
>    </Directory>
>
>    WSGIScriptAlias /wsgi /var/www/wsgi/test.wsgi
>
>    <Directory /var/www/wsgi>
>    Order allow,deny
>    Allow from all
>    </Directory>
>
> </VirtualHost>
>
> the problem is, again, when i point my browser to http://wsgi.localhost/wsgi
> it doesn't render test.wsgi

What do you get if it doesn't render? An Apache error page? If so what
error message? Or do you get an empty page?

Also, what error message may be in Apache error log?

Can you also override value of LogLevel in Apache configuration so it is:

  LogLevel info

and restart Apache.

Look in Apache error logs for any indication that Apache is loading mod_wsgi.

Make a request again and post both mod_wsgi startup messages plus what
occurs in Apache error log when request made. Look for any other
strange messages as well, such as 'Segmentation Fault'.

Please also indicate what operating system you are using and what
version of Python.

Finally, do you have mod_python loaded at the same time.

Graham

> i have installed the mod_wsgi as its written in
> http://code.google.com/p/modwsgi/wiki/InstallationIssues.
>
> Thank you.
>
> Mengu
>
> On Dec 18, 1:06 am, Graham Dumpleton <[email protected]>
> wrote:
>> The location you have pasted your configuration is marked as a
>> restricted site by firewall filtering software where I work so can't
>> access it. All I can do is point you to:
>>
>>  http://code.google.com/p/modwsgi/wiki/IntegrationWithWeb2Py
>>
>> As described in blog posts linked from that, do not use the web2py
>> configurations from first edition of web2py book, only use that from
>> the second edition. Also do not rely on any blog posts elsewhere about
>> how to do it or even the web2py wiki pages as many are wrong and just
>> duplicate wrong information from first edition of book or some
>> variation on it.
>>
>> Before you do any of that though, would suggest you get a hello world
>> WSGI application running per instructions in:
>>
>>  http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
>>
>> Other than that, post the relevant parts of Apache configuration
>> direct in email rather than a paste bin.
>>
>> Graham
>>
>> 2009/12/18 Mengu <[email protected]>:
>>
>> > hi,
>>
>> > hello, i am using web2py and i wanted to deploy it with mod_wsgi. the
>> > problem is, whenever i point my browser tohttp://web2py.localhostit
>> > doesn't show the web2py content but it shows /var/www/index.html.
>>
>> > i have this as my configuration 
>> > file:http://pastie.org/private/shorxbv1rbty6trd7quqww
>>
>> > this lines are taken from -the latest ones in- apache access.log:
>> >http://pastie.org/private/ycfvuobolr1t8i4m0bsoq
>>
>> > and this lines are taken from 
>> > error.log:http://pastie.org/private/bae49k4gfxtpkigi47p8a
>>
>> > please point me to the right direction.
>>
>> > thank you.
>>
>> > Mengu
>>
>> > --
>>
>> > 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 
>> > athttp://groups.google.com/group/modwsgi?hl=en.
>
> --
>
> 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.
>
>
>

--

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