Re: [users@httpd] 500 Internal Server Error

2021-02-15 Thread João Aguiar
Grateful for the tip, I managed to identify a simple coding problem (method declaration was misspelled, in wsgi.py), grateful. Em seg., 15 de fev. de 2021 às 20:44, Richard < lists-apa...@listmail.innovate.net> escreveu: > > > > Date: Monday, February 15, 2021 20:34:15 -0300 > > From: João Aguiar

Re: [users@httpd] result codes from Bash CGI

2021-02-15 Thread Dino Ciuffetti
So I would do something like echo "Status: 410 Gone" to create a "410 Gone" result code and message? Claude Yes. You got the point. Please check this CGI bash script I made for you as an example: https://gist.github.com/dam2k/5df0d8d3fdabc41e8ce2c799734f65d4 (https://gist.github.com/dam2k/5df

Re: [users@httpd] 500 Internal Server Error

2021-02-15 Thread Richard
> Date: Monday, February 15, 2021 20:34:15 -0300 > From: João Aguiar > >> Em seg., 15 de fev. de 2021 às 20:28, Richard escreveu: >> >> > Date: Monday, February 15, 2021 20:13:29 -0300 >> > From: João Aguiar >> > >> > I installed apache to be able to use python in version 3.8 >> > together

Re: [users@httpd] 500 Internal Server Error

2021-02-15 Thread Will Fatherley
Should be /var/log/apache2 On Mon, Feb 15, 2021 at 6:34 PM João Aguiar wrote: > Can you tell me where the error logs are in Debian 10 ? > > Em seg., 15 de fev. de 2021 às 20:28, Richard < > lists-apa...@listmail.innovate.net> escreveu: > >> >> >> >> > Date: Monday, February 15, 2021 20:13:29 -03

Re: [users@httpd] 500 Internal Server Error

2021-02-15 Thread João Aguiar
Can you tell me where the error logs are in Debian 10 ? Em seg., 15 de fev. de 2021 às 20:28, Richard < lists-apa...@listmail.innovate.net> escreveu: > > > > > Date: Monday, February 15, 2021 20:13:29 -0300 > > From: João Aguiar > > > > I installed apache to be able to use python in version 3.8

Re: [users@httpd] 500 Internal Server Error

2021-02-15 Thread Richard
> Date: Monday, February 15, 2021 20:13:29 -0300 > From: João Aguiar > > I installed apache to be able to use python in version 3.8 together > with virtualenv and after making certain configurations that used > to run, now it doesn't work anymore with an error: > > Internal Server Error ...

[users@httpd] 500 Internal Server Error

2021-02-15 Thread João Aguiar
I installed apache to be able to use python in version 3.8 together with virtualenv and after making certain configurations that used to run, now it doesn't work anymore with an error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete yo

Re: [users@httpd] result codes from Bash CGI

2021-02-15 Thread Claude Warren
So I would do something like echo "Status: 410 Gone" to create a "410 Gone" result code and message? Claude On Mon, Feb 15, 2021 at 6:37 PM Eric Covener wrote: > There is a pseudo header you can emit from your CGI called Status that > allows you to change the HTTP status code. > You can set i

Re: [users@httpd] result codes from Bash CGI

2021-02-15 Thread Eric Covener
There is a pseudo header you can emit from your CGI called Status that allows you to change the HTTP status code. You can set it just like you'd set e.g. Content-Type On Mon, Feb 15, 2021 at 11:37 AM Claude Warren wrote: > > Greetings, > > I am playing with Bash based CGI. It works reasonably we

Re: [users@httpd] result codes from Bash CGI

2021-02-15 Thread Antony Stone
On Monday 15 February 2021 at 17:36:46, Claude Warren wrote: > Greetings, > > I am playing with Bash based CGI. Maybe if you give us an example of exactly how you are doing this, it would help us to answer your question: > I can see how to generate any result code other than 200. I assume a "

[users@httpd] result codes from Bash CGI

2021-02-15 Thread Claude Warren
Greetings, I am playing with Bash based CGI. It works reasonably well. I know that it is not blindingly fast, but I think it will be sufficient for what I want to do if I can solve one problem. I can see how to generate any result code other than 200. Is there a way to set the result code to a

Re: [users@httpd] How to set a password for the WordPress logging page?

2021-02-15 Thread Jason Long
Thank you. I added a ".WPhtpasswd" file as below: # htpasswd -c /etc/httpd/.WPhtpasswd "Panel User" Then, added below lines in the ".htpasswd" file under the WordPress directory: AuthType Digest AuthName "Password Protected" AuthDigestDomain /wp-login.php https://www.MyWebSite.com/wp-login.php Aut