On 29 April 2011 23:12, Hanson <[email protected]> wrote:
> Help me out please.
>
> I have installed Python 2.7 on Windows 7, I have installed mod_wsgi
> and successfully,
>
> LoadModule wsgi_module modules/mod_wsgi.so
>
> I edited my httpd.conf by typing
>
> WSGIScriptAlias /myapp /C:/www/wsgi-scripts/myapp.wsgi
>
> <Directory C:/www/wsgi-scripts>
>    Order allow,deny
>    Allow from all
>    </Directory>
>
> But when I run
>
> http://localhost/myapp
>
> my browser will return
>
> Forbidden
> You don't have permission to access /myapp on this server.
>
> I checked my error log file and saw this
>
> [Fri Apr 29 13:32:19 2011] [error] [client 127.0.0.1] (20024)The given
> path is misformatted or contained invalid characters: access to /myapp
> failed.

That is a different issue.

For a start, instead of:

  WSGIScriptAlias /myapp /C:/www/wsgi-scripts/myapp.wsgi

you should be using:

  WSGIScriptAlias /myapp C:/www/wsgi-scripts/myapp.wsgi

Ie., no '/' before the drive designator.

If that was present in previous email and I missed it, sorry.

Graham

> PLEASE HOW CAN I
> (1)     MAKE DIRECTORIES ACCESSABLE TO OTHERS.
> (2)     MAKE FILES READABLE TO OTHERS.
>
> I SAW THIS ON A VIDEO PRESENTATION:
> chmod o+rx /home/grumpy  (makes directory accessable)
> and
> chmod o+r /home/grumpy/example-1/hello.wsgi  (make files readable)
>
> CAN IT BE USED ON Windows? If YES where?
> Thank you.
>
> --
> 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