Re: [BULK] Re: [WebDNA] [BULK] Mac OS X LION has no FastCGI

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 107189
interpreted = N
texte = Hi Palle! if i undertsand, the only remaining problem for your WebDNA 7.0 under = Lion installation is your admin password rejected when trying to access http://www.qt.dk/WebDNA/Admin/AdminPrefs.dna this behaviour is normally solved by the lines > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > and my guess is the mod_rewrite module is still commented. Have a look = at your httpd.conf and check you have uncommented the line LoadModule rewrite_module libexec/apache2/mod_rewrite.so best regards, - chris On Aug 10, 2011, at 8:39, Palle Bo Nielsen wrote: > Hi Christophe, WebDNA et al, >=20 > A couple of weeks has passed since this dialogue went into a temp = pause. Out of curiosity; is there any news from WebDNA corp. on this = issue? >=20 > I am still trying to get a Mac OS X (this time not a Mac OS X Server = version) rolling, without any full success. >=20 > What I have done is the following >=20 > Installed >=20 > Installed WebDNA 7 inckl. a news .fcgi from Chris which corrected a = redirect-to-white-page-bug. >=20 > Included the following in the Apache httpd.conf file. >=20 > #----------------------- > > FastCGIServer /Library/WebServer/Documents/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > Action webdna-fastcgi /WebDNA/WebDNA.fcgi=20 > AddHandler webdna-fastcgi .dna .tpl .html > >=20 > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > >=20 > > Deny from all = =20 > > #----------------------- >=20 > When trying I get a dumb listing. But when I try = then WebDNA tags are getting parsed. >=20 > Well, when I try to enter the config area, = the access prompt does not allow for the admin/admin credentials; it = just keeps asking. >=20 > Thats some of my experience. Some might help others. And maybe again, = it might inspire some to get me the right hint ;-) >=20 > Have a great day... >=20 > Note, this is not a production environment. The is a sandbox to learn. = And remember; it's a Lion installation. >=20 > Palle >=20 >=20 >=20 >=20 >=20 >=20 > On 26/07/2011, at 21.36, Donovan Brooke wrote: >=20 >> christophe.billiottet@webdna.us wrote: >>> Here a temporary solution to install the FastCGI module in Lion >>>=20 >>>=20 >>> curl -O -L = http://opensource.apple.com/source/FastCGI/FastCGI-4/fcgi-2.4.0.tar.gz >>> tar xzf fcgi-2.4.0.tar.gz >>> cd fcgi-2.4.0/ >>> cp Makefile.AP2 Makefile >>>=20 >>> CFLAGS=3D"-I/usr/include -I/usr/local/include -O2 -pipe $ARCH" ; \ >>> CPPFLAGS=3D"-I/usr/include -I/usr/local/include" ; \ >>> LDFLAGS=3D"-L/usr/lib -L/usr/local/lib" ; \ >>> DYLD_LIBRARY_PATH=3D"/usr/lib:/usr/local/lib" ; \ >>> ./configure --prefix=3D/usr/ >>>=20 >>> make >>> sudo make install >>>=20 >>> - chris >>=20 >>=20 >>=20 >> If anybody is trying the solution above, I'll save some time for = you... the above won't work ;-). >>=20 >> Note: Chris is trying to help with the above, and the important thing = is that he is right in saying there are solutions out there for = installing fastCGI on Lion. >>=20 >> Disclaimer: I don't have time to do an exact README of what needs to = be done, but if you have no experience compiling software or if you = can't follow my comments below, I would not even try. ;-) >>=20 >> Disclaimer#2: Below is for mod_fastcgi (from fastcgi.com), which is = traditionally what MacOSX has deployed. My preference (perhaps) would = likely be for mod_fcgi rather, which is a part of the apache.org = foundation. If you are into building apps, it may be more interesting to = build a new apache with mod_fcgi that also includes mod_suexec for Lion, = as mod_suexec does not work right with mod_fastcgi... Anyway, below is = the "beginnings" of a two part process on getting mod_fastcgi set up on = Lion. >>=20 >> Experienced app builders suggested beyond this point! (of which I = barely qualify ;-) ) >>=20 >> You will need the Developer tools installed so you have access to = build tools such as G++ etc.. >>=20 >> Since the fastcgi.com source's config creates it's own MakeFile from = your system specs, you should probably build it on the server that it = will be installed to (so install your developer tools on your live = server). >>=20 >> First download the fastcgi components from fastcgi.com. (you can use = apples opensource resource, but you might as well get it from = fastcgi.com) >>=20 >> Next, unpack and follow the README on how to configure/make/install = using the terminal. This installs the fastcgi engine. >>=20 >> Then, download the mod_fastcgi.so file from fastcgi.com (under = FastCGI servers). Use the apache extensions tool (apxs) in your terminal = to build/install. >>=20 >> Restart apache, then configure WebDNA. >>=20 >>=20 >> Obviously these are shallow instructions, but I didn't want to leave = this thread as it was. If you dare to go down this road and find that = you have good luck, let us know how it goes. >>=20 >> Donovan >>=20 >>=20 >>=20 >>=20 >> --=20 >> Donovan Brooke >> Euca Design Center >> [Practical-Ethical-Efficient] >> www.euca.us >> egg.bz >> artglass-forum.com >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 Associated Messages, from the most recent to the oldest:

    
Hi Palle! if i undertsand, the only remaining problem for your WebDNA 7.0 under = Lion installation is your admin password rejected when trying to access http://www.qt.dk/WebDNA/Admin/AdminPrefs.dna this behaviour is normally solved by the lines > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > and my guess is the mod_rewrite module is still commented. Have a look = at your httpd.conf and check you have uncommented the line LoadModule rewrite_module libexec/apache2/mod_rewrite.so best regards, - chris On Aug 10, 2011, at 8:39, Palle Bo Nielsen wrote: > Hi Christophe, WebDNA et al, >=20 > A couple of weeks has passed since this dialogue went into a temp = pause. Out of curiosity; is there any news from WebDNA corp. on this = issue? >=20 > I am still trying to get a Mac OS X (this time not a Mac OS X Server = version) rolling, without any full success. >=20 > What I have done is the following >=20 > Installed >=20 > Installed WebDNA 7 inckl. a news .fcgi from Chris which corrected a = redirect-to-white-page-bug. >=20 > Included the following in the Apache httpd.conf file. >=20 > #----------------------- > > FastCGIServer /Library/WebServer/Documents/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > Action webdna-fastcgi /WebDNA/WebDNA.fcgi=20 > AddHandler webdna-fastcgi .dna .tpl .html > >=20 > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > >=20 > > Deny from all = =20 > > #----------------------- >=20 > When trying I get a dumb listing. But when I try = then WebDNA tags are getting parsed. >=20 > Well, when I try to enter the config area, = the access prompt does not allow for the admin/admin credentials; it = just keeps asking. >=20 > Thats some of my experience. Some might help others. And maybe again, = it might inspire some to get me the right hint ;-) >=20 > Have a great day... >=20 > Note, this is not a production environment. The is a sandbox to learn. = And remember; it's a Lion installation. >=20 > Palle >=20 >=20 >=20 >=20 >=20 >=20 > On 26/07/2011, at 21.36, Donovan Brooke wrote: >=20 >> christophe.billiottet@webdna.us wrote: >>> Here a temporary solution to install the FastCGI module in Lion >>>=20 >>>=20 >>> curl -O -L = http://opensource.apple.com/source/FastCGI/FastCGI-4/fcgi-2.4.0.tar.gz >>> tar xzf fcgi-2.4.0.tar.gz >>> cd fcgi-2.4.0/ >>> cp Makefile.AP2 Makefile >>>=20 >>> CFLAGS=3D"-I/usr/include -I/usr/local/include -O2 -pipe $ARCH" ; \ >>> CPPFLAGS=3D"-I/usr/include -I/usr/local/include" ; \ >>> LDFLAGS=3D"-L/usr/lib -L/usr/local/lib" ; \ >>> DYLD_LIBRARY_PATH=3D"/usr/lib:/usr/local/lib" ; \ >>> ./configure --prefix=3D/usr/ >>>=20 >>> make >>> sudo make install >>>=20 >>> - chris >>=20 >>=20 >>=20 >> If anybody is trying the solution above, I'll save some time for = you... the above won't work ;-). >>=20 >> Note: Chris is trying to help with the above, and the important thing = is that he is right in saying there are solutions out there for = installing fastCGI on Lion. >>=20 >> Disclaimer: I don't have time to do an exact README of what needs to = be done, but if you have no experience compiling software or if you = can't follow my comments below, I would not even try. ;-) >>=20 >> Disclaimer#2: Below is for mod_fastcgi (from fastcgi.com), which is = traditionally what MacOSX has deployed. My preference (perhaps) would = likely be for mod_fcgi rather, which is a part of the apache.org = foundation. If you are into building apps, it may be more interesting to = build a new apache with mod_fcgi that also includes mod_suexec for Lion, = as mod_suexec does not work right with mod_fastcgi... Anyway, below is = the "beginnings" of a two part process on getting mod_fastcgi set up on = Lion. >>=20 >> Experienced app builders suggested beyond this point! (of which I = barely qualify ;-) ) >>=20 >> You will need the Developer tools installed so you have access to = build tools such as G++ etc.. >>=20 >> Since the fastcgi.com source's config creates it's own MakeFile from = your system specs, you should probably build it on the server that it = will be installed to (so install your developer tools on your live = server). >>=20 >> First download the fastcgi components from fastcgi.com. (you can use = apples opensource resource, but you might as well get it from = fastcgi.com) >>=20 >> Next, unpack and follow the README on how to configure/make/install = using the terminal. This installs the fastcgi engine. >>=20 >> Then, download the mod_fastcgi.so file from fastcgi.com (under = FastCGI servers). Use the apache extensions tool (apxs) in your terminal = to build/install. >>=20 >> Restart apache, then configure WebDNA. >>=20 >>=20 >> Obviously these are shallow instructions, but I didn't want to leave = this thread as it was. If you dare to go down this road and find that = you have good luck, let us know how it goes. >>=20 >> Donovan >>=20 >>=20 >>=20 >>=20 >> --=20 >> Donovan Brooke >> Euca Design Center >> [Practical-Ethical-Efficient] >> www.euca.us >> egg.bz >> artglass-forum.com >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 christophe.billiottet@webdna.us

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Help name our technology! (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Rephrased: Web Site Stats (2002) Quickie question on the email templates (1997) Printing a final order (1997) email preferences on NT (1997) Re:no [search] with NT (1997) too many nested ... problem (1997) [WebDNA] Date/time server vs. browser (2015) Mail Service Dead (1998) please unsubscribe me! (2000) Problems getting parameters passed into email. (1997) PIXO Support (1997) syntax question, not in online refernce (1997) Re:Using WebMerchant Only? (1998) Post size Limit? (1998) Summing fields (1997) Error handling for accountNum (1997) eMail volume (2000) Resetting a Formvariable (2000)