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:

oops private message leaked into talk list (1997) Sort Order on a page search (1997) Plugin or CGI or both (1997) Help! WebCat2 bug (1997) X etc.... (1999) RE: E-mailer error codes (1997) How do I access a shopping cart once it had been moved intothe Completed Orders folder? (2000) Date Time Oddness (1999) [SHOWIF] (1997) [OT] Web Site Mapping Software (2000) Speed Optimization - Mac (1997) WebMerchant/MacAuthorize (1998) Include a big block of text (1997) unique ID (1997) Getting total number of items ordered (1997) Updating fields from different platforms (1998) RE: Webcatalog and CyberSTUD (1998) Webcatalog, Webstar and Crasharama (1999) OLD PROBLEM (1997) WebCatalog Hosting (1998)