Is there something about 'use the mailing list in future' from prior
emails that you don't understand?

On 20 June 2010 14:29, Shivek Khurana <[email protected]> wrote:
> Sir, I've successfully configured wsgi with due respect to documentation
> and it works fine.
> I have a small problem I've been Googling around for 2 consecutive days.
> I've set the WSGIScriptAlias to a partition in my hard drive which
> shamelessly
> returns a 403 forbidden error.
> I've tried everything but nothing worked. Can you help ?

You need to look at the Apache error log. If you see an error message like:

  client denied by server configuration: /home/grumpy/example-1/hello.wsgi

Then you are missing from your Apache configuration a section similar to:

  <Directory /home/grumpy/example-1>
  
Order deny,allow
  Allow from all
  
</Directory>

which says that Apache is allowed to serve up a WSGI script file from
the directory where you put it.

If you don't see that error message in Apache error logs, then you
need to subscribe to the mailing list and post there the actual error
messages you are seeing in the Apache error logs for your request. You
also need to clarify whether the 403 is from Apache, or from your
specific WSGI application, plus actually quote the exact Apache
configuration snippet you are using to set up your application under
mod_wsgi, as well as indicate what WSGI application framework you
might be using.

Graham

> On Fri, Jun 18, 2010 at 12:52 PM, Shivek Khurana <[email protected]> wrote:
>>
>> Thank you.
>>
>> On Fri, Jun 18, 2010 at 10:11 AM, Graham Dumpleton
>> <[email protected]> wrote:
>>>
>>> On 18 June 2010 14:29, Shivek Khurana <[email protected]> wrote:
>>> > Dear Sir,
>>> > I've configured mod_wsgi from source with
>>> > python3.1. Python3-dev and apache2-dev
>>> > packages are properly installed as well. I
>>> > see wsgi.load in mods-enabled.
>>> > But what to do next ?? I'm not using any
>>> > framework as its a small app that I wish
>>> > to write from a scratch.
>>> > Please help.
>>> > Thank you
>>>
>>> For mod_wsgi setup help read:
>>>
>>>  http://code.google.com/p/modwsgi/wiki/WhereToGetHelp
>>>
>>> For an understand of what WSGI in general is and how to program at
>>> that level start at:
>>>
>>>  http://www.wsgi.org/wsgi/
>>>
>>> Please use the mailing list for mod_wsgi in future if you have
>>> specific issues about mod_wsgi.
>>>
>>> The mailing list details are in the document linked about where to get
>>> help. This email has been cc'd back to the mailing list. You will need
>>> to join the group however to do followups.
>>>
>>> Graham
>>
>
>

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