Hello, my responses inline.

Hello!

Please give me a hand.

I am trying to do the configuration as described on:
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
I have installed python, mod_wsgi.so is in the modules folder, "LoadModule
wsgi_module modules/mod_wsgi.so" is in the httpd.conf file.

I have added :
********************************
<VirtualHost *:80>

    ServerName www.example.com
    ServerAlias example.com
    ServerAdmin [email protected]

    DocumentRoot /usr/local/www/documents

    <Directory /usr/local/www/documents>
    Order allow,deny
    Allow from all
    </Directory>

    WSGIScriptAlias /ante /usr/local/www/wsgi-scripts/ante.wsgi

    <Directory /usr/local/www/wsgi-scripts>
    Order allow,deny
    Allow from all
    </Directory>

</VirtualHost>
**********************************
in .conf file,

Really like that? With www.example.com as the virtualhost?

and finally: myapp.wsgi as written in the guide is in
the  /usr/local/www/wsgi-scripts/ folder.

Your configuration above is referring to ante.wsgi.

However, when i do: http://localhost/myapp i get:
*********************************
object not found!

Is your virtualhost for localhost or www.example.com? What about ante vs myapp?

The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.If you think this is a
server error, please contact the webmaster.
Error 404localhost
10/22/12 15:17:23
Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e mod_wsgi/3.4
Python/3.2.3 PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
**********************

when i do: http://localhost/usr/local/www/wsgi-scripts/myapp.wsgi
i get the code on the screen....

That would be if access is allowed everywhere on the system in Apache config, and you have not specified any specific handler for that path, so it gets handled as any file.

Please help me execute the hello world script, pleeease!!!

Please first double check your configuration, since the config you posted and the tests you listed you did conflict with each other a lot.

And what is particularly interesting is the server signature: Apache/2.2.21 (Win32). Are you on Windows environment? Then all those /usr/ paths seem weird in the least as that's typical file hierarchy in Unix based systems, while Windows uses drive letters...


Regards,

Joonas L.

--
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