Thanks for your answer,

In my file I use absolute path, I remove some "sensitive" data, therefore 
it's then a relative path, sorry for the confusion. 

I already watched both video couple of days ago, but I guess I missed 
something. I will check process-group option in  WSGIScriptAlias, hope 
things will be clarified.


 

On Wednesday, December 13, 2023 at 8:25:46 PM UTC+1 Graham Dumpleton wrote:

> BTW the location given in python-path, second argument to WSGIScriptAlias 
> and argument to Directory directive are supposed to be absolute paths, not 
> relative. Use of a relative path might cause incorrect results.
>
> For a virtual environment you should not use python-path like that anyway. 
> Instead use python-home to virtual environment root. See:
>
> Virtual Environments — mod_wsgi 5.0.0 documentation 
> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>
> modwsgi.readthedocs.io 
> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>
> [image: favicon.ico] 
> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>
>  
> <https://modwsgi.readthedocs.io/en/master/user-guides/virtual-environments.html>
>
>
> On 14 Dec 2023, at 1:45 am, Manu Itutur <iturbide...@gmail.com> wrote:
>
> WSGIDaemonProcess ipt python-path=virtualenv/lib/python3.7/site-packages 
> processes=7 threads=2 display-name=custom-apache
> WSGIScriptAlias / conf/wsgi.preprod.py process-group=custom 
> application-group=%{GLOBAL}
> WSGIApplicationGroup %{GLOBAL}
> <Directory conf>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/9973f79c-6265-4cee-a876-262b09975fa4n%40googlegroups.com.

Reply via email to