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 be

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 r

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 hap

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 Gingra

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: > > Hi

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 browser/url

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 g

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. I

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 thinki

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] > > Rew

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 r

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 ProxyAddHead

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 Prox

[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 accesse

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 ^(.*)/+$ https://linuxsecurit

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\- > perl|curl|