Re: [users@httpd] help with reverse proxy

2021-10-06 Thread Nick Kew
need mod_xml2enc (other pages might, but I'd guess probably not). If you simply don't load it in the server you'll simplify things. In fact it looks as if mod_xml2enc needs updating to work correctly with HTML 5's nonsense! -- Nick Kew

Re: [users@httpd] help with reverse proxy

2021-10-05 Thread Nick Kew
hat the backend sets, what the browser gets, and what happens between them. Meanwhile, does it fix the problem if you add to the config section: RequestHeader Unset Accept-Encoding ? -- Nick Kew - To unsubscri

Re: [users@httpd] Retrieve the content of the "SuexecUserGroup" variable in a module

2021-08-09 Thread Nick Kew
re already doing what I said, you may be doing it in a hook where the vhost doesn't actually exist as a current server_rec identity. If so there's an even more messy way to get it (provided you're at least after config

Re: [users@httpd] mod_ext_filter and content-encoding

2021-07-25 Thread Nick Kew
filtering play nicely with gzipped contents, particularly in a proxy situation, was one of the main motivations behind both mod_filter and the INFLATE output filter in mod_deflate. Revisiting the documentation I see the image downsampling example in the mod_filter page applies the same prin

Re: [users@httpd] Is there a way to let apache check resources (example AuthUserFile ) when the service starts?

2021-05-12 Thread Nick Kew
applicable to users via .htaccess. Details can change at any time without a server restart. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] man pages helper utilities

2021-05-06 Thread Nick Kew
ilities added by Debian/Ubuntu. You shouldn't see them in > apache.org documentation. This is of course a longstanding and well-known issue. You might enjoy an old article on the subject: https://www.theregister.com/2006/11/04/apache_packages_support_vacuum/ -- Nick Kew --

Re: [users@httpd] Replays from Internet

2021-01-20 Thread Nick Kew
. Maybe the customer is messing you around, or your system is duplicating entries offline. Unless you've got yourself hopelessly confused and need a good night's sleep and a day off to clear the head. -- Nick Kew - To u

Re: [users@httpd] No authentication done but request not allowed without authentication

2020-12-31 Thread Nick Kew
re mixing and in what appears intended to be the same space. Don't. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Reverse proxy for app that only serves compressed content

2020-10-15 Thread Nick Kew
7;ve verified it works as expected for me. That is to say, if the client sets Accept-Encoding, the backend receives it. I guess you must have something in your configuration (possibly set by some third-party application) that

Re: [users@httpd] Reverse proxy for app that only serves compressed content

2020-10-09 Thread Nick Kew
ent-codings commonly understood by HTTP/1.0 clients (i.e., "gzip" and "compress") are preferred; [...]" [1] https://bz.apache.org/bugzilla/show_bug.cgi?id=43454 tracks a bunch of them. Specifically th

Re: [users@httpd] Reverse proxy for app that only serves compressed content

2020-10-09 Thread Nick Kew
o you want to happen? To return compressed contents to a Client that won't accept it, you could have the proxy set the request header. To decompress contents on the fly, you'd use that filter from mod_deflate. -- Nick Kew --

Re: [users@httpd] slotmem error still occuring after updating to Apache 2.4.43 APR 1.7.0

2020-08-26 Thread Nick Kew
eral transcription? I'm looking at the apparent argument there! -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Install on RHEL 7 question

2020-08-17 Thread Nick Kew
g it At a guess, the RHEL7 has a different APR version to what you built against: probably APR 2. Either switch the APR version within the package manager, or include APR in what you build yourself rather than use RH packages. -- Nick Kew -

Re: [users@httpd] http-https

2020-08-11 Thread Nick Kew
advice is wrong on too many levels to enumerate). -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] How to make mod_autoindex mobile-friendly?

2020-08-08 Thread Nick Kew
choice of presentation elements. Any usability issues there are BY DEFINITION on the client side. Having said that, if you want to subvert mod_autoindex to satisfy some total idiot who happens to work for Google, you'd just set a stylesheet for mod_autoindex's display and use th

Re: [users@httpd] Received 404 not found error on existing CGI script

2020-06-24 Thread Nick Kew
> On 24 Jun 2020, at 00:35, barry kimelman wrote: > > > What have I done wrong? You've had some good advice from others. But also check your shebang line. -- Nick Kew - To unsubscribe, e-mai

Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-15 Thread Nick Kew
hed). If it works for you I'll think through whether it's fit to commit as-is or whether there's a case for something more general (and complex). -- Nick Kew Index: modules/filters/mod_proxy_html.c === --- modules/fi

Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-14 Thread Nick Kew
workaround. I think this merits a bugzilla entry. Do you want to submit it? -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-08 Thread Nick Kew
> FYI, by increasing LogLevel to INFO, error log shows: Basically just shows the problem isn't your backend. My first reply was leading to "if the debug info doesn't tell us what's wrong, I'll ask for a

Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-07 Thread Nick Kew
on You probably also don't want that. I think the documentation of that is misleadingly out-of-date, but I don't want to check now (late, and after a glass of wine). -- Nick Kew - To unsubscribe, e-mail: users-unsu

Re: [users@httpd] proxy_html / xml2enc won't handle certain HTML entities

2020-05-07 Thread Nick Kew
_xml2enc will report what charset it detects, so you can check whether that's what you think it should be. Probably better to increase it to DEBUG, which will get quite a lot more info from mod_xml2enc. If that doesn't help you figure it out, post the mod_xml2enc messages at lev

Re: [users@httpd] What is n in a hook function?

2020-04-27 Thread Nick Kew
s a hook to enable modules to insert a function. The r and the n are arguments to the function do_something. Best way to get a feel for it is to look at examples in the core server and standard modules, and match the declarations to AP_IMPLEMENT_HOOK_* and ap_hook_*. Hooks are pretty central

Re: [users@httpd] ./confgure syntax to create static binary and eliminate "Shared" modules?

2020-02-12 Thread Nick Kew
s. No "mod_". You'll also find it refuses to run without system security. On Linux that means you need mod_unixd, unless you're living on-the-edge with some third-party alternative. -- Nick Kew - To unsu

Re: [users@httpd] [patch] Apache converts GZIPed data into UTF-8 - 2nd Act

2019-04-15 Thread Nick Kew
On Mon, 15 Apr 2019 17:21:27 +0100 Nick Kew wrote: > Hmm. Your fix does the job for you, but shouldn't be necessary. > > I'm thinking, mod_proxy_html does the right thing removing itself. > mod_xml2enc should do the same when inserted by mod_proxy_html. > That should

Re: [users@httpd] [patch] Apache converts GZIPed data into UTF-8 - 2nd Act

2019-04-15 Thread Nick Kew
e.) Hmm. Your fix does the job for you, but shouldn't be necessary. I'm thinking, mod_proxy_html does the right thing removing itself. mod_xml2enc should do the same when inserted by mod_proxy_html. That should be straightforward to fix. I'll take a look later today. Thanks for t

Re: [users@httpd] mod_substitute not firing with HTTP Status Code 201?

2018-09-17 Thread Nick Kew
s: that's entirely deliberate, and I could've answered that question without having to investigate anything. But 201 isn't an error, and it's probably wrong to treat it as such in filtering. This needs thinking through and perhaps fixing. -- Nick Kew

Re: [users@httpd] httpd reload fails due to php72w-mysql package?

2018-09-08 Thread Nick Kew
gives no clue what APR version you're using! A recent stable libapr would be 1.6.x. > When we remove php72w-mysql package from our server the problem disappears. Removing php is a fine solution to many problems. A second-best that might work for you is to use it in a fastcgi configuration rather than loaded into the server. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache allowed OPTIONS

2018-06-14 Thread Nick Kew
handler, not a map straight to the filesystem). If you add a breadcrumb (e.g. a Header), do you see it in a PUT? -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Modifying request body and content type going to proxy url

2018-06-03 Thread Nick Kew
er on the internet but got > nothing can anyone give a hint on this. There's no specific JSON parser, unless you can find a third-party module. But if parsing your POST data as text works, then mod_sed may do the job for you. -- Nick Kew --

Re: [users@httpd] APR Table vs. Hash & Array vs. Skip List vs. Ring

2018-05-27 Thread Nick Kew
ion to decide what struct will best serve you. FWIW, the situation where I find an APR array helps most often over a linked list is in making life easier in a configuration merge function. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread Nick Kew
equest_uri? (apologies if this is the beer speaking: just back from an evening out). -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] configuring a proxy fallback

2018-05-17 Thread Nick Kew
al request to the legacy site. A bit of an ugly hack (and probably not useful), but what about an errordocument that uses SSI to include your contents? Would you be able to share the nginx config to achieve what you're lookin

Re: [users@httpd] Installation Error in Apache2

2018-05-12 Thread Nick Kew
buntu's package (as opposed to your own or a third-party), then it looks like a ubuntu bug: they should either fix their OpenSSL package dependency or not load SSL by default. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr

Re: [users@httpd] Apache FilterProvider Deflate expression

2018-05-02 Thread Nick Kew
atives: get the content generator to add a custom header, or a one-line change to mod_deflate to set a flag. — Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache FilterProvider Deflate expression

2018-05-02 Thread Nick Kew
o work > properly. However, I have that condition also in the Inflate > FilterProvider and it seems to work there. Yep. When you decompress the contents, it's no longer gzipped, so the inflate filter removes the header labelling it as such. -- Nick Kew ---

Re: [users@httpd] Error compile apache httpd-2.4.33

2018-04-10 Thread Nick Kew
d if you’re using Debian’s versions you’ll need the -dev packages from apt. apr-util should then find them, but if it doesn’t then you’ll need a —with-expat or —with-libxml2 option. — Nick Kew - To unsubscribe, e-mai

Re: [users@httpd] Apache2.4 forward proxy ssl between client and proxy server

2018-04-10 Thread Nick Kew
work. Your intended proxy is a “man in the middle” attack. Clients will see that its certificate doesn’t match the domain they’re visiting, and rightly refuse to make an SSL connection that’s being eavesdropped. — Nick Kew - T

Re: [users@httpd] Faking the CGI content_length environment variable

2018-03-29 Thread Nick Kew
but have you tried using RequestHeader (mod_headers) to fake it? > Something like mod_deflate or mod_substitute changing the length> I’ve certainly encountered problems with filters invalidating headers. And (in the distant past) fixed some of them

Re: [users@httpd] mod_allowmethods to get all the http methods working

2018-03-28 Thread Nick Kew
port* the methods in question. C.f. mod_dav, for example. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Writing and debugging Apache modules on a macOS with preferably Docker containers.

2017-12-31 Thread Nick Kew
to deal with platform issues). Most of us install a regular toolchain from something like fink, macports, or homebrew. > I would like to try > out writing a custom module. If you want something more substantial than the developer notes in the docs, my book aims to help you up the learning cu

Re: [users@httpd] Using environment variables in mod_substitute

2017-12-29 Thread Nick Kew
s to rewrite something specific in HTML pages, mod_proxy_html could be another option. You get a markup-aware parser, as opposed to a simple match-and-replace in the modules we've mentioned. Though that'll depend on what works best with your application and your custom

Re: [users@httpd] Using environment variables in mod_substitute

2017-12-29 Thread Nick Kew
re any to parse html responses > and regex replace something with an environment variable? mod_line_edit supports environment variables with either string or regexp replacement. -- Nick Kew - To unsubscribe,

Re: [users@httpd] Forwarding requests based on an header or RURI param

2017-12-05 Thread Nick Kew
he > request sent by the client. Is a RURI param a part of a header? You can test your input in an expression, and configure one backend in the If block and the other in an Else(If). -- Nick Kew - To unsubscribe,

Re: [users@httpd] how to free memory allocated using apr_palloc() - C Apache module

2017-11-27 Thread Nick Kew
pool that's managed by the server and will be cleared at the appropriate time (most commonly at the end of a Request). So he doesn't need to do anything. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache Reverse Proxy and NTLM Authentication Help!

2017-11-09 Thread Nick Kew
Tying authentication to a connection would be a complete violation of HTTP, and prevent it working in pretty-much any situation with a general-purpose browser. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apa

Re: [users@httpd] Receiving only 8000 bytes in CGI programs using post method

2017-11-07 Thread Nick Kew
eports $CONTENT_LENGTH bytes? Or your real application? What does the test program say? -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Undefined Symbol Prevents mod_proxy.so from Loading

2017-10-21 Thread Nick Kew
p.s. if you're updating, you might want the new 2.4.29. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache Restart Failure

2017-09-03 Thread Nick Kew
k that using ipcs. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache upgrade error

2017-08-03 Thread Nick Kew
lue the policyref bit. Somehow the server is seeing the whole line as a header name. You should investigate and fix whatever sets the header. — Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Unexpected URLs in Apache 2.4 acce log file

2017-07-24 Thread Nick Kew
ng a 302 redirect in response, which is not really a good idea, but probably comes from some default you've set somewhere. Better to send a NOT FOUND instead (that's 404 from memory). Or just BAD REQUEST (400). -- Nick Kew --

Re: [users@httpd] Problem with Redirect

2017-07-08 Thread Nick Kew
On Sat, 2017-07-08 at 08:35 -0500, Blake McBride wrote: > When, through my browser, I go to abc.com, Probably what Eric said. But is there history to this? As in, trying different variants on your configuration? If you have previously had a permanent (301) redirect from abc.com, then what you se

Re: [users@httpd] Problems building httpd-2.4.26 with apr-1.6.2 and apr-util-1.6.0

2017-06-26 Thread Nick Kew
crypto lib. It's unlikely you need to know any of that building httpd, but it's still a release note. Unbundling expat from APR rids us of this kind of issue, and perhaps more importantly the troubling issue of expat security issues living on in APR after they are fixed in

Re: [users@httpd] apache 2.4 includes vi .swp files

2017-05-09 Thread Nick Kew
Once you start excluding files by convention (which may be entirely different and inappropriate on another platform), it's a minefield. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Problem running cgi-bin scripts

2017-05-09 Thread Nick Kew
have some non-standard paths, including that one, somewhere in your configuration. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] ProxyPass with Location in 2.4.25

2017-05-09 Thread Nick Kew
learly documented as an upgrade note! Are you sure nothing else changed at the same time as your upgrade? Did you build from source or install a packaged or third-party version? -- Nick Kew - To unsubscribe, e-mail: users-unsu

Re: [users@httpd] Handling 413 Errors with ProxyPass

2017-05-01 Thread Nick Kew
arge is itself a request that is proxied? I can see how that would recurse: your error document is configured to reject the request for exactly the same reason as the original request. But this is off the top of my head: I haven't

Re: [users@httpd] Handling 413 Errors with ProxyPass

2017-05-01 Thread Nick Kew
cessing fails. Can't be sure, but I suspect you've found a bug (the alternative is a configuration error). If you can come up with a test case to reproduce the behaviour, an entry in Bugzilla would be in order. -- Nick Kew -

Re: [users@httpd] Unstable PHP under Apache

2017-04-30 Thread Nick Kew
mething PHP is doing. Questions to consider: Why the idiosyncratic install locations of httpd and php in your filesystem? What's the HTTP response? -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org

Re: [users@httpd] Reg: Custom error message at Apache 2.4.25

2017-04-17 Thread Nick Kew
e proxy. Any > further help? Are you saying you want an error message coming from the backend but modified by the proxy? That would imply using a content filter (such as mod_proxy_html, mod_sed, or mod_substitute) to rewrite the response from the backend

Re: [users@httpd] Re: Reg : Limiting http connections at Apache 2.4.25

2017-03-16 Thread Nick Kew
oxy reply with a "too busy" error page than not take the connection at all, right? The proxy balancer would be a place to look: that offers various ways to determine how much traffic to send to a backend. If that doesn't meet your needs, there are several third-party traffic-

Re: AW: [users@httpd] Apache load balancing based on http request body content

2017-03-09 Thread Nick Kew
ty or ironbee for this kind of capability. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] redirect port from 80 to 443

2017-02-20 Thread Nick Kew
;t a problem you look to solve. It's a candidate *solution* to certain problems. Look at the problem instead of fixating on one particular class of prospective solution. -- Nick Kew - To unsubscribe, e-mail: users-uns

Re: [users@httpd] redirect port from 80 to 443

2017-02-20 Thread Nick Kew
I got my first programming job in the 1980s, there was still lots of ancient FORTRAN around, from before the FORTRAN-77 standard brought block structure to that language. We newbies were NOT encouraged to write old-style spaghetti code. -- Nick Kew --

Re: [users@httpd] FW: mod_substitute only replaces first pattern match

2017-02-13 Thread Nick Kew
dit or mod_sed), and the problem you're trying to solve looks like exactly the one for which mod_proxy_html is the smart (markup-aware) solution. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For add

Re: [users@httpd] Reverse proxy: redirect variable by user

2017-02-11 Thread Nick Kew
oxy request. They are separate backends to the server. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] apache 2.4 handling of subdomains with unallowed characters

2017-01-23 Thread Nick Kew
New answer: enforce HTTP much more strictly to pre-empt the next security alert based on smuggling something through. In reply to the OP, does HTTPProtocolOptions may be what you're looking for, though I haven't verif

Re: [users@httpd] Copyright notices in httpd source files

2016-12-29 Thread Nick Kew
g it to apache. > [ mod_proxy_protocol.c ] > Copyright 2014 Cloudzilla Inc. If that's in our svn, it should probably have another line asserting Apache copyright alongside that one. As in, for instance, mod_proxy_html. -- Nick Kew ---

Re: [users@httpd] mod_proxy.so: undefined symbol: apr_sockaddr_ip_getbuf

2016-12-01 Thread Nick Kew
with a self-built httpd. Most likely fix is to upgrade APR and APR-UTIL. Or use the ones bundled in the httpd package. > cd httpd-2.2.31 > ./configure --prefix=/nfs/apache_120/apache --with-mpm=worker You might want to add an explicit --with-apr (a

Re: [users@httpd] mod_proxy.so: undefined symbol: apr_sockaddr_ip_getbuf

2016-12-01 Thread Nick Kew
f something installed and built against the wrong version. If you installed from a package, you might want to check with your package provider and see if they have a bug report or any suggestions. -- Nick Kew - To unsubscrib

Re: [users@httpd] unresolved reference to ap_getword_nulls

2016-12-01 Thread Nick Kew
created. You should use apxs to build your modules. From the above, I'm guessing you tried something different. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Mod_Substitute - Match the last occurrence of a string in the response

2016-11-23 Thread Nick Kew
implied if not present) in HTML. If you're parsing markup, mod_proxy_html saves you having to throw dodgy heuristics at it. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional comman

Re: [users@httpd] Mod_Substitute - Match the last occurrence of a string in the response

2016-11-23 Thread Nick Kew
parse as a single line. (If pages are big it would still be simpler, but a big performance hit). -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

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

2016-11-17 Thread Nick Kew
On Thu, 2016-11-17 at 08:08 -0700, @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 rebui

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

2016-11-17 Thread Nick Kew
different/slightly incompatible pcre version? -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Conditionally LoadModule?

2016-11-15 Thread Nick Kew
On Tue, 2016-11-15 at 09:41 -0800, Jacob Champion wrote: > On 11/15/2016 09:19 AM, Nick Kew wrote: > > So IfFile joins IfDefine and the infamous[1] IfModule. What next? > > We can't get rid of them in the lifetime of 2.4, but maybe thereafter > > they could come togeth

Re: [users@httpd] Conditionally LoadModule?

2016-11-15 Thread Nick Kew
[1] because it gives rise to so much confusion amongst users. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] ProxyPass ttl not working?

2016-07-27 Thread Nick Kew
ame with plain HTTP? Also, mod_proxy gets very verbose if you turn loglevel up to Debug. Worth a try if it's not one of those problems you solved one minute after posting! -- Nick Kew - To unsubscribe, e-mail: users-

Re: [users@httpd] Run PHP Handler after running my handler Apache

2016-07-18 Thread Nick Kew
ut given that the server parses the URL, you can probably dispense with that altogether, and use configuration to deal with whatever your parser does. If or is not sufficient, then an clause. Or even the archaic tool of yesteryear, mod_rewrite. --

Re: [users@httpd] Apache as forward and reverse proxy

2016-07-14 Thread Nick Kew
a forward proxy. If you want to run both, I'd suggest keeping the reverse proxy in a virtualhost with proxyrequests off, so you separate it from the forward proxy. The latter must of course be appropriately secured against being

Re: [users@httpd] mod_sed for input/output filter on same site

2016-06-20 Thread Nick Kew
unlikely to be what you want. > AddInputFilter Sed html css js pl cgi text Looks very confused: most of those are customarily associated with GET requests and static content. -- Nick Kew - To unsubscribe, e-mail: users-u

Re: [users@httpd] root perms / rewritemap prg / module system()

2016-06-08 Thread Nick Kew
ning as root is, at the very least, a big security concern, and I would NOT recommend the above unless it was an alternative to something yet worse! Rewritemap at least has the advantage of history and exposure. -- Nick Kew - T

Re: [users@httpd] Change TMP dir

2016-05-24 Thread Nick Kew
ile in the first place. Check out proxy-sendchunked vs proxy-sendcl in the docs. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Change TMP dir

2016-05-24 Thread Nick Kew
7;ve edited the wrong file. Anything in /etc/ comes from your distro package or a customised install, so you'd have to check elsewhere for whether it's right. If you try to break it completely using envvars (like, break LD_LIBRARY_PATH), what h

Re: [users@httpd] Change TMP dir

2016-05-23 Thread Nick Kew
, as that could be a big security issue. The per-request environment serves as an alternative in such cases. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Re: Cannot run CGI scripts in user directory

2016-05-22 Thread Nick Kew
roblems (by suppressing helpful error messages that tell you what's wrong if you need to load a module). When you want it is if you're packaging httpd (or a product that includes it) for a range of different users and purposes. -- Nick Kew ---

Re: [users@httpd] Cannot run CGI scripts in user directory

2016-05-21 Thread Nick Kew
On Sun, 2016-05-22 at 04:05 +0100, Alessandro Re wrote: > #!/usr/bin/sh Is that a typo or an unusual filesystem? Does your script run from the commandline (as "/path/to/test.cgi", not as "sh test.cgi")? -- Nick Kew -

Re: [users@httpd] old solaris box (but heavily used)

2016-05-20 Thread Nick Kew
re, and start the server with -f pointing to a trivial config that just serves the page in response to everything. Or set it as a FallbackResource or ErrorDocument, and suppress your regular contents while under maintenance. Useful if you want to continue serving some vhosts while taking o

Re: [users@httpd] Strange recurring line in errorlog

2016-05-16 Thread Nick Kew
On Mon, 2016-05-16 at 12:14 +0300, Reko Turja wrote: > Dear Apache experts; > > I have a recurring line appearing in my error log: > > Host: not found Without the normal timestamp/severity/etc? That'll be some script writing to stderr, which is diverted into the erro

Re: [users@httpd] Show Alternate Image if Requested Image is Missing

2016-05-03 Thread Nick Kew
On Tue, 2016-05-03 at 10:52 -0400, Julie Kurpa wrote: > I've been trying various combinations of the Rewrite module Bad idea. Don't go looking for the brittle and difficult solution until you've looked for an easy one. In your case, ErrorDocum

Re: [users@httpd] Debian way or standard

2016-04-01 Thread Nick Kew
ing. Some people like it. Pick one or the other and stick to it! Advantage of the Debian's package: apt will automate upgrades for you. Advantage of installing Apache package: you won't find yourself the wrong side of the documentati

Re: [users@httpd] cfgid module - setting HTTP status header

2016-01-07 Thread Nick Kew
On Thu, 7 Jan 2016 17:59:55 +0530 Sreenath BH wrote: > Is there any way we can send such status code in fcgid? Have you tried it with a trivial test script? Maybe just set the status and reply HelloWorld? -- Nick Kew -

Re: [users@httpd] How to solve ONE fixed IP serving multiple web-servers running on VMs

2015-12-25 Thread Nick Kew
with the VMs and substitute plain old VirtualHosts, that's a far more efficient solution. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] mod_proxy - Status lines without response phrases are getting turned into 500 errors

2015-12-07 Thread Nick Kew
comment suggests that the issue you describe was fixed in 2.3/2.4, but not in 2.2. You could presumably apply the patch attached to that bug report if you don't want to upgrade? -- Nick Kew - To unsubscribe, e-mail: u

Re: [users@httpd] Temporarily authentication errors with auth_dbd and postgres

2015-12-02 Thread Nick Kew
DBDMin 1 > DBDKeep 2 > DBDMax 20 > DBDExptime 300 Does varying those params make any difference at all? -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache

Re: [users@httpd] Architecture recommendations, tips, hints and help

2015-11-29 Thread Nick Kew
, if the OP is most at home in C then that's where he's (on balance) at least risk of screwing up. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Nick Kew
I'm not clear if you meant that too), you will slow page loads by killing parallelism. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-26 Thread Nick Kew
ould be a security issue if, for example, you run something that reveals the server's environment. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Running Apache in Single Process Mode for Docker Container?

2015-10-24 Thread Nick Kew
I regularly run it in single-process mode for debug. Having said that, I'm no better placed than you to answer the OP, as I don't know docker and don't follow the OP's motivation here. -- Nick Kew - To unsu

Re: [users@httpd] Proxy and mod_deflate (httpd 2.4.x)

2015-08-18 Thread Nick Kew
ght tell you all. -- Nick Kew - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] mod_cache issue if client send "If-Modified-Since" header.

2015-07-14 Thread Nick Kew
to the backend, when it could and should substitute its own? Or am I misreading you? Your report is rather long and detailed to review in email on this list. Is there anything about this in Bugzilla? If not, you could perhaps consider submitting a report.

  1   2   3   4   5   6   7   8   9   10   >