[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [CGILua] Fixing htdocs path?
- From: Aaron Jon Reichow <reichowa@...>
- Date: Wed, 28 Mar 2001 13:03:52 -0600 (CST)
Hola everyone,
[my apologies if it's bad to be sending CGILua question to the main Lua
list- both my subscribe request and my message to the CGILua list bounced]
I've successfully installed CGILua in my person account on the university
webserver, in my personal cgi-bin.
I know it's (more or less) working because
<http://www.d.umn.edu/~reic0024/cgi-bin/cgilua.cgi> returns the proper
error message about no Lua script being specified.
However, when I try
<http://www.d.umn.edu/~reic0024/cgi-bin/cgilua.cgi/test.lua>, with
test.lua in the same directory, that is in my www/cgi-bin/ directory, I
get the following error:
Unable to stat file /usr/local/httpd/htdocs/test.lua
Of course, that's to be expected; test.lua isn't in that directory.
My question is: how do I change the root htdocs directory within Lua so it
searches in the correct place? I've grep'd the cgilua.conf/
and luang/ directories with no sign of this being configurable. I thought
that perhaps, I needed to recompile, but no source was available on the
CGILua site.
I must say, Lua looks to be quite a nice little language, kind of reminds
me of NewtonScript (which is a good thing, of course). :)
Thanks in advance!
Aaron
Aaron Reichow :: "In essence, Smalltalk is a programming
Twin Ports ACM Vice President :: language focused on human beings rather
http://www.d.umn.edu/~reic0024/ :: than the computer." - Alan Knight