[users@httpd] HTTPD crash files getting observed with 2.43 version

2020-06-07 Thread Murali Krishna
Hi, We are currently facing issues with HTTPD while running codenomicon usecase.  HTTPD is dumping the crash when the respective usecase is being executed. Crash is observed everytime.Kernel Version: 4.4.223HTTPD Version details: # httpd -vServer version: Apache/2.4.43 (Unix)Server built:   May 2

Re: [users@httpd] Disabeling PHP in a subdirectory via the apache2.conf?

2020-06-07 Thread Jose R R
Niltze [Hello], Klaus- On Sun, Jun 7, 2020 at 12:12 PM Klaus Neudecker wrote: > > Hello, > > I have my Apache main directory: /www ( / > DocumentRoot /www) > > In this directory and its subdirectories *.php files get executed by php. > > In the subdirectory /www/publications (and recoursly in i

Re: [users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Wendell Hatcher
You are correct the inbound doesn’t have spaces and the redirect returning does so there isn’t anything to rewrite on. Let me work with the development team on the returned values. I appreciate the help and confirmation as well. Wendell > On Jun 7, 2020, at 5:00 PM, Eric Covener wrote: > >

Re: [users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Eric Covener
On Sun, Jun 7, 2020 at 4:03 PM Wendell Hatcher wrote: > > Thankyou Eric! :) > > Eric, before running I want to confirm that this will work below? Why guess? > applying pattern '^(.*/|)+(%20)+(.+)$' to uri '/' There's no spaces in the URL being requested. What could you rewrite? --

Re: [users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Wendell Hatcher
>  > Thankyou Eric! :) > > Eric, before running I want to confirm that this will work below? > > > > ProxyPreserveHost On > > ProxyPass / http://X.X.X.X:8080/login > > RewriteEngine On > > > RewriteRule ^(.*/|)+(%20)+(.+)$ $1$2 [L] > > # remove spaces from end or before / > RewriteRule

Re: [users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Wendell Hatcher
>  > Here are my logs as well. > > Eric, > > > 71.75.229.92 - - [13.56.11.156/sid#5646ee71d550][rid#7f5b5000ea70/initial] > init rewrite engine with requested uri / > [Sun Jun 07 19:59:35.067175 2020] [rewrite:trace3] [pid 5829:tid > 140030530008832] mod_rewrite.c(470): [client 71.75.229.92

Re: [users@httpd] Disabeling PHP in a subdirectory via the apache2.conf?

2020-06-07 Thread Klaus Neudecker
Thank you. In general: I know there are much more better ways for this (but also much more complex!), but the server runs _only_ in a very small intranet. Therefore discussions about the design are not so helpful. Sincerely Klaus Am 07.06.2020 um 22:10 schrieb Paul A: On 2020-06-07 3:12 p.

Re: [users@httpd] Disabeling PHP in a subdirectory via the apache2.conf?

2020-06-07 Thread Paul A
On 2020-06-07 3:12 p.m., Klaus Neudecker wrote: Hello, I have my Apache main directory: /www   ( / DocumentRoot /www) In this directory and its subdirectories *.php files get executed by php. In the subdirectory /www/publications (and recoursly in its subdirectories) I allow people (relativ

Re: [users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Wendell Hatcher
Thankyou Eric! :) Eric, before running I want to confirm that this will work below? ProxyPreserveHost On ProxyPass / http://X.X.X.X:8080/login RewriteEngine On RewriteRule ^(.*/|)+(%20)+(.+)$ $1$2 [L] # remove spaces from end or before / RewriteRule ^(.+?)+(%20)+(/.*|)$ $1$2 [L] # replac

Re: [users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Wendell Hatcher
Here are my logs as well. Eric, 71.75.229.92 - - [13.56.11.156/sid#5646ee71d550][rid#7f5b5000ea70/initial] init rewrite engine with requested uri / [Sun Jun 07 19:59:35.067175 2020] [rewrite:trace3] [pid 5829:tid 140030530008832] mod_rewrite.c(470): [client 71.75.229.92:59917] 71.75.229.92 - - [

Re: [users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Eric Covener
> Our applications returning an outside url In a redirect? In HTML? > RewriteRule ^(.*/|)[\s%20]+(.+)$ $1$2 [L] If there is a literal %20 I don't think this should be in square brackets. I don't think the \s will ever match so I would drop it at the same time. > We want to return this url withou

[users@httpd] SSL Redirect subsite when use CAC Integration

2020-06-07 Thread Paul Russell
We are using Apache 2.4.1 on Windows to implement CAC authentication to the production web site. Apache functions as the CAC authentication and a proxy for the Web server. We need to have https://prodsite.com use CAC authentication but we want to expose https:/prodsite.com/application/services and

[users@httpd] Disabeling PHP in a subdirectory via the apache2.conf?

2020-06-07 Thread Klaus Neudecker
Hello, I have my Apache main directory: /www   ( /   DocumentRoot /www) In this directory and its subdirectories *.php files get executed by php. In the subdirectory /www/publications (and recoursly in its subdirectories) I allow people (relatively trustworthy!) on the filesystem to drop pu

[users@httpd] Mod_rewrite removing white spaces from outside url.

2020-06-07 Thread Wendell Hatcher
Hello, I have an issue where we have Apache 2.4.4.X using mod_proxy_balancer pointing at Apache Tomcat 8. Our applications returning an outside url that has space in the url i.e. (www.example.com/myapp/ structs/ somedata/ We want to return this url without spaces because it fails. I have tried Apac