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 accesshttp://www.qt.dk/WebDNA/Admin/AdminPrefs.dnathis 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 lineLoadModule rewrite_module libexec/apache2/mod_rewrite.sobest regards,- chrisOn 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 accesshttp://www.qt.dk/WebDNA/Admin/AdminPrefs.dnathis 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 lineLoadModule rewrite_module libexec/apache2/mod_rewrite.sobest regards,- chrisOn 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:
To Do list (2003)
Change to 5.0 per website licensing (2003)
SMSI: Forged email addresses on the talk list ... (2002)
Limiting user access to .tmpl files (1997)
Great product and great job ! (1997)
Showif, Hideif reverse logic ? (1997)
stumped (2001)
Will there be a PPC Linux version? (2000)
[SearchString] problem with [search] context (1997)
two unique banners on one page (1997)
Kaaaaahhhhhhhnnnnnnn! (1997)
weird text problem (2001)
Dates (1996)
emailer w/F2 (1997)
Lookup Notfound (1998)
NT or Mac (1998)
Multiple Newcarts (1996)
international time (1997)
Cookie Problems (2000)
WebCat2: Items xx to xx shown, etc. (1997)