Displaying 20 results from an estimated 300 matches similar to: "help! problem with mongrel, request.remote_ip and lighttpd"
2007 Nov 23
2
Unable to read anything from request.remote_ip
For some users, request.remote_ip always return nil. According to the
RAILS''s help:
REMOTE_ADDR is the standard but will fail if the user is behind a proxy.
HTTP_CLIENT_IP and/or HTTP_X_FORWARDED_FOR are set by proxies so check
for these before falling back to REMOTE_ADDR. HTTP_X_FORWARDED_FOR may
be a comma- delimited list in the case of multiple chained proxies; the
first is the
2002 Aug 26
5
updating n within for(i in 1:n) loop
Hi folks:
I think I'm having problems with figuring this one out:
test1 <- function()
{
n <- 2
for(i in 1:n)
{
cat(paste("i =", i, "\n")); flush.console()
n <- 5 # version 1
#n <<- 5 # version 2
#assign("n", 5, envir = environment(test1)) # version 3
}
}
I need the for(.) loop to run (say) n=5 times within the
2008 Sep 20
3
without passwd
Hi, I have two Fedora box and rsync running on both systems. One system ip
is 192.168.1.110 and the other is 192.168.1.71. I run manually for the
following commands in both systems. my problem is whenever run it asking
the user passwd and i cannot run the same automatically using crontab. My
question is how to avoid the passwd option...
rsync -aPrv rsync://192.168.1.110/detailing/
2004 Oct 16
3
Problem Compiling R-2.0.0 on Linux Alpha
Hi folks:
I'm trying to compile R-2.0.0 on my Alpha (164SX;
alphapca56-unknown-linux-gnu) running RedHat Linux 7.2 with gcc3.4.1.
Here is where the compile terminates:
....
....
building package 'tcltk'
mkdir -p -- ../../../library/tcltk/R
mkdir -p -- ../../../library/tcltk/demo
mkdir -p -- ../../../library/tcltk/exec
mkdir -p -- ../../../library/tcltk/man
make[4]: Entering directory
2004 Oct 16
3
Problem Compiling R-2.0.0 on Linux Alpha
Hi folks:
I'm trying to compile R-2.0.0 on my Alpha (164SX;
alphapca56-unknown-linux-gnu) running RedHat Linux 7.2 with gcc3.4.1.
Here is where the compile terminates:
....
....
building package 'tcltk'
mkdir -p -- ../../../library/tcltk/R
mkdir -p -- ../../../library/tcltk/demo
mkdir -p -- ../../../library/tcltk/exec
mkdir -p -- ../../../library/tcltk/man
make[4]: Entering directory
2008 Oct 02
1
Unable to Login to Dovecot.
I am unable to login to dovecot . I have edited dovecot.conf as per the Basic
Configuration.txt in the wiki.I am using Suse 10.2 on I586 and OS is ?Linux
2.6.18.2-34-default i686.
Any help will be appreciated.
Lisiting of Dovecot.conf
Saisuse:~ # dovecot -n
# 1.1.3: /usr/local/etc/dovecot.conf
log_path: /var/log/dovecot.log
info_log_path: /var/log/info.dovecot
disable_plaintext_auth: no
2001 Nov 28
2
shell()/system() question
Hi folks:
How do I get shell() or system() to run external programs in a particular
directory (different from the current R working directory)?
> version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 3.0
year 2001
month 06
2002 Mar 05
3
reading 2-byte integers using readBin and connections
Hi folks:
This may be a stupid question, but I cannot seem to find a way to tell
readBin that I want to read 2-byte integers from the connection. The input
file is 150,720 bytes long containing 75,360 short (2-byte) integers. But
specifying "integer" or "int" for what in readBin only returns me a vector
of length 37680, leading me to believe that sizeof(integer) or
2008 Feb 12
4
Reg Disk space in guest domain with fedora img
Hi
I had installed Xen-3.0.4 in Scientific linux 4 (kernel version 2.6.16.33)
by following the instructions given in following link
project-xen.web.cern.ch/project-xen/xen/howto_slcXen.html
I ve created the guest Domain with fedora image of size 2.2GB , disk space
as 10GB and the domain started successfully . when i logged into the xm
console and checked the disk space its showing only 2.2GB ..
2010 Jul 19
1
How to create a guest os from existing disk image file with virt-install
Hi
I have configured KVM with Fedora Core 13 by enabling the KVM virtualization
option while installing OS.
I have successfully created the guest OS by using the virt-install API
/usr/sbin/virt-install --name centos5 --ram 512 --disk
path=/var/lib/libvirt/images/
centos.img,size=5 --network network:default --accelerate --vnc -c
/tmp/CentOS-5.3-i386-bin-DVD.iso
Os installed successfully and after
2003 Jan 29
1
dyn.load warning message in R1.6.2 on Windows XP
Hi folks:
I used to load a DLL fine up until R 1.5.1. The same DLL dyn.loaded under R
1.6.2 prints the following warning message:
> dyn.load("C:/Rajiv/Bin/rpdate.dll")
Warning message:
DLL attempted to change FPU control word from 8001f to 9001f
>
Any indication as to what the warning means, and whether I should be
concerned about it? The DLL is made from a pure C code,
2008 Jul 28
0
Re: remote_ip always returns 127.0.0.1 (apache)
On Mon, Jul 28, 2008 at 3:09 PM, Luca Scaljery
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:
> I have my webrick server behind apache (all on the same server). The
> problem I have now is that request.remote_ip always returns 127.0.0.1.
> So it gets this IP from apache (I guess). How do I get the true client
> IP address
request.env[
2009 Aug 21
2
Requesting a remote ip in plugin
Im creating plugin for limiting the ip, i have included the plugin
name in my controller
Controller:
class AdminController < ApplicationController
acts_as_ratelimit
def login
session[:user_id] = nil
if request.post?
user = User.authenticate(params[:name], params[:password])
if user
session[:user_id] = user.id
redirect_to(:controller=>"products", :action =>
2004 Oct 17
2
Re: [R] Problem Compiling R-2.0.0 on Linux Alpha
Thanks, Peter, and Prof. Ripley.
My efforts last night was mostly futile except that it told me about the
embedded newline in Built field.
Prof. Ripley: how do I get your fixes? Can I just download
R-2.0.0-patched?
Rajiv
--------
Rajiv Prasad
Scientist, Hydrology Group
Pacific Northwest National Laboratory, P.O. Box 999, MSIN K9-33
Richland, WA 99352
Voice: (509) 375-2096 Fax: (509) 372-6089
2004 Mar 24
1
Libtheora building under windows ??
Just trrying to build the latest libtheora under windows.
There is a VS6 project file (.dsp)... however when i try to open it and
convert to VS2002 format (.vcproj) it tells me file is corrupted... Was this
file manually created ?
Has anyone else tried this with success ??
Thanks !
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage:
2002 May 01
3
upgrading to 1.5.0/uninstalling 1.4.1 on Linux
Hi folks:
I have a feeling this must be a FAQ, but I did not find the answer in R
Installation and Administration manual. Please point me to the right place
to look for answer to this question if it's already answered.
I am running 1.4.1 on an Alpha PCA56 (aka 164SX) running Redhat Linux 7.1
(kernel 2.4.19-pre4). I built 1.4.1 from sources and it is installed in
/usr/local (the
2003 Dec 09
3
Multilanguage support
http://www.voip-info.org/tiki-index.php?page=Asterisk+multi-language
By trial and error and a lot of ancient nordic magic (reading the source) I found out
that Asterisk does not look for language-specific sound files with the -cc extension,
cc being country code.
Asterisk looks for files first in a "cc" subdirectory, like "se/vm-login.gsm", then
in the default directory.
2008 Sep 17
1
backup file to win98 system
Hi...rsync working fine for my fedora 5 box to fedora 9 box. Now i want to
take back of my folder /home/rajiv to a windows 98 box...Shared a folder in
win98 system for full access but do not know how to take backup...tried with
the following but got error message
[root@myserver ~]# rsync -aPrv /data/stock/ //192.168.1.75/dir
sending incremental file list
rsync: mkdir
2006 Jun 28
8
How to obtain clients IP adress
Is it possible to obtain clients adress in ruby on rails?
by
TheR
--
Posted via http://www.ruby-forum.com/.
2010 Apr 20
2
log-linear regression question
I am trying to estimate a demand function:
Y=K * X1^b1 * X2^b2 * X3 ^(-1-b1)
in log form:
ln Y = ln K + b1 ln X1 + b2 ln X2 + (-1-b1) ln X3
As the regression coefficients are related for 2 of the regressors, I am not
sure of the appropriate methodology or function in R to handle this. Any
hints?
thx,
Tarun
[[alternative HTML version deleted]]