similar to: Another String Manipulation Exercise

Displaying 20 results from an estimated 5000 matches similar to: "Another String Manipulation Exercise"

2006 Aug 18
3
Lighttpd Conf Help - Multiple Domains Multiple Apps
Hi Guys, I hope someone can help me out. I am trying to configure two applications to run on lighttpd and each app will have its own domain. My machine is running on Fedora. When I run my lighttpd with the following conf file, I get no error but when I check out my app, it dishes out a 404 error- the 404 being served isn''t the 404 inside the railsapp/public folder. Do hope someone
2006 Mar 12
4
Apache not running Fcgid
I''m having the same problems as this fellow, Mr. Cheetham, in getting my rails app up and running on apache2+fcgid. Webrick runs, but dispatch.fcgi never actually runs, and apache spits out a grusome "Premature end of script headers: dispatch.cgi" error message in the log. Mr. Cheetham describes his problem at http://www.archivesat.com/Typo_blogging_engine/thread164398.htm I
2011 Aug 10
1
setting the screen background with gconftool-2
I centos 5 I can run this command: su myuser -c "/usr/bin/gconftool-2 -t string --set /desktop/gnome/background/picture_filename /usr/share/backgrounds/images/mypic.png" and this works fine. under centos 6 it does not appear to be working... I can run the similiar --get command and it tells me its set to what I asked for. However the screen is not showing mypic.png I can use
2006 Mar 24
1
Sweaving in png
Hello list, despite I already posted a mail on this topic on R help, I guess this place may be more appropriate. I'll make it shorter this time. Sorry for posting twice. I found that using pixmap pictures in a Sweave document was sometimes almost impossible, due to the huge size of the pdf pictures produced. The first solution I found was to save pictures in png, when too heavy in pdf.
2006 May 30
1
Url encoding Help Pls!
Hi guys, it''s me again, I want to come up with the following url: www.mysite.com/webpage?myid=1 I keep coming up with the following url: www.mysite.com/webpage%3Fmyid%3D1 require ''uri'' $myurl = URI.escape("webpage?myid=") redirect_to(:action => $myurl + 1 ) what am I doing wrong? I also tried require ''cgi'' $myurl =
2006 Mar 22
8
Premature end of script headers: dispatch.cgi
Hi I am running ruby 1.8.4 and rails 1.0.0 with Apache 2. I made a simple rails application called demo and also created a controller called say and an action called hello which is working fine using webrick. To run it under Apache I created a symlink demo1 which is linked to the demo/public directory. If I run it using www.example.com/demo1 then I get the "Rails- Welcome Aboard"
2006 Apr 12
13
Public Directory not accessible
Been trying to deploy my rails app on Redhat ES3, Apache2, FastCGI with Plesk all day. Fun stuff. Basically, the issue that I can not solve has to do with access to /public. None of my images, javascripts, etc. are working in the app. Trying to access any of these results in a 404 (or routing error if in developer mode). Oddly, the 404 file it displays is -- you guessed it -- in fact *in*
2009 Jan 01
1
gem_original_require no such file to load -- /var/www/vhosts/gophotoswap.com/httpdocs/current/config/environment ( LoadError )
** Daemonized, any open files are closed. Look at /var/www/vhosts/ gophotoswap.com/httpdocs/shared/pids/mongrel.8000.pid and /var/www/ vhosts/gophotoswap.com/httpdocs/shared/log/mongrel.8000.log for info. ** Starting Mongrel listening at 127.0.0.1:8000 ** Initiating groups for "mongrel":"mongrel". ** Changing group to "mongrel". ** Changing user to
2014 Oct 28
3
find troubles
Hey guys, Sorry not sure what's wrong with this statement. I've tried a few variations of trying to exclude the /var/www directory. [root at 224432-24 apr-1.5.1]# find / -name "*httpd*" -type d \( ! -name www \) /usr/lib/httpd /usr/lib64/httpd /var/www/vhosts/johnnyenglish/httpdocs /var/www/lpaddevbkp/alchemist/namespace/system-config-httpd /var/www/lpaddevbkp/httpd The
2006 Jul 27
2
rsync help
Hi, I am using rsync to backup from my server to a backup server that has been setup. I can back up a directory with numerous files and folders and restore them but I have not learned how to "exclude" a specific folder from the rsync backup that runs via cron nightly. I have tried these: rsync -av -cache/ -e ssh /home/httpd/vhosts/domain.com/httpdocs/ name at
2005 May 26
1
No response from Apache 2 / fcgi / rails...
Hello! I''m struggling here with getting Typo running on a Red Hat server under Apache 2 / fcgi... Every time I try to load the public home page, I get this in my error log: [Thu May 26 00:20:52 2005] [error] [client 24.22.74.233] FastCGI: comm with (dynamic) server "/home/httpd/vhosts/brigleb.com/httpdocs/ public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec)
2006 Feb 22
1
Urgent help needed
Hi, I''m on Apache 2.0.54, Linux Fedora Core 2 with Plesk. I installed a Rails application previously on the box using SCGI and it works fine; even now. I''m trying to get a second app online and it fails. Same config, except for the SCGI runner ports of course. It looks like the error comes from the fact that the mod_rewrite loops. WHY ??? BTW : I have to put this app
2016 Apr 29
4
Trying to build ices-0.4 on ubuntu and "libshout not usable"
Hello: I hope someone can take a look at this and give me a little push to get me past this logjam. I've been running icecast + ices-0.4 + a perl application developed internally which runs an mp3 stream for a number of years. I am migrating my server from CentOS to ubuntu so I can upgrade to Perl 5.18 (so as to get clean unicode processing for another application.) I have installed
2006 Jul 14
4
Rails Lighttpd Issue on Fedora
Hi guys, I''m here again with a problem. I have a rails app called brewed. It''s located /home/user/brewed. My lighttpd.conf is located at /home/user/lighty. When I execute lighty on port 80 with: /usr/local/sbin/lighttpd -f /home/user/lighty/lighttpd.conf rails seems to work fine. If I type www.mysite.com/main/index on my browser, the page comes out well. I have my files
2003 Feb 25
2
Difference in behaviour with --backup
When I do rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/dir3 machine:/dir1/dir2/dir3 I get /dir1/dir2/Backup/dir3/... /Backup/dir3/dir4/... i.e. the tree under 'dir3' (my source tree) gets created under .../Backup. This is fine. But when I do the same thing with a single file like rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/file
2008 Jul 31
2
How to output R image to a file?
Hello, I would like to ask if anyone could help me. I want to save images I create (e.g. histograms, boxplots, plots, etc.) to a file or files. Does anyone know how to do this? Thank you. Aiste [[alternative HTML version deleted]]
2006 Jul 18
2
Scaffold a Plural table w/ No Pluralization in environment
Hi guys, I have a situation here. I have my project set to no pluralization due to legacy tables in environment.rb. Now, I have some new tables which I''m starting to pluralize. When I do a generate a scaffold to this new table: script/generate scaffold my_tables table it seems to work out fine for certain sections like http://mysite.com/railsapp/new (which also inserts properly to
2006 Apr 10
15
Apache/FastCGI still in development mode?
I''m running rails on RedHat ES3 managed by Plesk with Apache/FastCGI. I''ve followed the directions here: http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnPlesk And got everything working, but my application refuses to run in Production mode. It runs in development mode despite the fact that I''ve set: FastCgiServer
2012 Feb 18
1
Gluster NFS and symlink
Hi list, Is there a configuration for gluster to have symlinks working with gluster nfs exports? When I try to create a symlink on a glusterfs nfs mount I get: ln: creating symbolic link `test' to `httpdocs': Unknown error 526 From nfs.log: [2012-02-18 01:27:27.541155] E [client3_1-fops.c:173:client3_1_symlink_cbk] 0-dcm-gluster-backup1-client-0: remote operation failed: Operation not
2006 Mar 22
0
Sweave in png
Hello list, Here is a problem I had. I write this to the list in case the solution I found would be useful to anyone else. I had to Sweave document including pixmap pictures, which are very heavy when converted into pdf pictures. In practice, this eventually led to very heavy pdf, sometimes impossible to read. So the first solution I found was to save pictures in png, when too heavy in pdf :