Re: My New Website
- Posted by Andy Serpa <ac at onehorseshy.com> Nov 08, 2004
- 431 views
Greg Haberek wrote: > > Just a tip to those of you [Kat] who don't think Euphoria works with > Apache, or as CGI in general: > > I figured out why my website wasn't working. I'm used to using Apache > 2.x, which is what I test my site on locally. The server I use has > Apache 1.x. I guess my scripts (.exu files) must be chmod'ed to 755 > and i had them as 775 which caused them to fail (on Apache 1.x only). > So I reset everything to 755 and all is good and working. I use gFTP > which allows me to chmod directly through FTP. > > However, my images may not look right if JavaScript is not enabled. > I use Eu cgi on a number of websites now. I'm actually replacing all my old PHP code with Euphoria code -- works fine. This wouldn't be appropriate for everyone, however -- I would use PHP still if I was using MySQL, for instance. I'm actually now running EDS as a local server (local to the web server). Then the Eu script that generates the pages can connect to the Eu EDS server and lookup db stuff, etc. This way only the one program ever needs to access the actual EDS db files and there are no conflicts and it can synchonize the requests. It also stays running all the time so db access is fast. I also have wrappers to the RPMs for libcurl and pcre (regex) that I rely heavily on. For a really heavy-duty database-driven (EDS probably wouldn't be appropriate if the db was really big) I probably wouldn't use Euphoria, but it works great for most things, and I can get things done so much faster because I am so comfortable with Eu...