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

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 >

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

2024-07-26 Thread bruce
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 inspection shows / Cannot serve directory

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

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

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

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

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 >

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

2024-07-24 Thread bruce
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/berat.conf in the file I have documentroot

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

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

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

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

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

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:

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

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

2024-07-23 Thread bruce
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 requested URL was not found on this server." (expected).. do the

[users@httpd] apache dir index question/issue

2024-07-23 Thread bruce
Hi. Trying to understand something. I have a file /etc/apache/sites-available/foo.conf I have an alias /etc/apache/mods-available/alias.conf Alias foo /var/www/html/foo The dir /var/www/html/foo has the test webapp... it has no .htaccess The sys is ubuntu, running apache2 and the

[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

  1   2   3   4   5   6   7   8   9   10   >