<https://lh3.googleusercontent.com/-yOFXV0D_NVo/WoZGkcObvHI/AAAAAAAACGU/GKibLMOm5PAOWgDxLUKm3lbSIeoOn0JVACLcBGAs/s1600/SSL%2Bcommand.png>

<https://lh3.googleusercontent.com/-OrvLueM54NE/WoZGZoYAL7I/AAAAAAAACGQ/MPcAPH8pi88Y9gE6n8Qcs1SyicAvg4ehwCLcBGAs/s1600/error_log_after_apache_start.png>
I'm using django 1.11.4.
You were right, I had BASE_DIR poiting to (in this example names case) to 
/home/ser_user/my_project/my_project
I fixed and then ran the following
>
> source /sbenv/bin/activate

export DJANGO_SETTINGS_MODULE='my_project.settings.production' 

python manage.py diffsettings

Then I get that BASE_DIR is

> BASE_DIR='/home/server_user/my_project' # the top container


Where
-*my_project (the top container)*
----manage.py
----static
----more dirs...(the django apps)
----*my_project*
-------wsgi.py
-------urls.py
-------settings
-----------base.py
-----------development.py
-----------production.py
 
Also had to modify the wsgi.py export DJANGO_SETTINGS_MODULE to my specific 
one (production.py), before it was the default.

Then, I can run correctly the command --setup-only to run the server in 
port 80 with HTTP.

Now, I when I use the SSL options, I'm still having the (
ERR_SSL_PROTOCOL_ERROR) and in this case when I run 
/etc/mod_wsgi-443/apachectl status, wheter if it is with a sudo or not, it 
says

> You don't have  permission to access /server-status on this server

With a title of "Forbidded"

My error_log says:

<https://lh3.googleusercontent.com/-OrvLueM54NE/WoZGZoYAL7I/AAAAAAAACGQ/MPcAPH8pi88Y9gE6n8Qcs1SyicAvg4ehwCLcBGAs/s1600/error_log_after_apache_start.png>
 
I ran the command

<https://lh3.googleusercontent.com/-yOFXV0D_NVo/WoZGkcObvHI/AAAAAAAACGU/GKibLMOm5PAOWgDxLUKm3lbSIeoOn0JVACLcBGAs/s1600/SSL%2Bcommand.png>

-- 
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 post to this group, send email to modwsgi@googlegroups.com.
Visit this group at https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to