|
|
| Author |
Message |
< Erlang ~ httpd proplist_file and cgi |
| dmontagnese |
Posted: Wed Jul 22, 2009 3:50 am |
|
|
|
Joined: 22 Jul 2009
Posts: 2
|
The following are the contents of a proplist_file used to run an erlang stand_alone httpd server:
[
{ server_name, "erlangWebServer" },
{ port, 2000 },
{ server_root,
"/home/dan/src/erlang/webServer" },
{ document_root,
"/home/dan/src/erlang/webServer/www" },
{ error_log, "webServer.log" },
{ script_alias, { "/cgi-bin/", "/home/dan/src/erlang/webServer/cgi-bin/" } },
{ script_nocache, true },
{ alias, { "/image/", "/home/dan/src/erlang/webServer/image/" } },
{ directory_index, [ "index.html" ] },
{ erl_script_alias, { "/firstEsi", [ firstEsi ] } },
{ modules,
[
mod_alias,
mod_cgi,
mod_dir,
mod_esi,
mod_get,
mod_head,
mod_log,
mod_disk_log
] }
].
Although, images in the aliased "image" directory are accessed, a perl script in the script_alias does not seem to run. It is executable and prints a line of plain text to stdout. Is there some configuration item that is missing?
After I understand how to get cgi working, I may have more clues about how to get esi working. |
|
|
| Back to top |
|
| baryluk |
Posted: Tue Aug 18, 2009 9:57 am |
|
|
|
User
Joined: 05 Aug 2009
Posts: 48
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|