On Sunday, December 18th, 2022 at 9:04 AM, Omar Polo <o...@omarpolo.com> wrote:

> instead of asking how to do X so that you can do Y, ask directly how
> to do Y.

I did. The first line of my message was
"Can anyone provide a guide for this or rough instructions?",
which is in reference to the subject
"Guide for Configuring python(1) with httpd(8)".

Did i precede to explain
how I was trying to attempt to accomplish Y with X?
Yes, but I don't see why that would be a problem.
I feel like it's better for users to actually attempt to try
and solve their problems then not to try at all. 

> Why do you need python at all in the chroot? Installing all the
> needed files (and keeping them up-to-date!) manually in a chroot is a
> pain.

I completely agree.
Virtually every solution I've seen online does this.
If there's a better way, I'm all ears.
I think it's reasonable to assume
if someone is attempting to do something
and you believe you have a much better way of accomplishing it,
then share it.
I never said this is the only way to do it
or that this is the only way I want to accomplish this problem.
I just shared what I've been trying to get to work,
which is based on the information I've found online.

> Since httpd speaks fastcgi, why not write some python code that
> accepts the requests over fastcgi? (assuming this is what you're
> trying to do, but you didn't tell.)

I believe that is exactly what I'm trying to do. 
The end goal is to be able access a python(1) file from httpd(8).
My understanding is you have to configure slowcgi(8),
which utilizes fastcgi, within httpd(8).
I've been able to configure that without any problems using perl(1),
but not with python(1).

With python(1), because the problem is occurring
before I even get to httpd(8), I left that out of the message. 
If I attempt to access the python(1) file currently, 
I still see the same 'ld.so' error message I mentioned before.
Therefore, I was trying to leave out httpd(8)
and slowcgi(8) configuration as that isn't where the problem lies. 

As mentioned before, if you have a better solution for this, 
please share.
Any links you can provide for step by step instructions 
or general steps on how to accomplish this would be helpful. 

Thanks.

Reply via email to