-
zwoop changed the public information on the Yahoo Search API for Python project.
2009-02-05 16:21:27 UTC in Yahoo Search API for Python
-
zwoop changed the public information on the Yahoo Search API for Python project.
2009-02-05 05:06:11 UTC in Yahoo Search API for Python
-
zwoop committed patchset 108 of module pysearch to the Yahoo Search API for Python CVS repository, changing 1 files.
2008-10-31 17:21:31 UTC in Yahoo Search API for Python
-
zwoop committed revision 116 to the Yahoo Search API for Python SVN repository, changing 1 files.
2008-10-31 17:21:31 UTC in Yahoo Search API for Python
-
I hacked up my Drupal quickly with a
if ($_SERVER['HTTP_X_REMOTE_ADDR']) {
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_REMOTE_ADDR'];
}
So I'm personally good for now, but yeah, this might be good to at least document for others to know. Also, I don't know which is preferable to use, X-Remote-Addr or X-Forwarded-For. Right now, I'm actually using X-Remote-Addr for both Drupal and...
2008-09-20 16:22:07 UTC in SourceForge.net
-
Fwiw, this breaks certain Drupal features that assumes that the src IP is the client IP. Since it's always 127.0.0.1 (or so it seems at least), ACLs or counters (limit posts / IP etc.) do not work as intended.
2008-09-20 16:00:26 UTC in SourceForge.net
-
Yeah, I don't know if there's anything you can do, now that I look at my internal request log (I'm using Drupal), all requests comes from 127.0.0.1. I'm not a huge Apache expert, so I don't know if there are any modules that would let you take the X-Forwarded-For header (from Nginx) and replace the src IP in the Apache internals with the remote IP.
It certainly would be useful to do this...
2008-09-20 15:54:26 UTC in SourceForge.net
-
So, to answer my own question, I guess, doing something like this makes it work:
SetEnvIf X-Forwarded-For 4.2.3.1 is_trusted_ip
And then
Allow from env=is_trusted_ip
I assume this means that you are indeed doing a reverse proxy in front of the Apache farms. Any chance that you can hack your apache to use the X-Forwarded-For IP from Nginx instead of the src IP from the...
2008-09-20 15:26:33 UTC in SourceForge.net
-
I'm trying to protect a particular URL, with a rule like this in my .htaccess:
Order Deny,Allow
Deny from all
Allow from 4.3.2.1
(IP and file obviously fictitious). This doesn't seem to work, all request always gets denied from anywhere. Is this possible due to the fact that the request is proxied via Nginx (which I think is your setup)?
If...
2008-09-20 15:21:49 UTC in SourceForge.net
-
I finally figured this out, it was a missing PHP file that only got "called" under certain (rare) conditions. So, problem solved :). However, are there any docs on how to get error messages out of the PHP engine? This clearly must have generated an error I think.
2008-09-19 17:54:18 UTC in SourceForge.net