Displaying 20 results from an estimated 3000 matches similar to: "how to set a simple application in Apache?"
2006 Feb 23
12
RoR site structure on Apache
I try a ''hello world'' demo here,you can see all my codes and structure
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know why.
I am not sure the site structure is ok or not.Please give me a help
Thanks
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
2
what is gem?
Ruby is a language and Rails is a framework.
but what is gem?I am new for RoR. I need your help.
Thanks
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 24
8
Ruby site structure on Apache
I use a hosting company,it use appache for RoR
I test a ''hello word'' code here
http://www.smtservers.com/demo/
I can see the working code here
http://www.smtservers.com/demo/public/say/hello
My question is how to short the url like
http://www.smtservers.com/demo/say/hello.I do not like public always in
URL
Thanks for help
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Jan 16
4
Question about self and private
Hi!
There''s something I don''t understand yet about static/private methods. I
hope someone can explain...
E.g.:
class SayHello
def hello(who)
puts "Hello, " + who + "!"
end
def self.say(words)
puts words
end
end
hello = SayHello.new
hello.hello "World" : Hello World!
hello.say "hi" : Error
SayHello.say
2011 Mar 24
2
Using C code in R
Hi,
I am new to R and I want to know how to use C code which contains two
functions one called inside another.I know that how to use C code in R if it
has only one function but dont know how to do it in above case. I want to
use the same in R .My C code is as follows.
//#include <R.h>
void sayHello();
void g();
void sayhello() {
Rprintf("Hello world %d\n",global);
}
void
2006 Feb 23
11
Need help for simple RoR code.
I try a ''hello world'' demo here,It only show a ''hello word'' on web page
you can see all my codes and structure here
http://www.smtservers.com/demo/
I want to access the ruby app like this
http://www.smtservers.com/demo/say/hello
but I get a 404 error.
Please let me know what problem the code have
I am new for RoR. I am not sure the site structure is ok or
2006 Feb 09
13
Howto work with a page not generated by the scaffold ?
I am a newbie Ruby and RoR user. In my tests using the turorials that
I found over the web, everthing is working fine and I am very impressed
about RoR framework.
As I am a Delphi developer, without any web development experience,
There is some thing hard to understando and I didn''t find a tutorial
about this.
I wonder how to create a non-scaffold page ? I have customers,
2011 May 04
1
Error Rscript: No such file or directory
Hello,
I'm trying to build a simple cpp file using the R CMD SHLIB command and I always
receive the same error message:
cygwin warning:
MS-DOS style path detected: C:/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf
Preferred POSIX equivalent is:
/cygdrive/c/PROGRA~1/R/R-212~1.1/etc/i386/Makeconf
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult
2006 Jun 27
0
Calling SOAP based Web Services over SSL
Ok, here we go.
1) I am trying to talk to a soap web service @ the url
https://rsvcstage.e2ma.net/emmaTestCalls
2) I can talk to the web service in plain ruby if I:
2.1) disable site ruby (by renaming the site_ruby directory to
something else)
2.2) use the WDSLDriverFactory instead of an actionwebservice
The working ruby code looks like this:
2006 Feb 23
3
Correct to use Apache with Rails?
Hi, I have looking for the best way to integrate Apache 1.3.x and RoR. BTW,
I have gone through several different articles and I''m not clear as to which
method is the correct method for a production level environment. Thus, if
someone could shed some light on this topic, it would be most appreciated.
Thanks in advance,
-Conrad
-------------- next part --------------
An HTML attachment
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
Hi All,
I have implemented a JNI library on window that call the C++ dll APIs.
Now I want my JAVA program is run on the UNIX system.
I have used WineLib to wrapper Window Dlls to the Share Object Lib (so lib) (Using Winedump and Winegcc to build).
The functions in the so lib can work normally with my C main test function.
BUT when I call it from Java. The function can linked BUT it is crashed at
2006 Feb 22
1
Ruby on Rail on apache
Hi,
I m successful in creating & executing ruby on rails program on
web-brick server.
But if i want to run on apache then what i have to do?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 27
2
RoR Blog application?
I am look for a open source RoR Blog application and to see how it work.
Do you know one of them.Thanks.
M
--
Posted via http://www.ruby-forum.com/.
2006 Feb 25
6
[OT-ish] Rails, Mongrel and apache
This is kind of off topic. I want to put my fancy rails app (myapp) as
a subdirectory on my os x server. so my osx server works fine right now
as www.mydomain.com. How do I tell apache (1.3 i think) to proxy web
requests for a subdirectory /myapp to localhost:3000 where I have
mongrel running (Jed, you rock)?
I googled, but I don''t know the right words to use, so I''m not
2008 Jun 06
0
[LLVMdev] translating Objective C to C
Hi,
I am thinking of integrating llvm's front end and intermediate
language with program analysis tools I am developing with my
colleagues (we look for memory errors and leaks, integrity of data
structures, etc. -- for details see http://spaceinvader-eastlondonmassive.blogspot.com/)
.
My initial baby experiment was simply translating C++ to C using llvm,
followed by analysis of the
2008 Dec 15
0
wine: could not load and Bad EXE format for
Hi All,
I have tried to write dll from window and try to implement a WineLib wrapper.
BUT after compile successful, I have run the function, it show me error as below:
wine: could not load L"Z:\\root\\huutri\\maintest.exe.so": Bad EXE format for
Can anybody can how to solve this problem?
Thank in advance
The below is some code:
Code:
1. windows HelloImpl.dll
__declspec(dllexport)
2005 Mar 04
2
Part 2 of ONLamp.com Rails article is online
ONLamp.com has finally published part 2 of my Rails article! You can find it
here:
http://www.onlamp.com/pub/a/onlamp/2005/03/03/rails.html
It would be really nice if we could get this slash dotted again before the
weekend.
>From what I understand, you''re more likely to get accepted when multiple
people submit something. So, to anyone who has the inclination: if you would
submit
2008 Feb 18
3
Calling a controller inside a module
I tryied everything:
:controller => ''MyModule::Core::Controller''
require ''MyModule/core/controller''
include MyModule::Core
But nothing works !!!
Question is very simple:
How to call a controller that belongs to a Module inside the router.rb file?
This cannot be that difficult!
Thanks!
-Sergio
-------------- next part --------------
An HTML attachment
2006 Feb 24
18
I need more bling!
Hello everyone,
I just showed a friend a prototype of a site offering a service I''m
trying to sell (sorry, not on the Internet yet - he saw it at my
house).
His comment: "Looks like it does everything, but also looks pretty
ugly. You''re not going to wow anybody with that". Sitting back and
thinking about it, he''s dead right - it needs some bling to make it
2006 May 08
4
Asterisk documentation..
Where can I get some asterisk books.. or tutorials..? I?ve been searching in
google.. but I find just some tutorials explaining how to fast set up an
asterisk server. I want to learn how to use it and how to make my own
configurations. So, the thing is that I want to know what is the best book
or tutorial that you know? recomendations? Thanks to everyone...
Danko Miocevic