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 = 107190
interpreted = N
texte = Hi Chris, It is NOT commented and should work; that puzzles me too. Palle On 10/08/2011, at 13.54, christophe.billiottet@webdna.us wrote: > Hi Palle! >=20 > if i undertsand, the only remaining problem for your WebDNA 7.0 under = Lion installation is your admin password rejected when trying to access >=20 > http://www.qt.dk/WebDNA/Admin/AdminPrefs.dna >=20 > this behaviour is normally solved by the lines >=20 >> >> RewriteEngine on >> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] >> >=20 >=20 > 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 >=20 > LoadModule rewrite_module libexec/apache2/mod_rewrite.so >=20 > best regards, >=20 > - chris >=20 >=20 >=20 > On Aug 10, 2011, at 8:39, Palle Bo Nielsen wrote: >=20 >> 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 >=20 > --------------------------------------------------------- > 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 Associated Messages, from the most recent to the oldest:

    
Hi Chris, It is NOT commented and should work; that puzzles me too. Palle On 10/08/2011, at 13.54, christophe.billiottet@webdna.us wrote: > Hi Palle! >=20 > if i undertsand, the only remaining problem for your WebDNA 7.0 under = Lion installation is your admin password rejected when trying to access >=20 > http://www.qt.dk/WebDNA/Admin/AdminPrefs.dna >=20 > this behaviour is normally solved by the lines >=20 >> >> RewriteEngine on >> RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] >> >=20 >=20 > 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 >=20 > LoadModule rewrite_module libexec/apache2/mod_rewrite.so >=20 > best regards, >=20 > - chris >=20 >=20 >=20 > On Aug 10, 2011, at 8:39, Palle Bo Nielsen wrote: >=20 >> 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 >=20 > --------------------------------------------------------- > 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 Palle Bo Nielsen

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:

RE: Error: template (1997) Re:Merging databases (1997) Problems adding stuff to the shopping cart. (1997) Re:2nd WebCatalog2 Feature Request (1996) Summing fields (1997) Calendar (1997) Need help with emailer- 2 issues (1997) I've been thinking (2002) carriage returns in data (1997) virtual virtual hosted store.... (1998) PCS Frames (1997) Field name-subcategory (1997) International Orders (1998) Date sorting (1997) replace problem (1999) Unique SKU Numbers (2000) tcpconnect timeout with Authorizenet (2003) WebCat2b13MacPlugIn - syntax to convert date (1997) setting taxable to true (1997) Error, 101 a DNS problem ? (1997)