Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112497
interpreted = N
texte = 75 Using these instructions I was able to get the fcgi up and running = pretty quickly. Also, I was able to do this without disabling SIP, by = installing mod_fastcgi.so in /usr/local instead of /usr/libexec/apache2. = My first attempt was with El Capitan and the latest Server.app. But = Server.app convoluted the configs so much that I decided to uninstall it = rather than waste hours dinking around in Apple's config quagmire. My = personal, anecdotal advice: if you need a web server that you can be in = total control of, along with basic services like ssh and ftp, Server.app = is the last thing you want to mess with. If you're looking to set up a = server for some of Apple's enterprise services, backup, push = notifications, caching, etc., then Server.app is for you. But it simply = makes any kind of web hosting other than simple, plain vanilla directory = vhosts an order of magnitude more difficult. If you really need a GUI = to assist you with your apache conf files, install webmin. It won't = write over your customizations like Server.app. Mike > On Oct 28, 2015, at 12:46 PM, christophe.billiottet@webdna.us wrote: >=20 > Original platform was a Yosemite with an active copy of WebDNA 8.1 = fastCGI > then i upgraded to El Capitan which resulted in a broken WebDNA >=20 > The solution has been to >=20 > 1.- disable the System Integrity Protection (SIP) > 2.- install mod_fastcgi for apache 2.4 in /usr/libexec/apache2/ > Give it the UID:GID as well as the permissions of the other modules = in the directory. > 3.- activate these three lines: (uncomment or add if not present) >=20 > LoadModule actions_module libexec/apache2/mod_actions.so > LoadModule rewrite_module libexec/apache2/mod_rewrite.so > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so >=20 > 4.- add the regular script in the httpd.conf, below the "module" = section. >=20 > #----------------------- > > FastCGIServer /Library/WebServer/Documents/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > Action webdna-fastcgi /WebDNA/WebDNA.fcgi=20 > AddHandler webdna-fastcgi .dna > >=20 > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > >=20 > > Deny from all = =20 > > #----------------------- >=20 >=20 > 5.- Save and restart apache > apachectl stop > apachectl start >=20 >=20 >=20 > No change in the WebDNA directory that contains the fastCGI itself as = well as all the configuration files. >=20 > - chris >=20 >=20 >> On Oct 28, 2015, at 15:13, Steve Craig wrote: >>=20 >> Do you know if you upgraded an existing working machine and then did = this would it start working again or would it need a re-install of = WebDNA? >>=20 >> Cheers > --------------------------------------------------------- > 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 --------------------------------------------------------- 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:

    
  1. Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI (christophe.billiottet@webdna.us 2015)
  2. Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI (Steve Craig 2015)
  3. Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI (Steve Craig 2015)
  4. Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI (Michael Davis 2015)
  5. Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI (christophe.billiottet@webdna.us 2015)
  6. Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI (christophe.billiottet@webdna.us 2015)
  7. Re: [WebDNA] El Capitan with WebDNA 8.1 fastCGI (Steve Craig 2015)
  8. [WebDNA] El Capitan with WebDNA 8.1 fastCGI (christophe.billiottet@webdna.us 2015)
75 Using these instructions I was able to get the fcgi up and running = pretty quickly. Also, I was able to do this without disabling SIP, by = installing mod_fastcgi.so in /usr/local instead of /usr/libexec/apache2. = My first attempt was with El Capitan and the latest Server.app. But = Server.app convoluted the configs so much that I decided to uninstall it = rather than waste hours dinking around in Apple's config quagmire. My = personal, anecdotal advice: if you need a web server that you can be in = total control of, along with basic services like ssh and ftp, Server.app = is the last thing you want to mess with. If you're looking to set up a = server for some of Apple's enterprise services, backup, push = notifications, caching, etc., then Server.app is for you. But it simply = makes any kind of web hosting other than simple, plain vanilla directory = vhosts an order of magnitude more difficult. If you really need a GUI = to assist you with your apache conf files, install webmin. It won't = write over your customizations like Server.app. Mike > On Oct 28, 2015, at 12:46 PM, christophe.billiottet@webdna.us wrote: >=20 > Original platform was a Yosemite with an active copy of WebDNA 8.1 = fastCGI > then i upgraded to El Capitan which resulted in a broken WebDNA >=20 > The solution has been to >=20 > 1.- disable the System Integrity Protection (SIP) > 2.- install mod_fastcgi for apache 2.4 in /usr/libexec/apache2/ > Give it the UID:GID as well as the permissions of the other modules = in the directory. > 3.- activate these three lines: (uncomment or add if not present) >=20 > LoadModule actions_module libexec/apache2/mod_actions.so > LoadModule rewrite_module libexec/apache2/mod_rewrite.so > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so >=20 > 4.- add the regular script in the httpd.conf, below the "module" = section. >=20 > #----------------------- > > FastCGIServer /Library/WebServer/Documents/WebDNA/WebDNA.fcgi = -idle-timeout 60 -processes 1 > Action webdna-fastcgi /WebDNA/WebDNA.fcgi=20 > AddHandler webdna-fastcgi .dna > >=20 > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > >=20 > > Deny from all = =20 > > #----------------------- >=20 >=20 > 5.- Save and restart apache > apachectl stop > apachectl start >=20 >=20 >=20 > No change in the WebDNA directory that contains the fastCGI itself as = well as all the configuration files. >=20 > - chris >=20 >=20 >> On Oct 28, 2015, at 15:13, Steve Craig wrote: >>=20 >> Do you know if you upgraded an existing working machine and then did = this would it start working again or would it need a re-install of = WebDNA? >>=20 >> Cheers > --------------------------------------------------------- > 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 --------------------------------------------------------- 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 . Michael Davis

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:

Adding Message to Order (1997) [WebDNA] [sendmail] attachment on unix (2014) Sendmail truncation in Eudora Clients (1998) Multiple prices (1997) External Images (1998) All orders are failing (2002) [Replace] really replaces? (2000) [shipCost] math formula? (1997) New Site Announcement (1998) unable to launch acgi in WebCat (1997) Generating Report Totals (1997) WC1.6 to WC2 date formatting (1997) Running 2 two WebCatalog.acgi's (1996) Are you an WC expert? (1997) International Orders (1998) WebDNAmonitor running but webcat won't start. (2002) Weird Code (2003) what run level should S90WebCatalog be at? (2003) new cart IDs being assigned somehow (1997) SSI *nix 4.5 build (2002)