1. Using SetEnv in htaccess

This doesn't seem to be working for me. If I use

SetEnv EUDIR c:/euphoria/bin
SetEnv EUINC c:/euphoria/include

then it should use EUINC to get the standard Euphoria include files,
but I'm getting file.e not found, and the path doesn't include
c:/euphoria/include.

Anybody have any clue or have this working?

new topic     » topic index » view message » categorize

2. Re: Using SetEnv in htaccess

c.k.lester wrote:
> 
> This doesn't seem to be working for me. If I use
> 
> SetEnv EUDIR c:/euphoria/bin
> SetEnv EUINC c:/euphoria/include
> 
> then it should use EUINC to get the standard Euphoria include files,
> but I'm getting file.e not found, and the path doesn't include
> c:/euphoria/include.
> 
> Anybody have any clue or have this working?


Normally, EUDIR would be simply c:/euphoria, but since you appear to have 
EUINC set to the standard include directory, it seems like it should be
found.  What paths does it claim to have searched?

The key routine is scanner.e:path_open() (which you previously modified--
maybe you broke it :).

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Using SetEnv in htaccess

Matt Lewis wrote:
> c.k.lester wrote:
> > This doesn't seem to be working for me.
> > SetEnv EUDIR c:/euphoria/bin
> > SetEnv EUINC c:/euphoria/include
> > Anybody have any clue or have this working?
> Normally, EUDIR would be simply c:/euphoria, but since you appear to have 
> EUINC set to the standard include directory, it seems like it should be
> found.  What paths does it claim to have searched?

Well, now I'm confused as it seems to be working.

Actually, I think I was getting a different error message than one I thought
I was getting. Oops. :)

> The key routine is scanner.e:path_open() (which you previously modified--
> maybe you broke it :).

NEVER!!! I too thoroughly debug before releasing code or comments.

HAHAHAHA!!!!! That's a good one. :D

new topic     » goto parent     » topic index » view message » categorize

4. Re: Using SetEnv in htaccess

c.k.lester wrote:
> Matt Lewis wrote:
> > c.k.lester wrote:
> > > This doesn't seem to be working for me.
> > > SetEnv EUDIR c:/euphoria/bin
> > > SetEnv EUINC c:/euphoria/include
> > > Anybody have any clue or have this working?
> > Normally, EUDIR would be simply c:/euphoria, but since you appear to have 
> > EUINC set to the standard include directory, it seems like it should be
> > found.  What paths does it claim to have searched?
> Well, now I'm confused as it seems to be working.

BTW, I did change it to 

  SetEnv EUDIR c:/euphoria

new topic     » goto parent     » topic index » view message » categorize

5. Re: Using SetEnv in htaccess

c.k.lester wrote:
> 
> This doesn't seem to be working for me. If I use
> 
> SetEnv EUDIR c:/euphoria/bin
> SetEnv EUINC c:/euphoria/include
> 
> then it should use EUINC to get the standard Euphoria include files,
> but I'm getting file.e not found, and the path doesn't include
> c:/euphoria/include.

On which system are you trying to do this?

-- 
Craig
Euphoria friendly webhosting: http://www.wazu.jp/hosting/euphoria.html

new topic     » goto parent     » topic index » view message » categorize

6. Re: Using SetEnv in htaccess

Craig Welch wrote:
> c.k.lester wrote:
> > This doesn't seem to be working for me. If I use
> > SetEnv EUDIR c:/euphoria/bin
> > SetEnv EUINC c:/euphoria/include
> > then it should use EUINC to get the standard Euphoria include files,
> > but I'm getting file.e not found, and the path doesn't include
> > c:/euphoria/include.
> On which system are you trying to do this?

Win32+Apache. I hope it works on Linux/FreeBSD! :)

new topic     » goto parent     » topic index » view message » categorize

7. Re: Using SetEnv in htaccess

c.k.lester wrote:
> 
> Craig Welch wrote:

> > c.k.lester wrote:

> > > This doesn't seem to be working for me. If I use
> > > SetEnv EUDIR c:/euphoria/bin
> > > SetEnv EUINC c:/euphoria/include
> > > then it should use EUINC to get the standard Euphoria include files,
> > > but I'm getting file.e not found, and the path doesn't include
> > > c:/euphoria/include.
> > On which system are you trying to do this?
 
> Win32+Apache. I hope it works on Linux/FreeBSD! :)

I'm afraid you won't be able to do that in the Linux environment I've provided
for you.

We use suexec to help secure the CGI environment. The environment space is
cleaned out before executing any script.

-- 
Craig
Euphoria friendly webhosting: http://www.wazu.jp/hosting/euphoria.html

new topic     » goto parent     » topic index » view message » categorize

8. Re: Using SetEnv in htaccess

Craig Welch wrote:
> I'm afraid you won't be able to do that in the Linux environment I've provided
> for you.

What about modifying .bashrc?

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu