1. Using SetEnv in htaccess
- Posted by c.k.lester <euphoric at ck?este?.com>
Nov 29, 2007
-
Last edited Nov 30, 2007
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?
2. Re: Using SetEnv in htaccess
- Posted by Matt Lewis <matthewwalkerlewis at gmail??om>
Nov 29, 2007
-
Last edited Nov 30, 2007
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
3. Re: Using SetEnv in htaccess
- Posted by c.k.lester <euphoric at cklest?r.co?>
Nov 29, 2007
-
Last edited Nov 30, 2007
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
4. Re: Using SetEnv in htaccess
- Posted by c.k.lester <euphoric at ck??ster.com>
Nov 29, 2007
-
Last edited Nov 30, 2007
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
5. Re: Using SetEnv in htaccess
- Posted by Craig Welch <euphoriah at cwelch?o?g>
Nov 29, 2007
-
Last edited Nov 30, 2007
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
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! :)
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
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?