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.PalleOn 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.PalleOn 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:
Smart caching problems with 2.1b3? (1997)
ShowNext & Showif together (1999)
Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997)
can I get formvariables for an include? (1999)
Extended [ConvertChars] (1997)
select multiple (1997)
[WebDNA] Quick Grep question (2009)
Replacefounditems (2003)
WebDNA 6.0 & MAC OS X Server 10.4.10 (2007)
[protect] on NT? (1997)
Make sure I understand this??? (1997)
[showif] based on data from [tcpconnect][tcpsend]? (2000)
Hiding HTML and page breaks (1997)
One more time (1997)
Separate SSL Server (1997)
Frames and WebCat (1997)
Foreign Chars ( יאצה and so on) (1998)
Grepping spaces (2004)
Re[2]: HELP: OS X Problem... (2000)
I'm new (2001)