Re: [WebDNA] Dynamic JSON Problem

This WebDNA talk-list message is from

2020


It keeps the original formatting.
numero = 115148
interpreted = N
texte = 2777 --Apple-Mail=_DAD264F3-C23C-418D-8231-021776D97E6F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I am using Ubuntu 16.04 & Apache2.x A number of vhosts on the server running WebDNA fcgi. This is my /etc/apache2/sites-available/myserver.net.conf DocumentRoot /var/www/html/myserver_root ServerName myserver.net Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All allow from all AuthBasicProvider file AuthType Basic AddHandler fcgid-script .dna AddHandler fcgid-script .html AddHandler fcgid-script .json FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .dna FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .html FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .json DefaultMaxClassProcessCount 1 DirectoryIndex index.dna index.html ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ RewriteEngine on RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 24 Jul 2020, at 03:29, talk@webdna.us wrote: >=20 > Stuart, >=20 > FCGI version. >=20 > Mike >=20 >> On Jul 22, 2020, at 2:50 PM, talk@webdna.us = wrote: >>=20 >> Server or fcgi version ? >>=20 >> Regards >> Stuart Tremain >>=20 >>=20 >>> On 23 Jul 2020, at 6:49 am, talk@webdna.us = wrote: >>>=20 >>> =EF=BB=BF >>> Hi all, >>>=20 >>> I would like to parse .json extensions with WebDNA. I configured = Apache like this: >>>=20 >>> AddHandler fcgid-script .dna .tpl .json >>>=20 >>> I=E2=80=99ve tried this on two servers running two versions of = WebDNA with the same result: >>>=20 >>> Internal Server Error >>>=20 >>> What else needs to be edited/configured? >>>=20 >>>=20 >>>=20 >>> Mike >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us = ------------------------------------------------= --------- This message is sent to you because you are subscribed to the = mailing list talk@webdna.us To unsubscribe, = E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_DAD264F3-C23C-418D-8231-021776D97E6F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = am using Ubuntu 16.04 & Apache2.x

A number of vhosts on the server = running WebDNA fcgi.

This is my /etc/apache2/sites-available/myserver.net.conf


DocumentRoot /var/www/html/myserver_root
ServerName myserver.net
<Directory = /var/www/html/myserver_root>
Options Indexes = FollowSymLinks MultiViews ExecCGI
AllowOverride = All
allow from all
AuthBasicProvider file
AuthType = Basic
</Directory>
AddHandler fcgid-script .dna
AddHandler = fcgid-script .html
AddHandler fcgid-script = ..json
FcgidWrapper = /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .dna
FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi = ..html
FcgidWrapper = /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .json
DefaultMaxClassProcessCount 1
DirectoryIndex index.dna index.html
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - = [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>






Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 24 Jul 2020, at 03:29, talk@webdna.us wrote:

Stuart,

FCGI version.

Mike

On Jul = 22, 2020, at 2:50 PM, talk@webdna.us wrote:

Server or fcgi version ?

Regards
Stuart = Tremain


On 23 Jul 2020, at 6:49 am, talk@webdna.us wrote:

=EF=BB=BF
Hi all,

I would like to parse = ..json extensions with WebDNA.  I configured Apache like = this:

AddHandler fcgid-script .dna .tpl = ..json

I=E2=80=99ve tried = this on two servers running two versions of WebDNA with the same = result:

Internal Server = Error

What else needs to be = edited/configured?



Mike
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_DAD264F3-C23C-418D-8231-021776D97E6F-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Dynamic JSON Problem (Stuart Tremain 2020)
  2. Re: [WebDNA] Dynamic JSON Problem (Michael Davis 2020)
  3. Re: [WebDNA] Dynamic JSON Problem (Stuart Tremain 2020)
  4. [WebDNA] Dynamic JSON Problem (Michael Davis 2020)
2777 --Apple-Mail=_DAD264F3-C23C-418D-8231-021776D97E6F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I am using Ubuntu 16.04 & Apache2.x A number of vhosts on the server running WebDNA fcgi. This is my /etc/apache2/sites-available/myserver.net.conf DocumentRoot /var/www/html/myserver_root ServerName myserver.net Options Indexes FollowSymLinks MultiViews ExecCGI AllowOverride All allow from all AuthBasicProvider file AuthType Basic AddHandler fcgid-script .dna AddHandler fcgid-script .html AddHandler fcgid-script .json FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .dna FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .html FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .json DefaultMaxClassProcessCount 1 DirectoryIndex index.dna index.html ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ RewriteEngine on RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 24 Jul 2020, at 03:29, talk@webdna.us wrote: >=20 > Stuart, >=20 > FCGI version. >=20 > Mike >=20 >> On Jul 22, 2020, at 2:50 PM, talk@webdna.us = wrote: >>=20 >> Server or fcgi version ? >>=20 >> Regards >> Stuart Tremain >>=20 >>=20 >>> On 23 Jul 2020, at 6:49 am, talk@webdna.us = wrote: >>>=20 >>> =EF=BB=BF >>> Hi all, >>>=20 >>> I would like to parse .json extensions with WebDNA. I configured = Apache like this: >>>=20 >>> AddHandler fcgid-script .dna .tpl .json >>>=20 >>> I=E2=80=99ve tried this on two servers running two versions of = WebDNA with the same result: >>>=20 >>> Internal Server Error >>>=20 >>> What else needs to be edited/configured? >>>=20 >>>=20 >>>=20 >>> Mike >>> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us = ------------------------------------------------= --------- This message is sent to you because you are subscribed to the = mailing list talk@webdna.us To unsubscribe, = E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_DAD264F3-C23C-418D-8231-021776D97E6F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I = am using Ubuntu 16.04 & Apache2.x

A number of vhosts on the server = running WebDNA fcgi.

This is my /etc/apache2/sites-available/myserver.net.conf


DocumentRoot /var/www/html/myserver_root
ServerName myserver.net
<Directory = /var/www/html/myserver_root>
Options Indexes = FollowSymLinks MultiViews ExecCGI
AllowOverride = All
allow from all
AuthBasicProvider file
AuthType = Basic
</Directory>
AddHandler fcgid-script .dna
AddHandler = fcgid-script .html
AddHandler fcgid-script = ..json
FcgidWrapper = /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .dna
FcgidWrapper /var/www/html/myserver_root/WebDNA/WebDNA.fcgi = ..html
FcgidWrapper = /var/www/html/myserver_root/WebDNA/WebDNA.fcgi .json
DefaultMaxClassProcessCount 1
DirectoryIndex index.dna index.html
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - = [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>






Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 24 Jul 2020, at 03:29, talk@webdna.us wrote:

Stuart,

FCGI version.

Mike

On Jul = 22, 2020, at 2:50 PM, talk@webdna.us wrote:

Server or fcgi version ?

Regards
Stuart = Tremain


On 23 Jul 2020, at 6:49 am, talk@webdna.us wrote:

=EF=BB=BF
Hi all,

I would like to parse = ..json extensions with WebDNA.  I configured Apache like = this:

AddHandler fcgid-script .dna .tpl = ..json

I=E2=80=99ve tried = this on two servers running two versions of WebDNA with the same = result:

Internal Server = Error

What else needs to be = edited/configured?



Mike
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_DAD264F3-C23C-418D-8231-021776D97E6F-- . Stuart Tremain

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:

COST? WebCatalog Training Class July 23-24 in San Diego (2001) Looping Search (2006) attn: smitmicro - cart limitation (2002) pc (1997) Separate SSL Server (1997) [WebDNA] server admin newbie: what does webdna need owner to be to allow writing? (2010) WebDNA and Amazon S3 (2006) For you expert WebDNA coders (was Interesting speed (2003) carriage returns in data (1997) Problems setting MIME Headers (1998) [WebDNA] WebDNA future (2010) Only charge card when product shipped ? (1997) WebDNA Examples (Was Suggestions) (1998) from outside to inside store direct frame template link? (2000) Problem displaying search result (1997) Affiliate program code (2004) Locking up with WebCatalog... (1997) purchase plugin (1996) ShowIF Question (2000) WebMerchant and MacAuthorize Errors (1998)