pwd is '/' ???

2004-05-27 Thread Hall, Philippe
Ok I'll say up front that this is my first time setting up EmbPerl 2 and Apache 2, but I've used EmbPerl 1.3 for a few years now. Here's my issue, which I just discovered about an hour ago: I have an .epl, subs.epl, which renders fine. I have the following line of code that is dying:

changing file extension from epl to html

2004-05-27 Thread Ben Kim
I couldn't make dreamweaver mx recognize .epl files in its wysiwyg mode. If I rename it to .html, I get the table layout rendered. But with .epl, I can't. I downloaded/installed http://www.engenhosolucoes.com.br/arquivos/DW_Embperl.zip, and have done all the steps in this message, http://www.ecos

Re: pwd is '/' ???

2004-05-27 Thread Ed Grimm
On Thu, 27 May 2004, Hall, Philippe wrote: > Ok I'll say up front that this is my first time setting up EmbPerl 2 > and Apache 2, but I've used EmbPerl 1.3 for a few years now. Here's > my issue, which I just discovered about an hour ago: I haven't moved to EmbPerl 2 yet, but I've been keeping a

RE: pwd is '/' ???

2004-05-27 Thread Hall, Philippe
I saw something similar to this in the list archives -- something Gerald responded with to someone who was having a similar problem (or so it seems), back in 2002. He said use this: [- $req = shift -] [- $path = $req -> component -> cwd -] If I use this I would have to: open (FILEHAND

RE: pwd is '/' ???

2004-05-27 Thread Hall, Philippe
Ed, Thanks for the information -- the [+ +] issue is a minor annoyance, but I can understand the pure intentions behind it. When you say chdir was disabled, is it advised, then, to just use absolute paths for file I/O? And why does this chdir change not apply to the Execute() function

Re: pwd is '/' ???

2004-05-27 Thread Gavin Carr
On Thu, May 27, 2004 at 09:16:48PM +, Ed Grimm wrote: > On Thu, 27 May 2004, Hall, Philippe wrote: > > Another thing I notice (but presumably unrelated): I can't have more > > than one statement in a [+ +] block any more... is that right? I get > > a syntax error. > > That is correct. > > Ap

Re: pwd is '/' ???

2004-05-27 Thread Carlos Kassab
To get my actual path i am doing this: $myactualpath = substr($epreq -> param -> filename,0,length($epreq -> param -> filename)-9); I hope this helps CKG El Jue 27 May 2004 15:18, Hall, Philippe escribió: > Ok I'll say up front that this is my first time setting up EmbPerl 2 and > Apache 2, but

Re: pwd is '/' ???

2004-05-27 Thread Carlos Kassab
El Jue 27 May 2004 16:24, Hall, Philippe escribió: > I saw something similar to this in the list archives -- something Gerald > responded with to someone who was having a similar problem (or so it > seems), back in 2002. He said use this: > > [- $req = shift -] > [- $path = $req -> component -> cw

Re: pwd is '/' ???

2004-05-27 Thread Gerald Richter
Hall, Philippe wrote: > I saw something similar to this in the list archives -- something > Gerald responded with to someone who was having a similar problem (or > so it seems), back in 2002. He said use this: > > [- $req = shift -] > [- $path = $req -> component -> cwd -] > > If I use this I woul