Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  Minor bugfix for PHP CGI support

Guest
Posted: Sun Nov 19, 2006 5:52 pm Reply with quote
Guest
Hi, all...

For my PHP application to work, I needed to add an environment variable
for the DOCUMENT_ROOT. I just added the following line to yaws_cgi.erl:

{"REQUEST_URI", RequestURI},
%%% FIXME: Our PHP scripts need this line.
{"DOCUMENT_ROOT", Arg#arg.docroot},
{"PATH_INFO", checkdef(Pathinfo)},

Could this be included in the next release, please?

Thanks,

--
Michael FIG <fig@marketelsystems.com>, PMP
MarkeTel Multi-Line Dialing Systems, Ltd.
Phone: (306) 359-6893 ext. 528

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist
Guest
Posted: Sun Nov 19, 2006 10:13 pm Reply with quote
Guest
Michael FIG wrote:
> Hi, all...
>
> For my PHP application to work, I needed to add an environment variable
> for the DOCUMENT_ROOT. I just added the following line to yaws_cgi.erl:
>
> {"REQUEST_URI", RequestURI},
> %%% FIXME: Our PHP scripts need this line.
> {"DOCUMENT_ROOT", Arg#arg.docroot},
> {"PATH_INFO", checkdef(Pathinfo)},
>
> Could this be included in the next release, please?
>
> Thanks,
>

done

thanks,

/klacke

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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 can attach files in this forum
You can download files in this forum