Re: [users@httpd] Apache dropping content-length response header from reverse proxy

2025-04-23 Thread Rainer Canavan
> From: Erik Thuning [...] > I have an apache server running as reverse proxy for a tomcat > application using mod_proxy_ajp. An external application pulling data > from mine has a hard requirement to get a content-length header in the > response and won't accept transfer-encoding=chunked. Tomcat

Re: [users@httpd] Re: I am getting "undefined symbol: slts_runmode" when I try to run "httpd -t" test. Is there any way to work around this?

2025-02-07 Thread Rainer Canavan
On Fri, Feb 7, 2025 at 5:10 PM ohaya wrote: > > [FYI, I am seeing a response on the Apache list website, but I am NOT > receiving the response here in my Yahoo email :( !! So I will respond here] > > Here is the 'ldd webgate.so' > > [orcladmin@localhost lib]$ ldd > /apps/Oracle/Middleware/Oracl

Re: [users@httpd] I am getting "undefined symbol: slts_runmode" when I try to run "httpd -t" test. Is there any way to work around this?

2025-02-07 Thread Rainer Canavan
On Fri, Feb 7, 2025 at 9:26 AM ohaya wrote: > > Hi, > > I am trying to get the "httpd -t" test to work but am getting an "undefined > symbol" message. > > The Apache is 2.4.39 version that I built from source on a CENTOS 8.5 machine. > > Here's what I am running: > > export > LD_LIBRARY_PATH=/ap

Re: [users@httpd] efficient abuse page

2025-01-17 Thread Rainer Canavan
On Thu, Jan 16, 2025 at 11:28 AM Marc wrote: > > I have currently some abuse page that notifies the ip is blocked. I am > generating this page with php because I want to display the ip adres on this > page. Is there a more efficient way to generate a page with one line of text > and the blocked

Re: [users@httpd] ErrorDocument and Header always set ... env=

2025-01-08 Thread Rainer Canavan
On Wed, Jan 8, 2025 at 7:41 PM Eric Covener wrote: > > On Wed, Jan 8, 2025 at 1:27 PM Rainer Canavan > wrote: > > > > Hi, > > > > I'd like to short-circuit certain requests that contain no session > > cookie with a HTTP 403, an ErrorDocument and a

[users@httpd] ErrorDocument and Header always set ... env=

2025-01-08 Thread Rainer Canavan
Hi, I'd like to short-circuit certain requests that contain no session cookie with a HTTP 403, an ErrorDocument and a few response headers. The following almost works: RewriteCond %{REQUEST_METHOD} !OPTIONS RewriteCond %{HTTP_COOKIE} !session= RewriteRule ^/foo - [E=FOO:FOO,R=403,L] Header alwa

Re: [users@httpd] RE: regression in mod rewrite rule while migrating from 2.4.59 to 2.4.62

2024-11-07 Thread Rainer Canavan
On Wed, Nov 6, 2024 at 8:16 AM Rathore, Rajendra wrote: > > Hi Team, > > We are using below host header validation rule in Apache Http configuration, > that was working fine with 2.4.59 Apache server, when we migrate to 2.4.62 > below rule is not working. It will ignore the host name validation

Re: [users@httpd] RE: how to redirect ip ranges to warning page

2024-10-31 Thread Rainer Canavan
On Thu, Oct 31, 2024 at 2:12 PM Marc wrote: > [...] > > If you're using ip tables, you can re-route the request to a different > > TCP port and configure a vhost that serves the chosen document for any > > request to any path. [...] > Yes this is probably the most efficient. I a

Re: [users@httpd] RE: how to redirect ip ranges to warning page

2024-10-29 Thread Rainer Canavan
On Tue, Oct 29, 2024 at 5:11 PM Marc wrote: > > > > > > > I am blocking most of amazon,google,azure clouds with ipsets. I also seem > > to have added (automatically) ranges that were abusive from apple safe > > browsing (or so?) > > > > I would like to remove these ip addresses of apple safe brows

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 form

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, shou

Re: Re: [users@httpd] Unable to unset Set-Cookie response header&In-Reply-To=

2023-11-14 Thread Rainer Canavan
On Tue, Nov 14, 2023 at 3:24 PM Luigi Bellio wrote: > > Hi Eric, > > thanks for your feedback ... I just tried, nothing is changed ... > moreover as documented the "always" directive should apply to all > response codes not only "on success". You're missing one important issue the documenta

Re: [users@httpd] Unable to build Apache httpd

2023-10-25 Thread Rainer Canavan
On Tue, Oct 24, 2023 at 5:32 AM Frank Gingras wrote: > > Perhaps the libtool version is older/different - what happens when you remove > the space? > > On Fri, Oct 20, 2023 at 12:19 PM Daga, Navin (Navin) wrote: >> >> I'm trying to build Apache httpd RPM from the source tarball as mentioned in

Re: [users@httpd] dynamic ssl cert/key selection

2023-10-20 Thread Rainer Canavan
On Fri, Oct 20, 2023 at 5:31 PM Marc wrote: [...] > >ServerAlias test.*.* [...] > > > > A trivial and safe way if you need a solution asap might involve declaring > > a for each host. > > I would like to have single access/error log for all these serveralias > matches. That's no proble

Re: [users@httpd] Apache static compile

2023-04-12 Thread Rainer Canavan
On Wed, Apr 12, 2023 at 1:49 AM Chris me wrote: > > Basically I am trying to run a later version of apache that supports the > newer TLS alongside a much older version. I know it is better to upgrade the > server, etc. but that is not an option for the legacy server. > > I basically need a compl

Re: [users@httpd] Apache static compile

2023-04-11 Thread Rainer Canavan
On Sat, Apr 8, 2023 at 11:22 PM Chris me wrote: > > Right. Is there an option to compile Apache using a non-standard location for > dynamic libs? IE instead of /usr/lib it could use /usr/lib/custom > > I was not able to find anything other than using an ELF patcher to try and > change the paths

Re: [users@httpd] Multi-domain with SSL - Virtualhost all need IPs?

2022-05-19 Thread Rainer Canavan
On Wed, May 18, 2022 at 11:53 PM Frank Gingras wrote: > > Not sure if you saw the other answer on the other email: > > // If you can't use a SAN, then you need to configure all your vhosts as > IP:443, whereas one vhost uses a separate IP, and the remainder uses the > second IP. That sounds wro

Re: [users@httpd] How to use DH 4096 parameters?

2022-03-14 Thread Rainer Canavan
On Sun, Mar 13, 2022 at 8:08 PM Walter Hop wrote: [...] > I’m confused where the DH 3072 comes from. My question is, what should I > configure so that DH 4096 is sent? Your problem is in step 2) generate DH params - internet.nl explicitly states that "Self-generated groups are 'Insufficient'".

Re: [users@httpd] RE: (EXTERNAL) Re: [users@httpd] Patching httpd in MacOS?

2021-10-28 Thread Rainer Canavan
On Thu, Oct 28, 2021 at 1:18 AM Rich Barron wrote: > > We are doing a security audit. The software saw the unpatched version in the > MacOS and flagged it as a violation – so that is what needs to be patched. I don't know how Apple handles bundled software. Are you sure that this is not a false

Re: [users@httpd] How to display the True-Client-IP header in the access log

2021-10-19 Thread Rainer Canavan
On Tue, Oct 19, 2021 at 1:44 PM Mason Hayes wrote: > > Hi, All > > When Apache is accessed via a CDN (Akamai), I would like to record the IP of > the accessing client in the Apache logs. > In order to display the True-Client-IP header sent by Akamai in the access > log like X-Forward-For, do I h

Re: [users@httpd] Re: Reverse proxy to a website with HTTPS

2021-08-23 Thread Rainer Canavan
On Mon, Aug 23, 2021 at 10:45 AM Scott Trakker wrote: [...] > The certificate for the subdomain 'nextcloud.jeroenverhoeckx.com' is > installed correctly: No. Having a certificate and actually using it on the https server listening on port 443 are two entirely different things. Try https://www.s

Re: [users@httpd] brotli with Apache and PHP-FPM - possible?

2021-03-22 Thread Rainer Canavan
[...] > But does not work if it's PHP - in this case, the content is compressed > with "gzip": > > $ curl -v -H "Accept-Encoding: gzip, deflate, br" > https://server.tld/pp.php 2>&1 | grep content-encoding > < content-encoding: gzip > > Curiously, it does work with PHP if I specify "br" as the only

Re: Re: [users@httpd] Set SSLCipherSuite dependent on client IP

2021-02-25 Thread Rainer Canavan
On Wed, Feb 24, 2021 at 6:01 PM Hildegard Meier wrote: [...] > Could it be possible another way to give clients of a specific vHost > different SSLCipherSuite's depending on their IP address? (cipher of first > handshake, no renegotiation) You can work around this by setting up a separate vhost

Re: [users@httpd] Self built httpd 2.4.43 problems

2020-11-02 Thread Rainer Canavan
On Mon, Nov 2, 2020 at 4:17 PM Gabriele Bulfon wrote: > > Thanks, I configured and ran server-status after stopping/starting apache. > Top output is: > [...] > What should I check? > Also, when system blocks I won't be able to see server-status, as it will be > not responding. > Should I check i

Re: [users@httpd] Self built httpd 2.4.43 problems

2020-11-02 Thread Rainer Canavan
On Mon, Nov 2, 2020 at 11:13 AM Gabriele Bulfon wrote: >[...] > Recently we built version 2.4.43 and installed on a test machine. > Here, we are experiencing a problem where almost once a week we have to > restart apache, which is no more responding. > Threads are there, but none is answering on

Re: [users@httpd] Apache mod_autoindex and mod_deflate (gzip). Can't get pages compressed

2020-08-04 Thread Rainer Canavan
[...] > FilterProvider COMPRESSDEFLATE "%{Content_Type} = > 'text\/html.*$'" I don't think you can use regular expressions with just '=', you'll have to use '=~' search 'regex' in the documentation at https://httpd.apache.org/docs/2.4/expr.html for the exact syntax required. r

Re: [users@httpd] Apache mod_autoindex and mod_deflate (gzip). Can't get pages compressed

2020-08-03 Thread Rainer Canavan
On Fri, Jul 31, 2020 at 9:01 PM eika from Ru-Board wrote: > > Hi folks! > > I come across with issue I can't fix. I have Apache/2.4.43 OpenSSL/1.1.1g > with mod_autoindex (showing directory listings instead of index.html) and > with mod_deflate. > > I was able to get content gzipped, but only if t

Re: [users@httpd] TLS Client Hello not responded by mod_ssl

2020-07-14 Thread Rainer Canavan
> Dear Apache enthusiasts ... > > My application is a very simple https-only apache (2.4.43) server with > mod_ssl (openssl 1.1.1g) in Linux (crux distribution 3.5). [...] > ./configure --enable-layout=CRUX \ > --with-apr=/usr \ > --with-apr-util=/usr \ >

Re: [users@httpd] force secondary authentication for one Proxy URL QUERY_STRING

2020-06-15 Thread Rainer Canavan
On Thu, Jun 11, 2020 at 3:13 PM Jason Keltz wrote: [...] > The URL that I would like to limit looks like this: > > https://example.com/#/?key=KJKJHjkdflkjsdflkjJhdsfjhf [...] > I want to only apply authentication when the QUERY_STRING includes "?key". In the URL you have given above, "key" is not

Re: [users@httpd] Proxy pass settings

2020-06-15 Thread Rainer Canavan
On Fri, Jun 12, 2020 at 5:02 AM Niranjan Rao wrote: > [...] Example could be > > https://myserver/uat/app1 > https://myserver/qa/app1 > > > Earlier I have tried just https://myserver/app1 and it works correctly. > But now I want to add environment to it. Applications don't know they > are proxied

Re: [users@httpd] Where is gone RemoteIPProxyProtocol directive (mod_remoteip) ?

2020-05-06 Thread Rainer Canavan
On Wed, May 6, 2020 at 11:04 AM JK Pard0x wrote: > Looking at the mod_remoteip source code for httpd 2.4.6 [1], it appears > the directive RemoteIPProxyProtocol does not exist anymore. I'm not sure > to understand how the versioning works. And indeed, it looks like versioning works differently t

Re: [users@httpd] Compiling Apache with Non-System OpenSSL

2019-07-31 Thread Rainer Canavan
On Wed, Jul 31, 2019 at 1:39 AM Nigel B. Peck wrote: > > Thanks for the answers, great to have more insight on this. > > Is this a bug? Shouldn't it set up the linking correctly itself when > the library has been specified using `--with-ssl`, as it does for > `--with-pcre`? I'm considering submitt

Re: [users@httpd] Compiling Apache with Non-System OpenSSL

2019-07-30 Thread Rainer Canavan
On Tue, Jul 30, 2019 at 7:15 AM Nigel B. Peck wrote: > > Hi, > > Having some trouble compiling Apache with non-system OpenSSL, any help > appreciated. Looked at many threads online but no answers so far. [...] > Is there any way I can resolve this without having to add the location > to LD_LIBRAR

Re: [users@httpd] caching of HTML5 (MP4)

2019-06-17 Thread Rainer Canavan
On Sun, Jun 16, 2019 at 12:21 PM rexkogit...@gmx.at wrote: [...] > > In HTTP 1.1, the caching is a simple HTTP header field, see section 14.9 here: > > https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html The current RFC would be https://tools.ietf.org/html/rfc7234, but https://tools.ietf.org/

Re: [users@httpd] RE: Need some advice - thread safe php module

2019-05-23 Thread Rainer Canavan
On Thu, May 23, 2019 at 12:15 AM Jeff Cauhape wrote: > > Yehuda, > > But how do you tell if the Apache thread-safe module is included? > > I’ve already wasted more than enough time on this task, and I’d like > > some way to determine I’m not just wasting more time. It's in the FAQ, a single mouse

Re: [users@httpd] Tuning Apache Web Server Parameters

2019-05-02 Thread Rainer Canavan
On Thu, May 2, 2019 at 11:57 AM Supun Abeysinghe wrote: > > Hi all, > > I'm working on a project to dynamically tune the parameters of the Apache web > server. I'm particularly looking at changing MaxRequestWorkers (formerly > known as MaxClients) parameter by looking at runtime characteristics.

Re: [users@httpd] Re: CVE-2019-0211 - Apache 2.2

2019-04-03 Thread Rainer Canavan
On Wed, Apr 3, 2019 at 10:18 AM LuKreme wrote: > > On Apr 3, 2019, at 02:05, Hajo Locke wrote: > > Is apache 2.2 exploitable by CVE-2019-0211 ? > > Description says that first affected version is 2.4.17, but may be 2.2 was > > not analyzed. > > “Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38”

Re: [users@httpd] restrict Location URL with special string

2018-06-13 Thread Rainer Canavan
On Wed, Jun 13, 2018 at 2:27 PM MOKRANI Rachid wrote: > I have URL like below (with ? and =) > http://myserver/?s=about > > What’s the correct syntax to allow only some IP. > > Require ip 127.0.0.1 > only matches the path part of the URL, not the query string (i.e. the part after the ?). The

Re: [users@httpd] Logging in apache

2018-04-19 Thread Rainer Canavan
On Wed, Apr 18, 2018 at 9:29 PM, Eric Covener wrote: > On Wed, Apr 18, 2018 at 3:18 PM, Hemant Chaudhary > wrote: >> Thanks Eric >> >> It means thread are using lock so that one thread/process can write a time. > I believe it's unlocked, I think posix promises they will not be > interleaved if wr

Re: [users@httpd] Need Help in AB load testing with random query params.

2018-04-12 Thread Rainer Canavan
On Wed, Apr 11, 2018 at 5:54 PM, Absonworld . wrote: > Hi All , [...] > a) Input file : text1 text2 text3 > > b) URL :- {{BaseURL}}/apps/{{ApplId}}/courses/search?query={{random text > from input file }} > > I would like to hit this search URL with different/random texts present in > the input fi

Re: [users@httpd] Is httpd 2.4.x is supported on CentOs6?

2017-11-28 Thread Rainer Canavan
On Tue, Nov 28, 2017 at 1:47 PM, chetan jain wrote: > Hi All, > > As apache 2.2.x is EOL, I need to upgrade to httpd 2.4.x version but I am > not able to verify anywhere if it is supported/tested configuration with > Centos 6 OS? If your requirement is that you are only allowed to run supported s

Re: [users@httpd] Apache 2.4 DoS?

2017-11-13 Thread Rainer Canavan
On Fri, Nov 10, 2017 at 6:41 PM, Douglas Duckworth wrote: > Hi > > I am running old PHP under Apache httpd-2.4. [...] > Though, ever few weeks, we see sudden increase in workers who never seem to > retire: > > [Fri Nov 10 02:43:20.019924 2017] [mpm_prefork:error] [pid 13584] AH00161: > server rea

Re: [users@httpd] How can I detect if SSLEngine is ON?

2017-10-25 Thread Rainer Canavan
[...] > But, I don’t just need to know if a module is available: once the module is > loaded, its available for all virtualhosts. I need to know if the SSLEngine > has been enabled within a virtualhost so I can do something like the > following: mod_ssl sets the environment variable HTTPS to "

Re: [users@httpd] Apache upgrade error

2017-08-03 Thread Rainer Canavan
[...] > [Wed Aug 02 23:57:17.644430 2017] [http:error] [pid 23461910:tid 4627] > [client 10.140.66.12:50843] AH02429: Response header name 'P3P: > policyref="/w3c/p3p.xml"' contains invalid characters, aborting request > The header name may not contain : or space. You have to assemble them as sepa

Re: [users@httpd] Mod_ Backtrace in apache-2.4.25

2017-06-21 Thread Rainer Canavan
On Wed, Jun 21, 2017 at 8:16 AM, Hemant Chaudhary wrote: > Hi > > Can mod_backtrace is available to support apache-2.4.25. I want to support > it on HPE Non-stop. > If no then order module which can work as backtrace. You can enable core dumps and use a cron job to automatically generate backtrac

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-24 Thread Rainer Canavan
On Tue, May 23, 2017 at 8:45 PM, Ken Mycock wrote: > Eric > > It seems to make sense that REMOTE_USER wasn't set when the rule I tried in > htaccess ran, as that would explain RU not being set. > > But, REMOTE_USER must be set by Apache, even if it is late in the sequence, > so where/how can I get

Re: [users@httpd] Rewrite REMOTE_USER environment variable

2017-05-23 Thread Rainer Canavan
On Tue, May 23, 2017 at 2:10 PM, Ken Mycock wrote: [...] > Hence, we need to allow authentication of either form of number but to strip > leading zeros from the number stored in REMOTE_USER. > > I've tried various combinations of: > RewriteCond %{REMOTE_USER} ^0*([1-9][0-9]+) > RewriteRule ^0*([1

Re: [users@httpd] Best Form Redirect Http --> Https VirtualHost Apache.

2017-04-20 Thread Rainer Canavan
On Thu, Apr 20, 2017 at 2:05 AM, Wilmer Arambula wrote: > > If that domain points to your servers external IP, it will be handled by the > first *:443 virtualhost: > > Ok, Perfect thanks a lot for your answer, is there any way to prevent it from > redirecting to the first *: 443 virtualhost, wit

Re: [users@httpd] Re: Spoofing SERVER_PORT/HTTPS env?

2017-03-23 Thread Rainer Canavan
[...] >> SetEnvIf X-HTTPS "on" SERVER_PORT=443 >> >> The above results in: [...] >> $_SERVER[SERVER_PORT]; => 80 We had the same problem a few years ago, and went with a workaround in the end. We're simply setting and evaluating a different variable instead of SERVER_PORT, e.g. OVERRIDE_SERVER_P

Re: [users@httpd] Some basic (idiotic) queries regarding tunnelling-proxy

2017-03-22 Thread Rainer Canavan
> Now, we require something like opening an IFrame on the Server, and provide > virtual access to the HTTP-Server (via Intermediatary), something like what > Teamviewer does. We have the ability to modify to Server and Intermediatary, > but not HTTP-Server in the general case. > > It would be great

Re: [users@httpd] Unable to start apache-2.4.25; missing ssl module

2017-03-22 Thread Rainer Canavan
On Wed, Mar 22, 2017 at 3:29 AM, John Iliffe wrote: > Just in case anyone is thinking about this, I managed to resolve it, more > by luck than by any plan. > > Basically, I just added links in the httpd/lib directory to everything that > it claimed it couldn't find. Some are actually links to lin

Re: [users@httpd] apache run status: how to tell as non-root user (on *nix)?

2017-02-21 Thread Rainer Canavan
On Tue, Feb 21, 2017 at 3:53 PM, Yann Ylavic wrote: > On Tue, Feb 21, 2017 at 3:19 PM, Rainer Canavan > wrote: [...] >> If you know where the .pid file is, you can read that and check if the >> process is >> running, e.g. via ps --pid `cat /var/run/apache2.pid` > &g

Re: [users@httpd] apache run status: how to tell as non-root user (on *nix)?

2017-02-21 Thread Rainer Canavan
On Tue, Feb 21, 2017 at 2:53 PM, Tom Browder wrote: > I need to programatically determine whether httpd is running or not, whether > I'm root or not. The only reliable way I have found is to use the system > command 'ps -C httpd' and grep the results. > > Is there a better way? If you know where

Re: [users@httpd] Apache 2.4.18: warnings issued since environment vars definitions isn't always loaded

2017-01-20 Thread Rainer Canavan
> sudo apache2 -M > > writes spurious lines like this: > > [Wed Jan 18 03:32:29.510875 2017] [core:warn] [pid 11564] AH00111: Config > variable ${APACHE_LOG_DIR} is not defined > > even though the mentioned variable *is* defined in /etc/apache2/envvars apache2 is the binary - you're not really sup

Re: [users@httpd] unresolved reference to ap_getword_nulls

2016-12-02 Thread Rainer Canavan
On Fri, Dec 2, 2016 at 6:08 AM, Hemant Chaudhary wrote: >> > "unresolved reference to ap_getword_nulls". > After "make install", I started my apache server, but it was not running > because it was unable to recognize .so file. Hence I planned to convert .a > into .so file. > > I am porting apache

Re: [users@httpd] Re: apache 2.4 core dump on launch, no error logging

2016-11-17 Thread Rainer Canavan
On Thu, Nov 17, 2016 at 4:08 PM, @lbutlr wrote: > On Nov 17, 2016, at 3:56 AM, Nick Kew wrote: >> On Wed, 2016-11-16 at 12:12 -0700, @lbutlr wrote: >>> When launching apache 2.4 I get a core dump. Nothing is logged to the >>> http-error log. I’ve tried rebuilding it to no avail. Ideas? >>> >> At

Re: [users@httpd] Parameter POST to PHP with proxy

2016-10-07 Thread Rainer Canavan
[...] > But I have a HTML form which calls doctechnique.example.com like this [...] > redirection to http://doctechnique.exemple.com is OK but I cannot retrieve > the variable Hqsdf218regTYH414 in the PHP code of doctechnique.example.com > (variable POST). If by redirect you mean a 301 or 302 redi

Re: [users@httpd] Unknown accepted traffic to my site

2016-10-06 Thread Rainer Canavan
On Wed, Oct 5, 2016 at 6:26 PM, Joe Muller wrote: > From the looks of it I would say it is targeting servers running SSL. Are > you serving up HTTP or HTTPS ? I don't think that that is valid SSL, unless your httpd discards the first few bytes. There was a SANS handler diary entry just yesterday

Re: [users@httpd] 2.4 named virtual hosts question

2016-09-13 Thread Rainer Canavan
On Mon, Sep 12, 2016 at 7:37 PM, Marat Khalili wrote: > On 12/09/16 18:47, Rainer Canavan wrote: >> The obvious ones I can come up with would be Alias, ScriptAlias, >> FastCGIExternalServer, >> Action and RewriteRule. All those can be defined in the global context >> (i

Re: [users@httpd] 2.4 named virtual hosts question

2016-09-12 Thread Rainer Canavan
On Mon, Sep 12, 2016 at 3:21 PM, Marat Khalili wrote: > On 12/09/16 15:25, Rainer Canavan wrote: >> >> >> However, in this example, you'd add a virtualhost that may expose >> globally configured resources without the individual access controls of >>

Re: [users@httpd] 2.4 named virtual hosts question

2016-09-12 Thread Rainer Canavan
[...] >> Additionally, if you bind any further vhosts to specific IP addresses, e.g. >> , then that virtualhost will have precedence for >> requests to 192.0.2.1:80 over the *:80 virtualhost. > > In this case you'll have create separate default deny configuration for each > IP address, right? > >>

Re: [users@httpd] 2.4 named virtual hosts question

2016-09-12 Thread Rainer Canavan
>> >> ServerName default >> >> >> AllowOverride none >> Order Allow,Deny >> Require all denied >> >> [...] I'm not 100% sure, but that may not deny access to absolutely everything, in case you have global directives such as cgi aliases or proxy constructs, p

Re: [users@httpd] Apache Host not found

2016-07-18 Thread Rainer Canavan
On Wed, Jul 13, 2016 at 10:16 AM, Theo Sweeny wrote: > Thank you Daniel. > > > > At the moment it is set to – > > > > STATUSURL="http://localhost:80/server-status"; > > > > Should it be configured like so when there are multiple sites? > > > > STATUSURL="http://www.site1.com:80/server-status; > ht

Re: [users@httpd] RE: Apache default page shows up periodically

2016-06-30 Thread Rainer Canavan
On Thu, Jun 30, 2016 at 11:37 PM, Rose, John B wrote: > Single host. If you haven't already, make sure that your LogFormat contains %v:%p _and_ host:\"%{host}i\" and check both if the problem reappears. Is there any good reason why you still have the default vhost configured at all, much less as

Re: [users@httpd] How i can determine SSL protocol?

2016-04-18 Thread Rainer Canavan
On Mon, Apr 18, 2016 at 10:47 AM, Виталий Фадеев wrote: > Hello! > We want to show different page for users that come with SSL3 or TLS/1.0 > Is this possible? > For example, by creating two virtual servers with different > SSLProtocols. DirectoryRoot, and the same ServerName? I don't think that w

Re: [users@httpd] Get UID/GID from a username string

2016-04-15 Thread Rainer Canavan
On Fri, Apr 15, 2016 at 9:14 AM, Ben RUBSON wrote: > Hello, > > I already do it with a RewriteMap Perl script, but perhaps a faster (in terms > of performance) solution exists. > Let's assume an incoming request contains a username, is there a way to get > the system UID of this username string

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Rainer Canavan
On Fri, Apr 8, 2016 at 6:02 PM, Christopher Schultz wrote: [...] > I'm speaking from a position of ignorance, here, but can a dynamic > library modify the main process's search path? If only mod_ssl is > compiled with the static-path to OpenSSL but httpd is not (and it's > not clear to me that htt

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Rainer Canavan
On Fri, Apr 8, 2016 at 12:31 AM, Yann Ylavic wrote: > On Thu, Apr 7, 2016 at 5:21 PM, Poggenpohl, Daniel > wrote: >> >> LDFLAGS="-L$OPENSSLDIR/lib -R $OPENSSLDIR/lib" > > I don't know which compiler you are using, but gcc's -R is not working > correctly (on Linux at least), whereas "-Wl,-rpath,$O

Re: [users@httpd] Re: How to load an image with out extension in browser

2016-02-16 Thread Rainer Canavan
On Tue, Feb 16, 2016 at 3:42 PM, Curtis Maurand wrote: > > > On 2/16/2016 5:37 AM, @lbutlr wrote: > > On Feb 16, 2016, at 2:02 AM, Aravin wrote: > > Before we upgrade the apache 2.4 the below image url can be viewable through > browsers. but after upgraded the apache we are not able to view this

[users@httpd] AH00273: apr_proc_mutex_lock failed, possibly caused by cron, systemd or su

2015-12-18 Thread Rainer Canavan
Hi, we've got an obscure problem with the apache httpd that was shipped with CentOS 7.2. We perform automatic builds and updates via cron, and, since the update to CentOS 7.2. The update script is triggered by cron and stops, yum updates and starts the httpd. When the next cron job that is run as

Re: [users@httpd] Logging an masqueraded header in Apache 2.4

2015-12-16 Thread Rainer Canavan
2015-12-16 17:56 GMT+01:00 Christian Georg : > Hi all, > > > I am looking for a solution to masquerade/anonymize data I am writing to the > acccess log on my proxy. For debugging purposes we need to trace data based > on the x-auth header. As this header contains critical data I do not want to > en

Re: [users@httpd] debugging segmentation fault

2015-07-27 Thread Rainer Canavan
2015-07-27 6:33 GMT+02:00 deva seetharam : > hello > > we are running debian linux stable (Jessie) with apache 2.4.10 and mod_wsgi > 4.3.0-1 on a x86_64 machine. > our application is written in python 2.7 and django 1.8. > > the list of modules as reported by apachectl -M are: > Loaded Modules: [..

Re: [users@httpd] Apache24 - how to optimize httpd.conf

2015-06-09 Thread Rainer Canavan
>> Remove etags (Header unset Etag/FileETag None) > Won't this disable conditional requests, ex. If-None-Match and friends? Is > your recomendation because of the header overhead or am I missing something? Just if-None-Match. If-Modified-Since would still work. I believe people recommend disabli

Re: [users@httpd] Random latency in reentrant calls (Bug 57916)

2015-05-12 Thread Rainer Canavan
2015-05-12 10:03 GMT+02:00 Luc Andre : > Thanks for your reply. > > We did a test on a powerful server with > > StartServers 20 > MinSpareServers 5 > MaxSpareServers 20 > > And we still have the issue... > To ensure that you don't hit the child spin up issue, you'l

Re: [users@httpd] Handling MS "Internet Shortcuts" and "Links"

2015-05-04 Thread Rainer Canavan
2015-05-01 16:00 GMT+02:00 David A. Cobb : [...] > However, if I click the URL file in a "Directory List" served from Apache, I > get the plain text file displayed. I can go to the target with one or two > extra steps, but it's a PITA. It's a text file, so that's the expected result, since there