Hi,
I have following versions installed
mod-wsgi==4.9.0
Server version: Apache/2.4.51 (Unix) - Apple Version
macos bigSur(11.6.2).
I have completed all the configuratfor the deployment of my django
application and everything seems to work fine.
I only have one doubt here which i want to ask.When i was using django
development server than using the export command i was setting the
LD_LIBRARY_PATH.
export LD_LIBRARY_PATH=~/Downloads/instantclient_19_8:$LD_LIBRARY_PATH
Now since i have deployed it to apache using mod_wsgi i want to ask how
will now i set this variable .I have used SetEnv but it also seems to be
not working.
Listen 8001
<VirtualHost *:8001>
SetEnv LD_LIBRARY_PATH=Users/apple/Downloads/instantclient_19_8
ServerName first.djwebapp
WSGIScriptAlias / /Users/apple/project/myproject/myproject/wsgi.py
<Directory /Users/apple/project/myproject/myproject>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
ErrorLog "/private/var/log/apache2/first.djwebapp-error_log"
CustomLog "/private/var/log/apache2/first.djwebapp-access_log" common
</VirtualHost>
This is my config which i added in httpd.conf file
Thanks
Suraj
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/modwsgi/774a1056-1258-48cb-9633-a61d8123a756n%40googlegroups.com.