[users@httpd] How to get status of reverse proxy connections to backend?

2024-07-17 Thread mwood
I haven't found any way to do this yet. I want to see what reverse proxy connections to the back end are doing. We are not load balancing. I tried rebuilding with mod_proxy_balancer included so I could look at the balancer manager, but it shows nothing of interest. I set ProxyStatus to Full --

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} >

[users@httpd] RewriteMap and combining RewriteRules

2024-07-14 Thread Dave Wreski
Hi, I'm still working on improving our redirects. I'm looking for a more efficient way for apache to process rewrites other than using a text file with many RewriteRules in them. I'm using RewriteMap in another capacity (involving the use of a script for the default action if there is no

Re: [users@httpd] apache reverse proxy question -- i think

2024-07-13 Thread Frank Gingras
On Sat, Jul 13, 2024 at 5:25 AM Marc wrote: > You can't do this with something like alias? > > Alias "/images/logo.svg" "/var/www/html/berat/public/logo.svg" > > > > > I'd like something like:: > > > >ProxyPass /logo.svg http://1.2.3.4/berat/public/logo.svg > >ProxyPassReverse

RE: [users@httpd] apache reverse proxy question -- i think

2024-07-13 Thread Marc
You can't do this with something like alias? Alias "/images/logo.svg" "/var/www/html/berat/public/logo.svg" > > I'd like something like:: > >ProxyPass /logo.svg http://1.2.3.4/berat/public/logo.svg >ProxyPassReverse /logo.svg http://1.2.3.4/berat/public/logo.svg > doesn't work

Re: [users@httpd] apache reverse proxy question -- i think

2024-07-12 Thread bruce
I'd like something like:: ProxyPass /logo.svg http://1.2.3.4/berat/public/logo.svg ProxyPassReverse /logo.svg http://1.2.3.4/berat/public/logo.svg doesn't work ProxyPass logo.svg http://1.2.3.4/berat/public/logo.svg ProxyPassReverse logo.svg

Re: [users@httpd] apache reverse proxy question -- i think

2024-07-12 Thread Frank Gingras
On Fri, Jul 12, 2024 at 6:12 PM bruce wrote: > I have a situation where I'm trying to create a foo.config file for a > test apache app. > > in the html of the app, i have a href="/test.svg". > > the actual test.svg resides in the physical dir: > /var/www/html/berat/public/test.svg > > so I'm

[users@httpd] apache reverse proxy question -- i think

2024-07-12 Thread bruce
I have a situation where I'm trying to create a foo.config file for a test apache app. in the html of the app, i have a href="/test.svg". the actual test.svg resides in the physical dir: /var/www/html/berat/public/test.svg so I'm trying to figure out how to handle this. As far as I can tell,

Re: [users@httpd] reverse proxy setup

2024-07-12 Thread Frank Gingras
On Fri, Jul 12, 2024 at 5:49 AM bruce wrote: > A bit of progress... > > I can get the "content/data", but not the styles "css/js/etc.. as well > as misc files... > > Looking over the browser/devtools/network, I see the styles comes from > the following dirs: >berat/public/ >

Re: [users@httpd] reverse proxy setup

2024-07-12 Thread bruce
A bit of progress... I can get the "content/data", but not the styles "css/js/etc.. as well as misc files... Looking over the browser/devtools/network, I see the styles comes from the following dirs: berat/public/ berat/.next/static berat/.next/static/chunks/app/ The test url ---

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread bruce
right.. and that appears to be from sending the "berat" to the PM2 server... when I test -- curl http://127.0.0.1:3001/berat throws a "Internal Server Error" and when I examine the /root/.pm2/logs/waitlist-landing-page-error.log there appears to be a stacktrace/error data.. so this might

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread Frank Gingras
On Thu, Jul 11, 2024 at 2:55 PM bruce wrote: > on the options.. ok. But I have no clue if they're the right options, > as I'm looking over numerous sites, and copious testing -- trial/error > to understand. > > there is no php involved, and the apache error log data I pasted > appears to be the

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread Frank Gingras
On Thu, Jul 11, 2024 at 2:52 PM bruce wrote: > Hi Frank... > > update.. > > just discovered that the erris is from > > curl http://127.0.0.1:3000/berat > "Internal Server Error" > > aha.. just tested it on a whim... > but the internal curl without the "berat" returns data. > > ..so how/what's

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread bruce
on the options.. ok. But I have no clue if they're the right options, as I'm looking over numerous sites, and copious testing -- trial/error to understand. there is no php involved, and the apache error log data I pasted appears to be the relevant data On Thu, Jul 11, 2024 at 2:50 PM Frank

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread bruce
Hi Frank... update.. just discovered that the erris is from curl http://127.0.0.1:3000/berat "Internal Server Error" aha.. just tested it on a whim... but the internal curl without the "berat" returns data. ..so how/what's happening hmm On Thu, Jul 11, 2024 at 2:41 PM bruce wrote: > >

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread Frank Gingras
On Thu, Jul 11, 2024 at 2:41 PM bruce wrote: > Hi Frank! > > Again, thanks for all your replies... Hopefully, I'll eventually have > the "light" turn on! > > Here's updated information > -updated berat,conf -- for the virthost/config > -output from the -- /var/logs/apache/error.log > -output

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread bruce
Hi Frank! Again, thanks for all your replies... Hopefully, I'll eventually have the "light" turn on! Here's updated information -updated berat,conf -- for the virthost/config -output from the -- /var/logs/apache/error.log -output from the --- apachectl -S and the display from the

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread Frank Gingras
On Thu, Jul 11, 2024 at 12:43 PM bruce wrote: > updated typo.. > > weird thing now.. based on the current/listed apache conf file... > i get the"Internal Server Error" page now.. > > On Thu, Jul 11, 2024 at 12:39 PM bruce wrote: > > > > Hi Frank, > > > > Thanks for the reply. > > > > I'm still

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread bruce
updated typo.. weird thing now.. based on the current/listed apache conf file... i get the"Internal Server Error" page now.. On Thu, Jul 11, 2024 at 12:39 PM bruce wrote: > > Hi Frank, > > Thanks for the reply. > > I'm still going through suggestions, as well as information from other > sites.

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread bruce
Hi Frank, Thanks for the reply. I'm still going through suggestions, as well as information from other sites. I'm still confused, and think I might be making things worse. Not sure if this is accepted as a question, but if you have apache/proxy skills, are you up for making a few $$! I'm

Re: [users@httpd] Simulating rewrite rules?

2024-07-11 Thread Frank Gingras
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|clshttp|archiver|loader|email|nikto|miner|python).* [NC,OR] > >

Re: [users@httpd] Stripping trailing slashes (again)

2024-07-11 Thread Frank Gingras
On Thu, Jul 11, 2024 at 6:55 AM Konstantin Kolinko wrote: > чт, 13 июн. 2024 г. в 17:41, Dave Wreski .invalid>: > > > > Hi, > > > > Some time ago I requested help with a rewrite rule to strip trailing > slash(es) from all URLs in our joomla website, but I'm still having > problems. This is the

Re: [users@httpd] reverse proxy setup

2024-07-11 Thread Frank Gingras
On Thu, Jul 11, 2024 at 8:02 AM Marc wrote: > I am testing a bit with this: > > 32 > 33 # files are still loaded from default host > 34 Define defaulthost "" > 35 Define proxyhost "" > 36 > 37 ProxyPreserveHost Off > 38

RE: [users@httpd] reverse proxy setup

2024-07-11 Thread Marc
I am testing a bit with this: 32 33 # files are still loaded from default host 34 Define defaulthost "" 35 Define proxyhost "" 36 37 ProxyPreserveHost Off 38 ProxyAddHeaders On 39 SetOutputFilter proxy-html 40

[users@httpd] reverse proxy setup

2024-07-11 Thread bruce
Hi. Testing a github app that appears to use/require reverse proxy to display results on the browser. The basic app uses npm/nextjs to generate content, Per different sites, the process uses PM2 to run the process, and to be able to show the content via an internal/local "server". This is

Re: [users@httpd] Stripping trailing slashes (again)

2024-07-11 Thread Konstantin Kolinko
чт, 13 июн. 2024 г. в 17:41, Dave Wreski : > > Hi, > > Some time ago I requested help with a rewrite rule to strip trailing > slash(es) from all URLs in our joomla website, but I'm still having problems. > This is the rule I am currently working with: > > RewriteRule ^(.*)/+$

RE: [users@httpd] Simulating rewrite rules?

2024-07-11 Thread Marc
> > RewriteCond %{HTTP_USER_AGENT} ^$ > [OR] > RewriteCond %{HTTP_USER_AGENT} ^.*(<|>|'|%0A|%0D|%27|%3C|%3E|%00).* > [NC,OR] > RewriteCond %{HTTP_USER_AGENT} > ^.*(HTTrack|clshttp|archiver|loader|email|nikto|miner|python).* [NC,OR] > RewriteCond %{HTTP_USER_AGENT} ^.*(winhttp|libwww\- >

Re: [users@httpd] Simulating rewrite rules?

2024-07-10 Thread Dave Wreski
Hi, Hi, I have the following rewrite rule in place on one of our staging sites to redirect bots and malicious scripts to our corporate page:   RewriteCond %{HTTP_USER_AGENT} ^$ [OR]   RewriteCond %{HTTP_USER_AGENT} ^.*(<|>|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR]  

Re: [users@httpd] Simulating rewrite rules?

2024-07-09 Thread mwood
On Tue, Jul 09, 2024 at 01:10:34PM +, Dave Wreski wrote: > Instead of making changes to my rules then having to wait until the condition > is met (Googlebot scans the site again), I'd like to simulate the above > request against my ruleset to see if it matches. Is this possible? curl

Re: [users@httpd] Simulating rewrite rules?

2024-07-09 Thread Frank Gingras
On Tue, Jul 9, 2024 at 9:11 AM Dave Wreski wrote: > Hi, I have the following rewrite rule in place on one of our staging sites > to redirect bots and malicious scripts to our corporate page: > > RewriteCond %{HTTP_USER_AGENT} > ^$

[users@httpd] Simulating rewrite rules?

2024-07-09 Thread Dave Wreski
Hi, I have the following rewrite rule in place on one of our staging sites to redirect bots and malicious scripts to our corporate page:   RewriteCond %{HTTP_USER_AGENT} ^$ [OR]   RewriteCond %{HTTP_USER_AGENT} ^.*(<|>|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR]   RewriteCond %{HTTP_USER_AGENT}

[users@httpd] Is it safe to use the 'UnsafeAllow3F' flag?

2024-07-09 Thread Valentin Rusev
Hi, Few days ago the 'UnsafeAllow3F' flag was introduced: https://httpd.apache.org/security/vulnerabilities_24.html After the update, we have started to have a lot of 403 due to the encoded '?' in the urls passed as query parameters. To fix the problem we have started to stop encoding the '?' in

[users@httpd] example of apache/node/nextjs -- reverse proxy setup

2024-07-09 Thread bruce
Hi. Trying to work my way through setting up/testing a scenario with nextjs where it uses Apache as a reverse proxy to serve the test files. Looking through a number of sites, but thought I'd ask the list as well. If anyone has set up this kind of situation, or has pointers to examples, I'd

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-08 Thread Frank Gingras
On Mon, Jul 8, 2024 at 4:18 AM Michael Osipov wrote: > On 2024/07/04 13:57:06 Frank Gingras wrote: > > On Thu, Jul 4, 2024 at 8:44 AM Michael Osipov > wrote: > > > > > Folks, > > > > > > please consider the following example: > > > > > > > > ServerAdmin m...@example.com > > > >

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-08 Thread Michael Osipov
On 2024/07/04 13:57:06 Frank Gingras wrote: > On Thu, Jul 4, 2024 at 8:44 AM Michael Osipov wrote: > > > Folks, > > > > please consider the following example: > > > > > > ServerAdmin m...@example.com > > > ServerName foo.example.com > > > ServerAlias foo.sub.example.net > > >

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-07 Thread Frank Gingras
On Sun, Jul 7, 2024 at 5:09 AM rexkogit...@gmx.at.INVALID wrote: > Hi, > > well, Apache httpd uses SNI to decide which vhost to use. Otherwise, it > would not even be possible to have multiple TLS secured domains on the same > port. However, this is indeed possible, but you have to put the into

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-07 Thread rexkogit...@gmx.at.INVALID
Hi, well, Apache httpd uses SNI to decide which vhost to use. Otherwise, it would not even be possible to have multiple TLS secured domains on the same port. However, this is indeed possible, but you have to put the into multiple vhosts. These vhosts can be as similar as they share everything

Re: [users@httpd] Javascript xmlhttprequest send error

2024-07-05 Thread Ted Hickox
I found a Javascript forum. I regret to say that though they gave it their best effort, they were unable to help me find my problem. So here is what I'm going to do. Just in case someone is investigating this message, I will share the solution I finally found. In my XHTML code I forgot to

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-05 Thread Frank Gingras
On Fri, Jul 5, 2024 at 10:23 AM rexkogit...@gmx.at.INVALID wrote: > Hi Michael, > > > you can add any number of domain names to a TLS certificate. These entries > are known as SAN (Subject Alternative Name). So, you want a single TLS > certificate with multiple domain names instead of multiple

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-05 Thread rexkogit...@gmx.at.INVALID
Hi Michael, you can add any number of domain names to a TLS certificate. These entries are known as  SAN (Subject Alternative Name). So, you want a single TLS certificate with multiple domain names instead of multiple TLS certificates each with a single domain name. Kind regards, rexkogitans

Re: [users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-04 Thread Frank Gingras
On Thu, Jul 4, 2024 at 8:44 AM Michael Osipov wrote: > Folks, > > please consider the following example: > > > > ServerAdmin m...@example.com > > ServerName foo.example.com > > ServerAlias foo.sub.example.net > > DocumentRoot /usr/local/www/apache24/data > > ErrorLog

[users@httpd] VirtualHost with ServerAlias and SSLCertificateFile no friends?

2024-07-04 Thread Michael Osipov
Folks, please consider the following example: > > ServerAdmin m...@example.com > ServerName foo.example.com > ServerAlias foo.sub.example.net > DocumentRoot /usr/local/www/apache24/data > ErrorLog "/var/log/apache/foo-ssl-errors.log" > CustomLog

Re: [users@httpd] Javascript xmlhttprequest send error

2024-07-03 Thread Frank Gingras
On Wed, Jul 3, 2024 at 7:49 PM Ted Hickox wrote: > And a hearty good evening everyone. Here is my Javascript code. > > var SVG_Data; > var Retrieved_Data; > var Attribute_List; > var Coordinate_List; > var Counter; > function Setup() { > SVG_Data = new XMLHttpRequest(); >

[users@httpd] Javascript xmlhttprequest send error

2024-07-03 Thread Ted Hickox
And a hearty good evening everyone. Here is my Javascript code. var SVG_Data; var Retrieved_Data; var Attribute_List; var Coordinate_List; var Counter; function Setup() { SVG_Data = new XMLHttpRequest(); SVG_Data.open("GET","

Re: [users@httpd] weird/basic issue/question

2024-07-03 Thread Frank Gingras
On Wed, Jul 3, 2024 at 1:02 PM bruce wrote: > Hi frank. > > I know apache doesn't maintain php apps. > > pretty sure this isn't a php app issue, unless there's been something > cut/copy/paste in the diff apps. > > I'm actually thinking that there's something in apache configs causing > this..

Re: [users@httpd] weird/basic issue/question

2024-07-03 Thread bruce
Hi frank. I know apache doesn't maintain php apps. pretty sure this isn't a php app issue, unless there's been something cut/copy/paste in the diff apps. I'm actually thinking that there's something in apache configs causing this.. given that i'm getting the issue in apache err logs, from diff

Re: [users@httpd] weird/basic issue/question

2024-07-03 Thread Frank Gingras
On Wed, Jul 3, 2024 at 12:45 PM bruce wrote: > Hi Frank. > > It does. > > I also tried an additional test app > http://161.35.5.174/invoiceninja/ > > it also shows the "minthcm" in the error.log.. > > I've been researching this, and as of yet, haven't found a aha moment. > > I've got plenty

Re: [users@httpd] weird/basic issue/question

2024-07-03 Thread bruce
Hi Frank. It does. I also tried an additional test app http://161.35.5.174/invoiceninja/ it also shows the "minthcm" in the error.log.. I've been researching this, and as of yet, haven't found a aha moment. I've got plenty of other test apps in the /var/www/html dirtree.. and they aren't

Re: [users@httpd] weird/basic issue/question

2024-07-03 Thread Frank Gingras
On Wed, Jul 3, 2024 at 12:15 PM bruce wrote: > I have a test/local apache server - digitalocean instance. > > Testing a php app. I have the > /etc/sites-available > /etc/mods-available > > I stopped the service, and restarted it. > > I tested the url: >

[users@httpd] weird/basic issue/question

2024-07-03 Thread bruce
I have a test/local apache server - digitalocean instance. Testing a php app. I have the /etc/sites-available /etc/mods-available I stopped the service, and restarted it. I tested the url: http://161.35.5.174/invoiceplane/sessions/login I then examined the tail -50

Re: [users@httpd] Hexadecimal representation of special characters breaking JSON logs

2024-07-03 Thread Rainer Canavan
On Tue, Jul 2, 2024 at 6:54 PM Dominic Humphries wrote: > > As per > https://httpd.apache.org/docs/current/mod/mod_log_config.html#format-notes we > see special characters getting represented in our logs by their hexadecimal > representation - \xhh > > However, we output our logs in a json

[users@httpd] Hexadecimal representation of special characters breaking JSON logs

2024-07-02 Thread Dominic Humphries
As per https://httpd.apache.org/docs/current/mod/mod_log_config.html#format-notes we see special characters getting represented in our logs by their hexadecimal representation - \xhh However, we output our logs in a json format, and this representation results in invalid JSON, which gives us

[users@httpd] Re: [External] : Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Jack Swan
thank you everyone. Changes made and they work. Point taken about being invalid for 15 years. I inherited an old application/setup. Again, thank you all. From: Frank Gingras Sent: Monday, July 1, 2024 3:03 PM To: users@httpd.apache.org Subject: [External] :

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Frank Gingras
On Mon, Jul 1, 2024 at 2:53 PM Eric Covener wrote: > On Mon, Jul 1, 2024 at 2:51 PM Matthew Goebel > wrote: > > > > Going from 2.4.59 to 2.5.60 I had to make the following change in my > httpd.conf file. > > > > AddType application/x-httpd-php .php > > > > to > > > > AddHandler

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Eric Covener
On Mon, Jul 1, 2024 at 2:51 PM Matthew Goebel wrote: > > Going from 2.4.59 to 2.5.60 I had to make the following change in my > httpd.conf file. > > AddType application/x-httpd-php .php > > to > > AddHandler application/x-httpd-php .php Thanks Matthew, this makes perfect sense. I will add this

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Eric Covener
On Mon, Jul 1, 2024 at 2:45 PM Jack Swan wrote: > > Have an existing application and Apache installation (have been using Apache > for years). > > Upgraded Apache from 2.4.59 to 2.4.60 today and the browser prompts to save > the index.php file instead of > serving/processing it when just

Re: [users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Matthew Goebel
Going from 2.4.59 to 2.5.60 I had to make the following change in my httpd.conf file. AddType application/x-httpd-php .php to AddHandler application/x-httpd-php .php Thanks, Matt On Mon, Jul 1, 2024 at 2:45 PM Jack Swan wrote: > Have an existing application and Apache installation (have

[users@httpd] DirectoryIndex broken in Apache 2.4.60?

2024-07-01 Thread Jack Swan
Have an existing application and Apache installation (have been using Apache for years). Upgraded Apache from 2.4.59 to 2.4.60 today and the browser prompts to save the index.php file instead of serving/processing it when just entering https:// as the URL. This had been working fine for years

[users@httpd] httpd 2.4.59 High Memory / RAM usage after upgrading

2024-06-27 Thread Tim K
We are noticing that since we went from httpd 2.4.58 to 2.4.59 that memory usage on Linux our hosts have greatly increased. Previously they would be just around 15% used, now they sit mostly around 80% used. Is there any known memory issue with this version or anyone else experiencing this

[users@httpd] SSL_CLIENT_S_DN_CN in access logs

2024-06-27 Thread Pavel Matěja
Hi, we are running Apache with client certificates authentication and we have "SSLUserName SSL_CLIENT_S_DN_CN" in our configuration. Some of those certificates contain space in CN therefore we have 192.168.1.1 - Pavel Mateja [27/Jun/2024:10:26:58 +] "GET / HTTP/2.0" 302.. in access logs.

[users@httpd] RE: output buffer php ProxySet

2024-06-22 Thread Marc
> I am experimenting a bit with output buffering with php-fpm[1]. In my > default setup I can't get this to work. Currently I am only getting this > to work when I add this to my virtualhost config: > > > ProxySet enablereuse=on flushpackets=on > > > I assume this will impact the rest of

Re: [users@httpd] Removing single question mark?

2024-06-20 Thread Eric Covener
On Thu, Jun 20, 2024 at 7:08 PM Dave Wreski wrote: > Hi, I should add that I wrote the following to remove an errant question > mark from the end of another URL, but it doesn't appear to work for the > homepage. > > RewriteCond %{THE_REQUEST} /features\? [NC] > RewriteRule ^ %{REQUEST_URI}

Re: [users@httpd] Removing single question mark?

2024-06-20 Thread Dave Wreski
Hi, I should add that I wrote the following to remove an errant question mark from the end of another URL, but it doesn't appear to work for the homepage. RewriteCond %{THE_REQUEST} /features\? [NC] RewriteRule ^ %{REQUEST_URI} [L,R=302,NE,QSD] Thanks, Dave On 6/20/24 7:01 PM, Dave Wreski

[users@httpd] Removing single question mark?

2024-06-20 Thread Dave Wreski
Hi, I have another challenging rewrite rule request, please. I'm trying to remove a single question mark from a URL: https://example.com/? I've tried the following: RewriteRule ^/\?$ / [L,R=301,QSD] RewriteRule ^/\? /? [L,R=301] RewriteCond %{REQUEST_URI} ^$ RewriteRule ^ /? [L,R=301,QSD]

[users@httpd] output buffer php ProxySet

2024-06-20 Thread Marc
I am experimenting a bit with output buffering with php-fpm[1]. In my default setup I can't get this to work. Currently I am only getting this to work when I add this to my virtualhost config: ProxySet enablereuse=on flushpackets=on I assume this will impact the rest of the website. Is

Re: [users@httpd] Authentication in Location blocks for reverse proxy seems to take precedence in routes

2024-06-14 Thread M Foster
Ah, that works! Great suggestion. I've never encountered this behavior before because previous iterations had the backends for each ProxyPass directive pointing to the same (Docker) host. Thank you so much! On Fri, Jun 14, 2024 at 12:25 PM Daniel Gruno wrote: > On 6/14/24 12:41, M Foster

Re: [users@httpd] Authentication in Location blocks for reverse proxy seems to take precedence in routes

2024-06-14 Thread Daniel Gruno
On 6/14/24 12:41, M Foster wrote: Hello, I'm struggling a bit with an issue when using Apache as a reverse proxy when needing to use differing Authentication. I've searched for a couple of days now, but nothing matching what I'm seeing has come up. The scenario is that I am using Apache as

[users@httpd] Re: Authentication in Location blocks for reverse proxy seems to take precedence in routes

2024-06-14 Thread M Foster
I forgot to add I'm using Docker image http:2.4.59. On Fri, Jun 14, 2024 at 11:41 AM M Foster wrote: > Hello, > > I'm struggling a bit with an issue when using Apache as a reverse proxy > when needing to use differing Authentication. I've searched for a couple of > days now, but nothing

[users@httpd] Authentication in Location blocks for reverse proxy seems to take precedence in routes

2024-06-14 Thread M Foster
Hello, I'm struggling a bit with an issue when using Apache as a reverse proxy when needing to use differing Authentication. I've searched for a couple of days now, but nothing matching what I'm seeing has come up. The scenario is that I am using Apache as a reverse proxy, but sending a sub-path

Re: [users@httpd] Stripping trailing slashes (again)

2024-06-13 Thread Eric Covener
> RewriteRule ^(.*)/+$ https://linuxsecurity.com$1 [R=301,END] > > I've also set logging to trace5 (even though none of the entries were above > trace4) - shouldn't it provide me with enough info to determine where/why > it's looping? I think it loops because it redirects

Re: [users@httpd] Stripping trailing slashes (again)

2024-06-13 Thread Dave Wreski
Some time ago I requested help with a rewrite rule to strip trailing slash(es) from all URLs in our joomla website, but I'm still having problems. This is the rule I am currently working with: RewriteRule ^(.*)/+$ https://linuxsecurity.com$1 [R=301,L] It works fine for any

Re: [users@httpd] Stripping trailing slashes (again)

2024-06-13 Thread Eric Covener
> despite using "L", Looked at [END] ? On Thu, Jun 13, 2024 at 10:41 AM Dave Wreski wrote: > > Hi, > > Some time ago I requested help with a rewrite rule to strip trailing > slash(es) from all URLs in our joomla website, but I'm still having problems. > This is the rule I am currently

Re: [users@httpd] Stripping trailing slashes (again)

2024-06-13 Thread Frank Gingras
On Thu, Jun 13, 2024 at 10:41 AM Dave Wreski wrote: > Hi, > > Some time ago I requested help with a rewrite rule to strip trailing > slash(es) from all URLs in our joomla website, but I'm still having > problems. This is the rule I am currently working with: > > RewriteRule ^(.*)/+$

[users@httpd] Stripping trailing slashes (again)

2024-06-13 Thread Dave Wreski
Hi, Some time ago I requested help with a rewrite rule to strip trailing slash(es) from all URLs in our joomla website, but I'm still having problems. This is the rule I am currently working with: RewriteRule ^(.*)/+$ https://linuxsecurity.com$1 [R=301,L] It works fine for any URL other

[users@httpd] How is Apache Http Server architecture?

2024-06-11 Thread anlex N
How is Apache Http Server architecture? I value your feedback very much Nice to meet you, My name is anlex N . I am a verified google maintainer of popular open source projects. I am reviewing system-design-primer .

Re: [users@httpd] Compatible version with openjdk21

2024-06-10 Thread Eric Covener
https://hc.apache.org/mail.html On Mon, Jun 10, 2024 at 3:42 AM Sahil Sharma D wrote: > > Hello team, > > > > Which version of https client and Core is compatible with openjdk21? > > > > Regards, > > Sahil > > -- Eric Covener cove...@gmail.com

[users@httpd] Compatible version with openjdk21

2024-06-10 Thread Sahil Sharma D
Hello team, Which version of https client and Core is compatible with openjdk21? Regards, Sahil

Re: [users@httpd] Redirecting based on IP

2024-06-06 Thread Dave Wreski
Hi, The next steps I'd like to do is to redirect anyone not in that RequireAll statement to be redirected to the production site. Is this possible? Perhaps a RewriteCond that depends upon certain IPs, then otherwise redirects to the production site? I don't think relying on the IPs is a

Re: [users@httpd] Require paramater

2024-05-19 Thread Daniel Gruno
On 5/13/24 15:42, Chris me wrote: The Apache docs recommend dong this to setup a default deny to file locations:     Require all denied Do I do that in httpd.conf or do I add that to each entry? If you do it in httpd.conf (which I assume would be a server-wide scope for you), it

Re: [users@httpd] Redirecting based on IP

2024-05-17 Thread Dave Wreski
Hi, The staging site is even protected with a RequireAll statement for the DocumentRoot based on the IP, which then results in a 404 and other errors in GSC. That sound wrong. If your RequireAll was working as advertised, should it not return a 403? Yes, it does - my mistake. The next

Re: [users@httpd] Directory Trailing Slash When Behind Load Balancer

2024-05-17 Thread Rainer Canavan
On Tue, May 14, 2024 at 6:07 PM Gavin Spomer wrote: > > Hello, > > I recently migrated my Apache web server from FreeBSD to Ubuntu Server and > found an issue with URLs that point to a directory, but don't include the > trailing slash, when going through our institution's load balancer. If I >

Re: [users@httpd] Redirecting based on IP

2024-05-16 Thread Rainer Canavan
On Thu, May 16, 2024 at 1:15 AM Dave Wreski wrote: > > Hi, > [...] > The staging site is even protected with a RequireAll statement for the > DocumentRoot based on the IP, which then results in a 404 and other errors in > GSC. That sound wrong. If your RequireAll was working as advertised,

Re: [users@httpd] Redirecting based on IP

2024-05-15 Thread gene heskett
On 5/15/24 19:15, Dave Wreski wrote: Hi, Google insists that one of our staging sites needs to be indexed despite "disallow" in robots.txt and a half-dozen other methods for preventing Google from indexing it (including submitting it for removal from their index). The staging site is even

[users@httpd] Redirecting based on IP

2024-05-15 Thread Dave Wreski
Hi, Google insists that one of our staging sites needs to be indexed despite "disallow" in robots.txt and a half-dozen other methods for preventing Google from indexing it (including submitting it for removal from their index). The staging site is even protected with a RequireAll statement

RE: [users@httpd] http ok, https Forbidden

2024-05-15 Thread Marc
> > we have a apache 2.4.59 running on windows for an internal page. > Now we would like to use https instead of http > > Opening the url via http works, > when I use https I get > > Forbidden > You don't have permission to access this resource. > > I activated the debug level and see this

[users@httpd] http ok, https Forbidden

2024-05-15 Thread Andreas . Moroder
Hello, we have a apache 2.4.59 running on windows for an internal page. Now we would like to use https instead of http Opening the url via http works, when I use https I get Forbidden You don't have permission to access this resource. I activated the debug level and see this lines [Wed May 15

[users@httpd] Directory Trailing Slash When Behind Load Balancer

2024-05-14 Thread Gavin Spomer
Hello, I recently migrated my Apache web server from FreeBSD to Ubuntu Server and found an issue with URLs that point to a directory, but don't include the trailing slash, when going through our institution's load balancer. If I access directly (not going through the load balancer), everything

Re: [users@httpd] Apache HTTP Server 2.4 EOL

2024-05-13 Thread Yehuda Katz
There is no planned EOL for 2.4, but you should always be on the most recently released version - currently 2.4.59 - or possibly on a version maintained by your OS distribution to keep up with the latest security patches. On Mon, May 13, 2024 at 10:50 PM Ehmann G wrote: > i tried searching on

[users@httpd] Apache HTTP Server 2.4 EOL

2024-05-13 Thread Ehmann G
i tried searching on Google for the end-of-life support information for Apache HTTP Server 2.4 but couldn't find any useful results. I also checked the Apache website but didn't find any details on this topic. Does anyone have any relevant information?

[users@httpd] Require paramater

2024-05-13 Thread Chris me
The Apache docs recommend dong this to setup a default deny to file locations: Require all denied Do I do that in httpd.conf or do I add that to each entry?

Re: [users@httpd] Multi site SSL problems

2024-05-10 Thread Frank Gingras
On Fri, May 10, 2024 at 5:53 PM Tatsuki Makino wrote: > Hello. > > By the way, do you have the setting enabled to use the Host header used to > switch NameVirtualHost during TLS negotiation? > I don't know how to do that since the Japanese documentation is rarely > updated :) > Were those things

Re: [users@httpd] Multi site SSL problems

2024-05-10 Thread Tatsuki Makino
Hello. By the way, do you have the setting enabled to use the Host header used to switch NameVirtualHost during TLS negotiation? I don't know how to do that since the Japanese documentation is rarely updated :) Were those things implemented? Regards.

Re: [users@httpd] Multi site SSL problems

2024-05-10 Thread Frank Gingras
On Fri, May 10, 2024 at 4:10 PM John wrote: > On Fri, 2024-05-10 at 15:48 -0400, Sean Conner wrote: > > It was thus said that the Great Chris me once stated: > > > I set up each entry with but when I do that, the > > > second site will complain that the cert is for site1. So if I go to > > >

Re: [users@httpd] Multi site SSL problems

2024-05-10 Thread John
On Fri, 2024-05-10 at 15:48 -0400, Sean Conner wrote: > It was thus said that the Great Chris me once stated: > > I set up each entry with but when I do that, the > > second site will complain that the cert is for site1. So if I go to > > site2.com, I get a browser error that the cert is for

Re: [users@httpd] Multi site SSL problems

2024-05-10 Thread Sean Conner
It was thus said that the Great Chris me once stated: > I set up each entry with but when I do that, the > second site will complain that the cert is for site1. So if I go to > site2.com, I get a browser error that the cert is for site1. It will show > me the content for site1. On my

RE: [users@httpd] Multi site SSL problems

2024-05-10 Thread Chris me
I found NameVirtualHost *:443 was commented out in ports.conf, I changed that. Now I am back to the ssl protocol error for the second site. From: Chris me Sent: Friday, May 10, 2024 8:40 AM To: users@httpd.apache.org Subject: RE: [users@httpd] Multi site SSL problems I set up each entry with

RE: [users@httpd] Multi site SSL problems

2024-05-10 Thread Chris me
I set up each entry with but when I do that, the second site will complain that the cert is for site1. So if I go to site2.com, I get a browser error that the cert is for site1. It will show me the content for site1. I am not sure why the difference, my non ssl hosts, ie all work fine, each

Re: [users@httpd] Multi site SSL problems

2024-05-09 Thread Frank Gingras
On Thu, May 9, 2024 at 6:54 PM Chris me wrote: > Hi, I am having an issue trying to get multiple sites with their own SSL > cert. I purchased AlphaSSL certs for them. > > The strange thing, the first cert works, the second gives me an > ERR_SSL_PROTOCOL_ERROR, but only on some systems. > > > >

[users@httpd] Multi site SSL problems

2024-05-09 Thread Chris me
Hi, I am having an issue trying to get multiple sites with their own SSL cert. I purchased AlphaSSL certs for them. The strange thing, the first cert works, the second gives me an ERR_SSL_PROTOCOL_ERROR, but only on some systems. This is what I am using now: ( Site1 is fine, Site2 gives me the

[users@httpd] Re: How to Perform stateless restarts with checkpointing enabled

2024-05-09 Thread Kartikey Pant
Please ignore this thread, I wanted to post this to a different Apache mailing list. Apologies. On Thu, May 9, 2024 at 2:49 PM Kartikey Pant wrote: > We have a source/sink mechanism which uses checkpoints for persistence and > can operate in a minor data loss scenario. Is there a method to use

  1   2   3   4   5   6   7   8   9   10   >