Well, actually I don't think that WSGIScriptAlias does anything like
open_basedir.

The idea behind open_basedir is the jail all script within a set of
paths.

For instance, if you have put in your configuration file open_basedir=/
my/path/:/my/other/path or the equivalent version as apache vhost
directive in your vhost file, any call to functions which handles
files and which would try to access to files outside these paths would
end with an error.

It's an easy and very simple way to jail your projects.

I'm pretty sure there is a way to jail a Python project as it is with
a PHP one.

But as I'm a rookie with Python, it's still PIA to make it run as I
would with PHP.

On Jun 26, 4:57 pm, wongobongo <[email protected]> wrote:
> Have you seen WSGIScriptAlias?
>
> http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIScr...
>
> On Jun 26, 5:01 am, "avetis.kazarian" <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm looking for an equivalent of the PHP's open_basedir 
> > —http://en.php.net/manual/en/ini.core.php#ini.open-basedir—but for
> > WSGI.
>
> > Is there anything like that?

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