Working from memory here, but look at the -D option to httpd. Apache has a
basic macro replacement mechanism you might be able to use. You may have to
use it in conjunction with mod_macro.

Again, hard for me to give a better answer right now.

Graham

On Tuesday, 11 September 2012, Danny wrote:

> Howdy,
>
> I'm curious if it is possible to change the location of the wsgi file from
> the command line. It seems impossible from /etc/init.d/httpd but more
> promising from:
>  /usr/sbin/apachectl -c "WSGISCRIPTALIAS / /mypath/debug_wsgi.py"
>
> Only this doesn't seem to actually work. I'm trying to run a debug version
> of my wsgi.py file and it would be nice to specify from the command line. I
> can always create a second apache conf file with a different VirtualHost
> pointing to the correct wsgi file but I am trying to get around that.
>
> thanks,
> Danny
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/5ibNt_fFrXMJ.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> .
> To unsubscribe from this group, send email to
> [email protected] <javascript:_e({}, 'cvml',
> 'modwsgi%[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