Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Hi, Yes, In the the root directory there is .htaccess file, the content of the file is ``` RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|robots\.txt|favicon\.ico) RewriteRule ^(.*)$ /index.php/$1 [L] ``` Since by @Eric's sugge

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Frank Gingras
On Mon, Oct 7, 2024 at 7:51 AM Eric Covener wrote: > On Mon, Oct 7, 2024 at 7:12 AM Eric Covener wrote: > > > > >> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid > 131326541519672] [client 192.168.16.1:49194] AH01630: client denied by > server configuration: > /usr/local/apache

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Eric Covener
On Mon, Oct 7, 2024 at 7:12 AM Eric Covener wrote: > > >> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid > >> 131326541519672] [client 192.168.16.1:49194] AH01630: client denied by > >> server configuration: > >> /usr/local/apache2/htdocs/apps/admin/public_html/.htaccess > > T

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Abhijith
Thanks for the response, There is no other config file than admin.conf. here is the result of `apachectl -S`: ``` [Mon Oct 07 11:30:45.926201 2024] [core:trace3] [pid 102:tid 123653751024456] core.c(3469): Setting LogLevel for all modules to trace8 [Mon Oct 07 11:30:45.926287 2024] [core:trace3] [p

Re: [users@httpd] Help with Apache Configuration in Dockerized PHP Application

2024-10-07 Thread Eric Covener
>> [Sun Oct 06 10:02:48.889047 2024] [authz_core:error] [pid 10:tid >> 131326541519672] [client 192.168.16.1:49194] AH01630: client denied by >> server configuration: >> /usr/local/apache2/htdocs/apps/admin/public_html/.htaccess This error means it's not filesystem permissions. Are there other

Re: [users@httpd] mod_proxy_hcheck with Istio

2024-10-04 Thread Daniel Ferradal Márquez
On 30/9/24 10:50, Stanislav Samek wrote: Hi, I don't think that there is an issue with ssl. We have SSLProxyEngine turned on and also a backend name match with CN. In attachment you can find output from the curl command. Thank you What I would make sure in your case is SSLProtocols set u

RE: [users@httpd] How to fix Apache HTTPD Unauthenticated/Open Web Proxy Vulnerability?

2024-10-04 Thread Shinde, Pramod K
HTTPD. Thanks again. From: Eric Covener Sent: Friday, September 27, 2024 7:16 AM To: users@httpd.apache.org Subject: Re: [users@httpd] How to fix Apache HTTPD Unauthenticated/Open Web Proxy Vulnerability? EXTERNAL EMAIL - This email was sent by a person from outside your organization. Exercise ca

Re: [users@httpd] How to disable IndexStylesheet on a subdirectory

2024-09-30 Thread Frank Gingras
On Mon, Sep 30, 2024 at 8:31 PM Dan Mahoney (Gushi) wrote: > Hey there all, > > I can't find this in the manual. Assume I've set IndexStylesheet for some > directory of downloads, but on a subdirectory, would like apache to not > add the CSS header. > > (Specifically, we want as simple HTML as p

Re: [users@httpd] mod_proxy_hcheck with Istio

2024-09-30 Thread Stanislav Samek
Hi, I don't think that there is an issue with ssl. We have SSLProxyEngine turned on and also a backend name match with CN. In attachment you can find output from the curl command. Thank you so 28. 9. 2024 o 22:02 Daniel Ferradal Márquez napísal(a): > > On 24/9/24 8:25, Stanislav Samek wrote: >

Re: [users@httpd] RewriteMap and combining RewriteRules

2024-09-28 Thread Daniel Ferradal Márquez
On 14/7/24 19:56, Dave Wreski wrote: The problem is that it appears RewriteMap must consider ALL possibilities. It doesn't then fall back to actually see if the URL is valid or another RewriteRule exists. As I see it, you must define other patterns that will not fall into the rewritemap fi

Re: [users@httpd] Tomcat anibm semeru

2024-09-28 Thread Daniel Ferradal Márquez
On 23/9/24 16:52, andreas.moro...@wobi.bz.it wrote: Hello, we would like to use tomcat with ibm semeru as jre. I searched the web, but found no documentation. Is this combination supported and is there documentation on how to configure it? Greetings Andreas Although this is the user list

Re: [users@httpd] mod_proxy_hcheck with Istio

2024-09-28 Thread Daniel Ferradal Márquez
On 24/9/24 8:25, Stanislav Samek wrote: ... Probably it will be a problem that Istio is exposing endpoints in HTTP/2 revision. Don't you have a problem with this? Here is part of our configuration:   ProxyPassMatch ^/foobar/v1/(.*)$  balancer://application/api/$1   ProxyPassReverse ^/foobar

Re: [users@httpd] AH00051: child pid 3886730 exit signal Segmentation fault (11), possible coredump in /etc/httpd

2024-09-28 Thread Dave Wreski
Hi, thanks for your help. Bug created here. https://bz.apache.org/bugzilla/show_bug.cgi?id=69350 I can also provide a coredump (33MB). dave On 9/27/24 8:33 PM, Eric Covener wrote: Send the backtrace of all threads as an attachment or open a bug report and attach it there. https://bz.apache.or

Re: [users@httpd] AH00051: child pid 3886730 exit signal Segmentation fault (11), possible coredump in /etc/httpd

2024-09-27 Thread Eric Covener
Send the backtrace of all threads as an attachment or open a bug report and attach it there. https://bz.apache.org/bugzilla/enter_bug.cgi?product=Apache%20httpd-2&Bugzilla_remember=on&Bugzilla_restrictlogin=on&GoAheadAndLogIn=Log%20in On Fri, Sep 27, 2024 at 8:31 PM Dave Wreski wrote: > > I'm usi

Re: [users@httpd] AH00051: child pid 3886730 exit signal Segmentation fault (11), possible coredump in /etc/httpd

2024-09-27 Thread Dave Wreski
I'm using httpd-2.4.62 on fedora40 and noticed periodic errors related to core dumps. Is this a potential bug? I see there are several similar bug reports with previous versions but never a resolution. The crash symptom by iteslf doesn't mean very much without specific backtraceshttps://httpd.a

Re: [users@httpd] AH00051: child pid 3886730 exit signal Segmentation fault (11), possible coredump in /etc/httpd

2024-09-27 Thread Dave Wreski
Hi, I'm using httpd-2.4.62 on fedora40 and noticed periodic errors related to core dumps. Is this a potential bug? I see there are several similar bug reports with previous versions but never a resolution. [Wed Sep 25 11:07:16.786647 2024] [core:notice] [pid 1616:tid 161

Re: [users@httpd] How to fix Apache HTTPD Unauthenticated/Open Web Proxy Vulnerability?

2024-09-27 Thread Eric Covener
I suspect you are not running a forward proxy on purpose, so you should not have "ProxyRequests ON" in your configuration. You should just test without this, remove the other additions, and move on. If you're running a forward proxy on purpose, you have to restrict who can access it (and what hos

Re: [users@httpd] AH00051: child pid 3886730 exit signal Segmentation fault (11), possible coredump in /etc/httpd

2024-09-27 Thread Eric Covener
On Thu, Sep 26, 2024 at 10:26 PM Dave Wreski wrote: > > Hi, > > I'm using httpd-2.4.62 on fedora40 and noticed periodic errors related to > core dumps. Is this a potential bug? I see there are several similar bug > reports with previous versions but never a resolution. The crash symptom by ites

Re: [users@httpd] AH00051: child pid 3886730 exit signal Segmentation fault (11), possible coredump in /etc/httpd

2024-09-26 Thread Frank Gingras
On Thu, Sep 26, 2024 at 10:27 PM Dave Wreski wrote: > Hi, > > I'm using httpd-2.4.62 on fedora40 and noticed periodic errors related to > core dumps. Is this a potential bug? I see there are several similar bug > reports with previous versions but never a resolution. > > [Wed Sep 25 11:07:16.7866

Re: [users@httpd] Tomcat anibm semeru

2024-09-23 Thread Zahid Rahman
The various jvms are developed to follow same specifications written by a higher design committee. Unless there is an undiscovered bug tomcat will work IBM jvm. Just try it. RUN IT. On Mon, 23 Sept 2024, 16:03 Frank Gingras, wrote: > > > On Mon, Sep 23, 2024 at 10:56 AM wrote: > >> Hello, >

Re: [users@httpd] Tomcat anibm semeru

2024-09-23 Thread Frank Gingras
On Mon, Sep 23, 2024 at 10:56 AM wrote: > Hello, > > we would like to use tomcat with ibm semeru as jre. > I searched the web, but found no documentation. > > Is this combination supported and is there documentation on how to > configure it? > > Greetings > Andreas > > Institut für den sozialen W

Re: [users@httpd] SSL setup assistance

2024-09-18 Thread j...@k6ccc.org
org Subject: Re: [users@httpd] SSL setup assistance It was thus said that the Great j...@k6ccc.org once stated: > So can someone either point me to a good step by step or walk me through > what I need to do to get this working. I had gotten the cert back then > via Let's Encryp

Re: [users@httpd] SSL setup assistance

2024-09-18 Thread Sean Conner
It was thus said that the Great j...@k6ccc.org once stated: > So can someone either point me to a good step by step or walk me through > what I need to do to get this working. I had gotten the cert back then > via Let's Encrypt, and that was the easy part. I have a write-up of what I went throu

Re: [users@httpd] SSL setup assistance

2024-09-18 Thread Frank Gingras
On Wed, Sep 18, 2024 at 3:02 PM Marc wrote: > > > > I am running Apache on a Windows server with at least close to latest > > release. It host my personal website and a website for my home Christmas > > light show. Just simple static web pages - nothing fancy at all. There > > is absolutely no

RE: [users@httpd] SSL setup assistance

2024-09-18 Thread Marc
> > I am running Apache on a Windows server with at least close to latest > release. It host my personal website and a website for my home Christmas > light show. Just simple static web pages - nothing fancy at all. There > is absolutely nothing that needs any degree of security. As such I hav

Re: [users@httpd] SSL setup assistance

2024-09-18 Thread Yehuda Katz
On Wed, Sep 18, 2024 at 2:56 PM Frank Gingras wrote: > >> You basically need to load the mod_ssl module with LoadModule, edit the > :443 vhost and add SSLEngine on, SSLCertificateFile and > SSLCertificateKeyFile. > I also recommend looking at the Mozilla SSL Configuration Generator. It will help

Re: [users@httpd] SSL setup assistance

2024-09-18 Thread Frank Gingras
On Wed, Sep 18, 2024 at 2:52 PM j...@k6ccc.org wrote: > I know this is going to be very basic for most of you. > > I am running Apache on a Windows server with at least close to latest > release. It host my personal website and a website for my home Christmas > light show. Just simple static we

Re: [users@httpd] Information

2024-09-09 Thread suman choudhary
Hello, Thank you very much for the information. Currently the apache version 2.4.53 is running on ubuntu 22.04. So if I try to upgrade or install apache 2.4.62 which is the latest version will it be compatible or work? On Tue, Sep 10, 2024 at 11:21 AM Frank Gingras wrote: > > > On Tue, Sep 10,

Re: [users@httpd] Brotli compression

2024-09-05 Thread Dave Wreski
Hi, following up with my own email here to indicate I discovered the problem. It wasn't immediately clear from the Joomla AdminTools "prevent content transformation" setting that it essentially disables cloudflare's ability to proxy compressed content. Header merge Cache-Control "no-tra

[users@httpd] Re: Helpful and Friendly Mailing List Replies [WAS: Re: [users@httpd] Update Apache httpd to the latest version 2.4.62]

2024-09-03 Thread Jonesy
On Tue, 3 Sep 2024 01:04:13 -0400, Yehuda Katz wrote: > > I have been asked by a number of friends/colleagues why I am still on the > HTTPD users list when people are so unfriendly. > While this response is technically correct, and supporting a Ubuntu > packaged version of httpd is potentially not

Re: [users@httpd] Update Apache httpd to the latest version 2.4.62

2024-09-02 Thread Kaushal Shriyan
On Tue, Sep 3, 2024 at 10:25 AM Frank Gingras wrote: > > > On Tue, Sep 3, 2024 at 12:45 AM Kaushal Shriyan > wrote: > >> >> >> On Tue, Sep 3, 2024 at 9:08 AM Yehuda Katz wrote: >> >>> On Mon, Sep 2, 2024 at 11:30 PM Kaushal Shriyan < >>> kaushalshri...@gmail.com> wrote: >>> I am running Ub

[users@httpd] Helpful and Friendly Mailing List Replies [WAS: Re: [users@httpd] Update Apache httpd to the latest version 2.4.62]

2024-09-02 Thread Yehuda Katz
On Tue, Sep 3, 2024 at 12:56 AM x wrote: > On Tue, Sep 3, 2024 at 12:45 AM Kaushal Shriyan > wrote: > >> Are there any release notes where the security changes related to Apache >> HTTPD version 2.4.62 have been backported to the Apache HTTPD packages >> supplied by Ubuntu? >> >> Kaushal, > > Bes

Re: [users@httpd] Update Apache httpd to the latest version 2.4.62

2024-09-02 Thread Frank Gingras
On Tue, Sep 3, 2024 at 12:45 AM Kaushal Shriyan wrote: > > > On Tue, Sep 3, 2024 at 9:08 AM Yehuda Katz wrote: > >> On Mon, Sep 2, 2024 at 11:30 PM Kaushal Shriyan >> wrote: >> >>> I am running Ubuntu server version 24.04 LTS. Is there a way to update >>> Apache httpd to the latest version 2.4.

Re: [users@httpd] Update Apache httpd to the latest version 2.4.62

2024-09-02 Thread Yehuda Katz
On Tue, Sep 3, 2024 at 12:45 AM Kaushal Shriyan wrote: > Thanks, Yehuda, for the quick response. I really appreciate it. Are there > any release notes where the security changes related to Apache HTTPD > version 2.4.62 have been backported to the Apache HTTPD packages supplied > by Ubuntu? > You

Re: [users@httpd] Update Apache httpd to the latest version 2.4.62

2024-09-02 Thread Kaushal Shriyan
On Tue, Sep 3, 2024 at 9:08 AM Yehuda Katz wrote: > On Mon, Sep 2, 2024 at 11:30 PM Kaushal Shriyan > wrote: > >> I am running Ubuntu server version 24.04 LTS. Is there a way to update >> Apache httpd to the latest version 2.4.62? >> > > You can always download and compile HTTPD for yourself. Th

Re: [users@httpd] Update Apache httpd to the latest version 2.4.62

2024-09-02 Thread Yehuda Katz
On Mon, Sep 2, 2024 at 11:30 PM Kaushal Shriyan wrote: > I am running Ubuntu server version 24.04 LTS. Is there a way to update > Apache httpd to the latest version 2.4.62? > You can always download and compile HTTPD for yourself. The instructions in the documentation are pretty clear. https://h

Re: [users@httpd] Location of Web Site Pages

2024-08-26 Thread Yehuda Katz
On Sun, Aug 25, 2024 at 8:09 PM Lawrence Taylor wrote: > Thanks Paul I have read the document, which explains all the ways you map > the URL to file system locations. What it does not say (from what I can > see) is how to check where this mapping is located. Can you help? > You have everything

Re: [users@httpd] Location of Web Site Pages

2024-08-25 Thread Lawrence Taylor
Thanks Paul I have read the document, which explains all the ways you map the URL to file system locations. What it does not say (from what I can see) is how to check where this mapping is located. Can you help? On Sat, Aug 24, 2024 at 2:32 PM Paul wrote: > On 2024-08-24 14:58, Lawrence Taylor

Re: [users@httpd] Location of Web Site Pages

2024-08-24 Thread Frank Gingras
On Sat, Aug 24, 2024 at 4:32 PM Paul wrote: ... I think it's about time that you move the matter to a web/html/js forum - this thread was not really pertinent to httpd, as far as the asked questions are concerned.

Re: [users@httpd] Location of Web Site Pages

2024-08-24 Thread Paul
On 2024-08-24 14:58, Lawrence Taylor wrote: The mixed content error I am getting now when I force HTTPS is A script with an insecure url of " http://www.luxurybeach.com/admin/js/source/jquery-ui/development-bundle/slides.min.jquery.js"; was loaded on line: 129 of https://www.luxurybeach.com/. --

Re: [users@httpd] Location of Web Site Pages

2024-08-24 Thread Lawrence Taylor
The mixed content error I am getting now when I force HTTPS is A script with an insecure url of " http://www.luxurybeach.com/admin/js/source/jquery-ui/development-bundle/slides.min.jquery.js"; was loaded on line: 129 of https://www.luxurybeach.com/. -- This URL will nee

Re: [users@httpd] rewrite rule issue with Apache 2.4.62

2024-08-23 Thread Eric Covener
> Could you please review this case and let us know if we need to adjust any > configuration with 2.4.62 version. > > 2.4.62 (failing to error.html) > > [Mon Aug 19 14:14:47.360450 2024] [rewrite:trace4] [pid 1177:tid 11999] > mod_rewrite.c(505): [client :] - - > [cci-launchpad-dev.hostname.com

Re: [users@httpd] reverse proxy -- showing directory index

2024-08-22 Thread Frank Gingras
On Thu, Aug 22, 2024 at 11:54 AM bruce wrote: > Hi. > > I'm testing out a github site. I had posted most of this awhile ago, > and it had appears to work. However, something is amiss/screwing up on > my part. In other words, FUBAR! > > Instead of getting the site content, getting the directory in

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Lawrence Taylor
Thanks Yehuda This is above my expertise so will need to hire someone Thanks On Wed, Aug 21, 2024 at 6:27 PM Yehuda Katz wrote: > There is no way to know without actually looking at the code. Some PHP > applications have a templating engine, some just have includes of different > files in dif

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Yehuda Katz
There is no way to know without actually looking at the code. Some PHP applications have a templating engine, some just have includes of different files in different places. You can search the code for the name of the javascript file. There are definitely other files that are included from a non-se

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Stormy
On 2024-08-21 14:08, Yehuda Katz wrote: I see a lot of absolute links to http resources (and I see the name of the company that made the website). It does not appear to be any off-the-shelf application, it was probably something made specifically for your company. - Y On Wed, Aug 21, 2024 at 1:

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Yehuda Katz
I see a lot of absolute links to http resources (and I see the name of the company that made the website). It does not appear to be any off-the-shelf application, it was probably something made specifically for your company. - Y On Wed, Aug 21, 2024 at 1:57 PM Lawrence Taylor wrote: > When you

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Lawrence Taylor
When you view the source code on the landing page does that tell you anything?luxurybeach.comSent from my iPhoneOn 21 Aug 2024, at 11:51 a.m., Yehuda Katz wrote:There are probably no "html" files - the website is generated dynamically by the PHP application.It looks like the PHP application is li

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Yehuda Katz
There are probably no "html" files - the website is generated dynamically by the PHP application. It looks like the PHP application is linking to insecure URLs for javascript and stylesheets, so when you go to the page with HTTPS, your browser refuses to load those resources and that is why your pa

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Lawrence Taylor
Thanks but the html files still exist somewhere though correct?The purpose of all this is that I am trying to force HTTPS. But when I do the landing page is not rendered properly, and the other pages become error pages.Sent from my iPhoneOn 21 Aug 2024, at 11:32 a.m., Yehuda Katz wrote:Your .htac

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Yehuda Katz
Your .htaccess is doing three things: forwarding all secure traffic to your website to be not secure, forwarding some requests for specific files to different places, telling the system to use a ridiculously old version of PHP. You probably need a PHP developer to look at your application specific

Re: [users@httpd] Location of Web Site Pages

2024-08-21 Thread Lawrence Taylor
Hi Yehuda Here is my .htaccess file, does it show anything? RewriteCond %{SERVER_PORT} ^443$ RewriteRule (.*) http://www.luxurybeach.com [R=301,L] redirect 301 /pdf/127/Condo%20Las%20Pe�as%20Vallarta%20 http://www.luxurybeach.com/pdf/127/Condo%20Las%20Pe�as%20Vallarta.pdf redirect 301 /pdf/139/

Re: [users@httpd] Location of Web Site Pages

2024-08-20 Thread Yehuda Katz
This is a side issue, but I can see in your screenshots that you are running cPanel version 86. That version is 3+ years out of date and could have security vulnerabilities. You should not expose a server running software which has not been updated in such a long time on the Internet. - Y Sent fr

Re: [users@httpd] Location of Web Site Pages

2024-08-20 Thread Yehuda Katz
You have some kind of PHP application running your website. You can check your .htaccess file for RewriteRule or other directives that affect requests and direct them to the application. There isn't enough information in the screenshots to see whether it is a custom application or something off the

Re: [users@httpd] Location of Web Site Pages

2024-08-20 Thread Frank Gingras
On Tue, Aug 20, 2024 at 8:18 PM Lawrence Taylor wrote: > Yehuda > > I attach the images of the directories in CPanel for the web site user. > These directories do not have html files. > > What do you suggest now? > > Regards > > Lawrence > > > > On Tue, Aug 20, 2024 at 2:36 PM Lawrence Taylor >

Re: [users@httpd] Location of Web Site Pages

2024-08-20 Thread Lawrence Taylor
Thanks Yahuda I will try that!Sent from my iPhoneOn 20 Aug 2024, at 2:28 p.m., Yehuda Katz wrote:Based on the links you posted, it looks like your server is running cPanel. cPanel stores each website it hosts in its own user directory.You need to figure out which user your website is running as,

Re: [users@httpd] Location of Web Site Pages

2024-08-20 Thread Yehuda Katz
On Tue, Aug 20, 2024 at 4:25 PM Marc wrote: > what about doing a > > find / -iname '*cse.cgi*' -ls > If anyone comes across this in the future: cse is ConfigServer Explorer, a cPanel plugin that provides a filesystem browser. It has nothing to do with HTTPD or with where the files of the website

Re: [users@httpd] Location of Web Site Pages

2024-08-20 Thread Yehuda Katz
Based on the links you posted, it looks like your server is running cPanel. cPanel stores each website it hosts in its own user directory. You need to figure out which user your website is running as, then look at the public_html directory in the user account's home directory. If a single cPanel ac

RE: [users@httpd] Location of Web Site Pages

2024-08-20 Thread Marc
> I have been trying to find the location of the actual html pages that you > see on my website so I can edit them. But in my document root I only have > > 400.shtml > iew&p=/var/www/html&f=400.shtml#new> 229 28-Oct-2

RE: [users@httpd] 2.4.62 broke my UDS reverse proxy

2024-08-13 Thread Ohrstrom, Jeffrey
HTTP: declining URL unix:/var/run/ondemand-nginx/jeff/passenger.sock|http://localhost/pun/sys/dashboard, referer: http://localhost:5556/ -Original Message- From: Ohrstrom, Jeffrey Sent: Tuesday, August 13, 2024 2:05 PM To: users@httpd.apache.org Subject: RE: [users@httpd] 2.4.62 bro

RE: [users@httpd] 2.4.62 broke my UDS reverse proxy

2024-08-13 Thread Ohrstrom, Jeffrey
lowed_hosts="localhost" req_status="500" req_accept_language="en-us,en;q=0.5" req_is_https="false" req_content_type="", referer: https://urldefense.com/v3/__http://localhost:5556/__;!!KGKeukY!yRUPbAMh_Biv42wlJWtFZjlnuJQW06xctY355Mq0RSdUZHxQg

RE: [users@httpd] 2.4.62 broke my UDS reverse proxy

2024-08-13 Thread Ohrstrom, Jeffrey
quot; time_user_map="0.003" res_location="" res_content_length="527" res_content_location="" local_user="jeff" req_uri="/pun/sys/dashboard" req_method="GET" res_content_language="" req_user_ip="10.0.2.100" allowed_

Re: [users@httpd] 2.4.62 broke my UDS reverse proxy

2024-08-13 Thread Eric Covener
On Tue, Aug 13, 2024 at 1:13 PM Ohrstrom, Jeffrey wrote: > we use LuaHookFixups to set some things and I get the sense that could have > something to do with it. Can you share pun_proxy.lua? Can you test with pun_proxy.lua only touching r->handler in the way that SetHandler example looks in ht

Re: [users@httpd] mod_proxy health check custom header

2024-08-12 Thread Aaron Rosenzweig
Hi Eric thanks for digging into code to confirm what I was asking for isn't currently possible. Sounds like while it might be a reasonable enhancement, and somewhat easy to implement, it's not a slam dunk because it could have complications. Yes, you are right, by checking for a particular endpoin

Re: [users@httpd] mod_proxy health check custom header

2024-08-12 Thread Eric Covener
> Does anyone know how to configure the mod_proxy health check to use a custom > header? Or is it not possible currently? Thank you :-) Not a user but I checked the code and I don't think it's possible without an enhancement to mod_proxy_hcheck. The change would not be too bad though. https://g

Re: [users@httpd] error 500 on POST request

2024-08-12 Thread Andrija Vranić
thank you Aaron! On Mon, 12 Aug 2024 at 17:15, Aaron Rosenzweig wrote: > Hi Andrija. In your logs I don't see the 500 error so maybe you cut and > pasted the wrong log. But generally a 500 error means something fundamental > went wrong and it might have nothing to do with Apache. If generally yo

Re: [users@httpd] error 500 on POST request

2024-08-12 Thread Aaron Rosenzweig
Hi Andrija. In your logs I don't see the 500 error so maybe you cut and pasted the wrong log. But generally a 500 error means something fundamental went wrong and it might have nothing to do with Apache. If generally your python app works (Django is python under the covers right?) such as existing

Re: [users@httpd] RewriteRule and redirect loop with htaccess

2024-08-04 Thread Dave Wreski
Hi, Replace the following: RewriteCond %{REQUEST_URI} !^/index\.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L] With: FallbackResource /index.php Thanks so much, as usual. That's very helpful. After like ten hours of debugging, I als

Re: [users@httpd] RewriteRule and redirect loop with htaccess

2024-08-04 Thread Frank Gingras
On Sun, Aug 4, 2024 at 9:54 PM Dave Wreski wrote: > Hi, > > I have a rewrite that's creating a loop because the origin is contained in >>> the final destination. I know it then is processed again by the .htaccess >>> in the document root, but I don't understand why or how to stop it. What's >>> t

Re: [users@httpd] RewriteRule and redirect loop with htaccess

2024-08-04 Thread Dave Wreski
Hi, I have a rewrite that's creating a loop because the origin is contained in the final destination. I know it then is processed again by the .htaccess in the document root, but I don't understand why or how to stop it. What's the solution here? RewriteR

Re: [users@httpd] RewriteRule and redirect loop with htaccess

2024-08-02 Thread Frank Gingras
On Fri, Aug 2, 2024 at 11:08 AM Dave Wreski wrote: > Hi, > > I have a rewrite that's creating a loop because the origin is contained in >> the final destination. I know it then is processed again by the .htaccess >> in the document root, but I don't understand why or how to stop it. What's >> the

Re: [users@httpd] RewriteRule and redirect loop with htaccess

2024-08-02 Thread Dave Wreski
Hi, I have a rewrite that's creating a loop because the origin is contained in the final destination. I know it then is processed again by the .htaccess in the document root, but I don't understand why or how to stop it. What's the solution here? RewriteRule ^/features/l

Re: [users@httpd] RewriteRule and redirect loop with htaccess

2024-08-02 Thread Frank Gingras
On Fri, Aug 2, 2024 at 10:18 AM Dave Wreski wrote: > Hi, > > I have a rewrite that's creating a loop because the origin is contained in > the final destination. I know it then is processed again by the .htaccess > in the document root, but I don't understand why or how to stop it. What's > the so

Re: [users@httpd] temporary enable/disable access

2024-08-02 Thread Frank Gingras
On Fri, Aug 2, 2024 at 6:55 AM Eric Covener wrote: > > >46 Order deny,allow > > This allows access by default. > "Order allow,deny" denies access by default. > > > > The idea is that I can quickly limit access to the website by > > > uncommenting just a single line in the conf

Re: [users@httpd] temporary enable/disable access

2024-08-02 Thread Eric Covener
> >46 Order deny,allow This allows access by default. "Order allow,deny" denies access by default. > > The idea is that I can quickly limit access to the website by > > uncommenting just a single line in the config. However when I change it > > to > > > >47 #Deny

RE: [users@httpd] temporary enable/disable access

2024-08-02 Thread Marc
> > > I have currently such virtual host config: > > > 1 > 2 AllowOverride All > 3 Require all granted > 4 > >45 >46 Order deny,allow >47 Deny from all >48 #Allow from all >

Re: [users@httpd] temporary enable/disable access

2024-08-01 Thread Frank Gingras
On Thu, Aug 1, 2024 at 5:18 PM Marc wrote: > > I have currently such virtual host config: > > > 1 > 2 AllowOverride All > 3 Require all granted > 4 > > 45 > 46 Order deny,allow > 47 Deny from all > 48 #Allow from all > 49 Allow from

Re: [users@httpd] Apache 404 on PHP files in folders with spaces

2024-07-31 Thread Yann Ylavic
Hi; On Wed, Jul 31, 2024 at 12:04 PM Marijn Schops | HostYou wrote: > > It feels like I’m missing something very obvious, can anyone point me in the > right direction? Possibly https://bz.apache.org/bugzilla/show_bug.cgi?id=69203 Regards; Yann. ---

Re: [users@httpd] Code for SERVER_BUSY?

2024-07-31 Thread Vladimir Chlup
Hello, The code is 503 iirc, but I can't find it in the documentation. On Tue, Jul 30, 2024 at 8:08 PM wrote: > https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxypass > says, for the "acquire" parameter, that "[i]f there are no free > connections in the pool, the Apache httpd will

Re: [users@httpd] setting up/running apache reverse proxy/PM2 node server

2024-07-27 Thread Frank Gingras
On Sat, Jul 27, 2024 at 6:59 PM bruce wrote: > Hi all/Frank! > > I've managed to "get" 2 different test sites running separately. They > each have different "vhost" config files. They each have different pm2 > server port addresses > > However, when I > a2ensite berat_h chainsafe > systemctl

Re: [users@httpd] setting up/running apache reverse proxy/PM2 node server

2024-07-27 Thread bruce
Hi all/Frank! I've managed to "get" 2 different test sites running separately. They each have different "vhost" config files. They each have different pm2 server port addresses However, when I a2ensite berat_h chainsafe systemctl stop apache2 systemctl start apache2 and in each dir run th

Re: [users@httpd] setting up/running apache reverse proxy/PM2 node server

2024-07-26 Thread Frank Gingras
On Fri, Jul 26, 2024 at 6:14 PM bruce wrote: > Hi, for those who have followed my attempts, thanks. This is a trimmed > down attempt. > > Found some additional examples, and managed to get the following to > "work", once! > > Not sure why it stopped, but I now get a 403/Fobidden err. error.log >

Re: [users@httpd] apache setup/config properly..

2024-07-26 Thread bruce
hi. With the exception of the Apache2,conf files (I removed most of the comments), the vhost files are pretty much comment free with only a few commented out lines. The error logs are provided to give you/the reader the ability to compare if needed. thanks On Thu, Jul 25, 2024 at 11:49 PM Frank

Re: [users@httpd] apache setup/config properly..

2024-07-25 Thread bruce
Hi Frank. I stripped out a bunch of the comments. For each test server, I have apache.conf berat.conf for the "/var/www/html/berat" the test app causing issues *** /var/log/apache/error.logtail -200 enough to compare each server/run and some overview/steps. I can easily provide ac

Re: [users@httpd] apachectl -S question/confusion?

2024-07-24 Thread Frank Gingras
On Wed, Jul 24, 2024 at 10:22 AM bruce wrote: > Oh... > > So more or less a "dummy"/fall through location in the event the > "vhost" isn't set properly? > > so having the vhost -- berat.conf set to "/var/www/html2/berat" is > the defined docRoot.. > > On Wed, Jul 24, 2024 at 10:07 AM Eric Coven

Re: [users@httpd] apachectl -S question/confusion?

2024-07-24 Thread bruce
Oh... So more or less a "dummy"/fall through location in the event the "vhost" isn't set properly? so having the vhost -- berat.conf set to "/var/www/html2/berat" is the defined docRoot.. On Wed, Jul 24, 2024 at 10:07 AM Eric Covener wrote: > > > Main DocumentRoot: "/var/www/html" <<< !!

Re: [users@httpd] apachectl -S question/confusion?

2024-07-24 Thread Eric Covener
> Main DocumentRoot: "/var/www/html" <<< why There is an implicit global server configuration used when requests don't match any IP-based virtual host. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For ad

Re: [users@httpd] apachectl -S question/confusion?

2024-07-24 Thread Frank Gingras
On Wed, Jul 24, 2024 at 10:02 AM bruce wrote: > Hi. > > Trying to track down an issue, and I'm going back to basics to figure > out exactly what the DocRoot should be for my test. > > I've copied my test site to "/var/www/html2/berat" > > I've got the vhost file in > /etc/apache2/sites-available

Re: [users@httpd] apache setup/config properly..

2024-07-24 Thread Frank Gingras
On Wed, Jul 24, 2024 at 6:53 AM bruce wrote: > Have rwo.3 test ubuntu servers - digital ocean. > > 1st server contains the initial list of webapps to test. > Apps reside in /var/www/html/... > Apps have > chown www-data:www-data > chmod 755 > > The tgt app > /var/www/html/berat > > The vhosts

Re: [users@httpd] apache setup/config properly..

2024-07-24 Thread bruce
Have rwo.3 test ubuntu servers - digital ocean. 1st server contains the initial list of webapps to test. Apps reside in /var/www/html/... Apps have chown www-data:www-data chmod 755 The tgt app /var/www/html/berat The vhosts reside /etc/apache2/sites-available berat.conf The 2nd test srvr

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread Frank Gingras
On Tue, Jul 23, 2024 at 6:39 PM bruce wrote: > My issue? > > I'm trying to understand why having what appears to be two copies of > the same setup has one showing the dir/index, with the other showing > the err that i expect.. > > http://198.211.116.12/berat > The server is temporarily unable to

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread bruce
My issue? I'm trying to understand why having what appears to be two copies of the same setup has one showing the dir/index, with the other showing the err that i expect.. http://198.211.116.12/berat The server is temporarily unable to service your request due to maintenance downtime or capacity

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread Frank Gingras
On Tue, Jul 23, 2024 at 5:16 PM bruce wrote: > Hi Frank.. > > The 2 test servers..have pretty much the same test sites/dirs in the > /var/www/html dir... > > They have the same config files. I basically did a clone of the srvr > from digital ocean.. > > As a curiosity, I did a shutdown/restart of

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread bruce
Hi Frank.. The 2 test servers..have pretty much the same test sites/dirs in the /var/www/html dir... They have the same config files. I basically did a clone of the srvr from digital ocean.. As a curiosity, I did a shutdown/restart of both test apache server, thinking the "tail -300 /var/logs/ap

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread Frank Gingras
On Tue, Jul 23, 2024 at 2:40 PM bruce wrote: > By vhosts, I'm assuming you mean the conf files in the > /etc/apache/sites-available > /etc/apache/sites-enabled > dirs. > > I have a lot of these files. I had removed/copied then to a separate > dir, and then did a global a2dissite * to test if t

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread bruce
By vhosts, I'm assuming you mean the conf files in the /etc/apache/sites-available /etc/apache/sites-enabled dirs. I have a lot of these files. I had removed/copied then to a separate dir, and then did a global a2dissite * to test if this made a diff in that when I test the http://1.2.3.4/foo i

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread Frank Gingras
On Tue, Jul 23, 2024 at 1:29 PM bruce wrote: > Hi Frank. > > Thanks for reply. > > apachectl -S > AH00558: apache2: Could not reliably determine the server's fully > qualified domain name, using 10.10.0.9. Set the 'ServerName' directive > globally to suppress this message > VirtualHost configurat

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread bruce
Hi Frank. Thanks for reply. apachectl -S AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.10.0.9. Set the 'ServerName' directive globally to suppress this message VirtualHost configuration: ServerRoot: "/etc/apache2" Main DocumentRoot: "/var/www/ht

Re: [users@httpd] apache setup/config properly..

2024-07-23 Thread Frank Gingras
On Tue, Jul 23, 2024 at 12:07 PM bruce wrote: > ok. > > I've screwed something up... > > on the "working" test system > I took a "working" test site, copied it to /var/www/html/mmm > > did a 1.2.3.4/mmm in the browser -- 1.2.3.4 points to the working test > srvr.. > and I get the > "The re

Re: [users@httpd] Simulating rewrite rules?

2024-07-15 Thread Dave Wreski
Hi, On 7/11/24 9:46 AM, Frank Gingras wrote: On Thu, Jul 11, 2024 at 4:49 AM Marc wrote: > > RewriteCond %{HTTP_USER_AGENT} ^$ > [OR] > RewriteCond %{HTTP_USER_AGENT} ^.*(<|>|'|%0A|%0D|%27|%3C|%3E|%00).* > [NC,OR] > RewriteCond %{HTTP_USER_AGENT} > ^.*(HTTrack|cls

  1   2   3   4   5   6   7   8   9   10   >