similar to: File Upload and Security advice

Displaying 20 results from an estimated 9000 matches similar to: "File Upload and Security advice"

2009 Mar 18
1
lm function (PR#13608)
Full_Name: Michael Aaron Karsh Version: 2.8.0 OS: Windows XP Submission from: (NULL) (75.61.109.172) I tried using the lm function to regress the third column listed below on the second column listed below. It gave me an error message. My code is below. > HDISWLSdata=read.table("RHDISWLS.txt") > HDISWLSdata V1 V2 V3 1 DENMARK
2009 Apr 06
1
political maps world maps in R, wrld_simpl
dear all, I'm a newbie in map tools. I was asking to perform an apparently very simple task. I have a list of countries (about fifty all over in the world) scored with a real positive value. Eg Country score Italy .56 UK .58 Korea .41 Mexico .63 ... I wish to plot geographical maps where every country is filled with a color depending on his score. Using maptools library and
2005 Mar 05
1
How to provide Rails hosting on Apache/FastCGI enviroment?
Hi, folks. I am running a small Web Hosting service personally. I hope to provide rails service on apache/fcgi to my hosting users. So, I''ve been testing to setup rails application, and there was no problem. But with Rails version 0.10.0 release, previous way doesn''t work. Following is a scenario which worked well before, but now beats me. 1. Eric has his own rails directory
2009 Oct 14
1
Beginning R help?
Hi all, I'm currently working through the "Beginner's Guide to R" (Zurr et al.) and I'm wondering about the first exercise in chapter 3: I imported the data from BirdFluCases.txt and executed the 'names' and 'str' functions as follows: Bird = read.table(file='C:\\rbook\\BirdFluCases2.txt', header=TRUE) names(Bird) [1] "Year"
2009 Oct 14
1
R neophyte question.
Hi all, I'm currently working through the "Beginner's Guide to R" (Zurr et al.) and I'm wondering about the first exercise in chapter 3: I imported the data from BirdFluCases.txt and executed the 'names' and 'str' functions as follows: Bird = read.table(file='C:\\rbook\\BirdFluCases2.txt', header=TRUE) names(Bird) [1] "Year"
2007 Feb 18
1
FastCGI without ScriptAlias
Hi, I made some experiments with the sample blog application, my index.fcgi file contains the following: require ''camping/fastcgi'' Camping::Models::Base.establish_connection( :adapter => ''sqlite3'', :database => ''database/camping.db'' ) Camping::FastCGI.serve(''blog.rb'') Without ScriptAlias the application works fine,
2006 Jan 03
3
RoR and Apache2 and app in local directory
Hi all. I''m at my wits end.. I''m trying to set up a Rails app (on a Ubuntu system), within the public_html directory in my home directory (as opposed to the /var/www/ directory). ie. in /users/john/public_html/myapp I have a simple app setup, and using the Webrick server it works fine. But trying to get Apache to work is becoming a pain in the *&^*. I followed the
2006 Apr 10
3
File Upload Problems
following the instructions at http://wiki.rubyonrails.com/rails/pages/HowtoUploadFiles, I am able to upload to an explicit and existing directory (i.e. c:\ror\app\public\images\photo.jpg). However, when I try to upload to a folder that does not exist, say, c:\ror\app\public\image\newfolder\photo.jpg, I get the following error: Errno::ENOENT in Images#create No such file or directory -
2006 Jan 09
5
form with more than 1 file upload field saves 0 byte file for 1 file field
Im using the file_column plugin to upload files from my application. The problem I am encountering is that I have a form with 2 file upload fields and when I submnit that form with files selected, I would get a message from the browser(Firefox) saying that a script on the page is taking a long time to execute and whether I want to cancel it or continue. Whichever option I choose, only 1 file(PDF)
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my RoR app and I keep getting: The page you were looking for doesn''t exist. You may have mistyped the address or the page may have moved. I load the program to the cgi-bin directory in its own folder /cgi-bin/ fump/ In the /public folder of my app I have the following .htaccess file: # General Apache options
2006 Apr 12
5
File upload doesn''t work in production mode
Can anyone understand what the production.log file is telling me. I''ve tried playing with the permissions for the folders and it makes no difference. Every time I submit the form to upload the file I get "Application error (Rails)" which doesn''t really help. Processing DocsController#create (for 82.152.151.194 at 2006-04-12 12:44:13) [POST] Session ID:
2006 Apr 25
7
[TIPS] File_column plugin and multiple file uploads
No..i am not a full time rails developer...i code in pl/sql for paying my bills...and i am just working on a pet project...so i had some trouble in doing..what i specify in the subject.....now somehow i solved this problem...so those interested can look at the code at: http://hemant.wordpress.com/2006/04/25/file_column-and-how-the-fuck-it-handles-multiple-files/ I write this mail and
2006 Jan 02
0
PHP Integration
I have a 3rd party membership system (PHP based) that handles all of my subscription duties. The system can protect a directory in one of two ways either via .htaccess or a php include file. The following rules are generated for a protected directory''s .htaccess file: ########### START ##################### Options +FollowSymLinks RewriteEngine On ## allow access for product #5
2007 Feb 15
0
Routing Error after upgrade
My hosting company has upgraded to: ruby-1.8.5 rubygems-0.9.0 And I am now getting the following error on my ruby site: http://www.scottisharchitecture.com/en/public/ no route found to match ”/en/public/” with {:method=>:get} /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/routing.rb:1292:in `recognize_path’
2010 Dec 01
6
Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError
I just installed my RoR application on my ISP''s server. This is a Cpanel environment and it creates a .htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} ^xyz.com$ [OR] RewriteCond %{HTTP_HOST} ^www.xyz.com$ RewriteRule ^(.*)$ "http\:\/\/127\.0\.0\.1\:12001\/$1" [P,L] in a public_html directory. (I changed my domain name in the text above to xyz because we are
2008 Nov 22
0
Where is Hong Kong in maps?
It seems that there is no Hong Kong in maps' world cities. >world.cities[substr(world.cities$name,1,3)=="Hon",] name country.etc pop lat long capital 14623 Honami Japan 26040 33.61 130.68 0 14624 Honaz Turkey 8073 37.75 29.27 0 14625 Honda Colombia 28055 5.19 -74.75 0 14626
2008 Jan 05
7
Error! Ruby on Rails based on FastCGI, Hello world !
Hey, I try to do my first steps in Ruby, and designed an "Hello World!" Application. Now I want to install this Application on an Apache server. I copied it to the "/public_html/" Directory here: (the application is called "rubyapp") http://sn00p.profusehost.net/rubyapp/ I ran http://sn00p.profusehost.net/rubyapp/public/dispatch.fcgi and get an Error. So I looked
2006 Jan 07
2
hosting with Pair : Rails'' app dies after a few seconds
First of all thanks a lot to the guys who answered the other topic. Host: Pair Networks - FreeBSD v.4.8-Stable - peulik.pair.com PHP and MySQL services running (is this a problem?) First of all, after I establish the ssh connection I''ve to type, as I mentioned in the old thread, GEM_PATH ~/lib/ruby/gems/1.8 otherwise the ruby installation is not found. position of the executable:
2006 Mar 26
3
help with rails and apache
i just went through the tutorial on http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel but i''m having some problems. when i add: <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi </IfModule> under the line that says: LoadModule fastcgi_module libexec/mod_fastcgi.so apache fails to restart. i went on
2006 Jun 09
1
RewriteBase w/ Capistrano on a shared host
Hello, I''m on a shared hosting, and tried this as a test: [code] svn co {repo} to /home/{user}/{appname} ln -s {appname}/public/ public_html chmod -R 755 trunk [/code] With the .htaccess file''s RewriteBase directive set to / This setup works great, with no problems at all. Here''s my issue, I''m attempting to use Capistrano, which is setup by default to