Re: EUPHORIA CGI + Apache
- Posted by Mario Steele <eumario at tuscanchat.com> Jun 29, 2004
- 488 views
cklester wrote: >When you use Linux/FreeBSD, you have to make sure that the "user" that >runs Apache will have permission to the EUPHORIA directory. > >I also notice on Windows that I don't have this problem. On my FreeBSD >box, I do have to be explicit about stuff. > >For my Linux web host, I put exu and all the needed includes in the >same folder as where the scripts are... :/ > > The reason for this, is cause sometimes Apache doesn't allow access to certian Enviroment Variables, in order to prevent hacking. If you want a Enviroment Variable to work, you'll have to set it up in the httpd.conf file. This applies to both Windows, and Linux. The easiest way to do this is put these lines in your httpd.conf SETENV EUINC="C:\euinc" SETENV EUPHORIA="C:\euphoria" -- OR for linux -- SETENV EUINC="/home/eumario/euinc" SETENV EUPHORIA="/home/eumario/euphoria" That should solve your problems with it not finding the Include files properly. But be sure to have loadmodule "env.so" or whatever it may be on which ever system. It should be in the default httpd.conf file, and may be commented out. L8ers Mario