If you have multiple virtual hosts, do you have:

  NameVirtualHost *:80

defined in Apache configuration and is that virtual host enabled for
use if using one of the Linux distributions which requires link in
sites-enabled (???) directory.

In other words, can't see anything obviously wrong, so question
whether virtual host configuration even being found properly.

You can check whether file is being read by add:

  xxx syntax error

on a line by itself in file. If Apache doesn't start up then probably
is at least being read as syntax error will stop it being started.

Graham

On Tuesday, September 7, 2010, commonzenpython
<[email protected]> wrote:
> hey guys , im trying to run the hello world program from the wsgi site
> using a virtual host, but so far iv had no luck, whenever i go to the
> url  www.pawawi.com/myapp , i get a 404
>
> this is my httpd.conf :
>
> <VirtualHost *:80>
>
>     ServerName www.pawawi.com
>     ServerAlias pawawi.com
>     ServerAdmin [email protected]
>
>     DocumentRoot /var/www/html
>
>     <Directory /var/www/html>
>     Order allow,deny
>     Allow from all
>     </Directory>
>
>     WSGIScriptAlias /myapp /var/www/vhosts/pawawi.com/httpdocs/
> myapp.wsgi
>
>     <Directory /var/www/vhosts/pawawi.com/httpdocs>
>     Order allow,deny
>     Allow from all
>     </Directory>
>
> </VirtualHost>
>
> iv cheked the apache error logs, and this is what it says :
>
> [Tue Sep 07 00:54:19 2010] [info] mod_wsgi (pid=27699): Initializing
> Python.
> [Tue Sep 07 00:54:19 2010] [info] mod_wsgi (pid=27699): Attach
> interpreter ''.
>
> any help is appreciated, thanks in advance
>
> --
> 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