Rupert,No, not thanks. Than=ks very much!!!Frank.Frank,Ok, two files to check: httpd.=conf (Apache2 file) and webdna.ini (WebDNA file)bo=th need to be accessed via root# userFIRST FILE: y=ou need to make sure the lines listed below are in the httpd.conf file= between first and last #----------------------
=div>httpd.conf (Apache2)which is found in thi=s directory: /private/etc/apache2/httpd.conf<=div>#-----------------------<IfModule mod_fastcgi.c><=div>FastCGIServer /Library/WebServer/Documents/WebDNA/WebDNA.fcgi -idle-time=out 60 -processes 1Action webdna-fastcgi /WebDNA/WebDNA.fcgi =;AddHandler webdna-fastcgi .dna .tpl .html</IfModul=e><IfModule mod_rewrite.c>Rewr=iteEngine onRewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Autho=rization},L]</IfModule><FilesM=atch ".*\.(db|inc|conf|ini)$">Deny from all  =; &nbs=p; &nb=sp;</Fi=lesMatch>#-----------------------Also make sure this line below in httpd.conf has no # sign in front: LoadModule fastcgi_module libexec/apache2/mod_fastcgi.s=o (correct)#LoadModule fastcgi_module libexec/apache2/mod_f=astcgi.so (not correct)SECOND FILE: webdna.=ini (WebDNA)found: MacintoshHD/Library/Webserver/D=ocuments/WebDNA/webdna.inicheck line to read:ValidTemplateExtensions.dna .tpl .html
=and again make sure that ALL your files which have webdna code&nb=sp;whether .dna, .tpl .db, or .html have their owner permis=sions set to this:UID: GID=_www:_wwwso when you check your directory serving W=ebDNA files it should look like this:sh=-3.2# ls -ltotal 48-rw-r--r-- 1 _www _www &=nbsp; 38 Nov 3 20:05 test.tpl-rw-rw---- 1 _www =_www 48 Nov 4 11:02 test232.db-rw-rw---- 1 _ww=w _www 212 Nov 4 11:05 test444.tpl-rw-rw-r--@ 1= _www _www 602 Nov 7 20:48 write-file-creator.dna-rw-r--r--@ 1 _www _www 492 Nov 4 11:05 writefiletest.tp=l
Thank you Rupert. Good instructi=ons.My directory structure is a tiny bit different as it is Macint=oshHD/Library/Webserver/WebDNA/But it should work anyway. But it does not. Darn.. Do you know which file= the extension data .DNA .tpl is saved in so I can check that file itself?=div>Thanks for your help!Frank=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Nov 10, 2011, at 6:24 AM, Nices L=ists wrote:Frank,I had the same p=roblem.As Chris says, it's a permission issu=e.MacintoshHD/Library/Webserver/WebDNA/=root# chown -R _www:_www /WebDNA/an=d also the directory where WebDNA files are served from=MacintoshHD/Library/Webserver/WebDNA-Coded-Files/<=div>root# chown -R _www:_www /WebDNA-Coded-files/a=fter this, worked like a charm for me.hope that he=lps.=--Rupert<=font class=3D"Apple-style-span" size=3D"6">=On Nov 10, 2011, at 7:27 AM, christophe.billiottet@webdna.us wrot=e:If it reverts back, it is because WebDNA has not been able to write the d=atabase to disk. It is just a small permission problem for your files in /We=bDNA.
- chris
On Nov 10, 2011, at 10:20, C. Frank Wolf=e wrote:Chris,Still getting:
=Error: template security preferences do not allow remote access to fil=es with that extensionI'm curious why I can add the .tpl extension= in the preferences area, and have it work, and then revert back on a restar=t. Odd.frank
<=/blockquote>On Nov 10, 2011, at 12:29 AM, C. Frank Wolfe wrote:And I'm all for helping WebDNA. I have about 20 w=ebsites I didn't want to change all extensions just yet.=blockquote>Thanks <=br>F. =On Nov 10, 2011, at 12:21 AM, christophe.billiottet@webdna.us wrote:Using ..dna from now on will help WebDNA.-----------------------------------------------------=---- This message is sent to you because you are subscribed tothe= mailing list <talk@webdna.us>.<=br>To unsubscribe, E-mail to: <=talk-leave@webdna.us>archives: http://mail.webdna.us/list/talk@webdna.usBug R=eporting: support@webdna.us------=---------------------------------------------------This message is sent to you because you are subscribed to<=br> the mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us>archives: http://mail=.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
---------------------------------------------------------=
This message is sent to you because you are subscribed to
the mailing= list <talk@webdna.us>.
To un=subscribe, E-mail to: <talk-leave=@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
Rupert,No, not thanks. Than=ks very much!!!Frank.Frank,Ok, two files to check: httpd.=conf (Apache2 file) and webdna.ini (WebDNA file)bo=th need to be accessed via root# userFIRST FILE: y=ou need to make sure the lines listed below are in the httpd.conf file= between first and last #----------------------
=div>httpd.conf (Apache2)which is found in thi=s directory: /private/etc/apache2/httpd.conf<=div>#-----------------------<IfModule mod_fastcgi.c><=div>FastCGIServer /Library/WebServer/Documents/WebDNA/WebDNA.fcgi -idle-time=out 60 -processes 1Action webdna-fastcgi /WebDNA/WebDNA.fcgi =;AddHandler webdna-fastcgi .dna .tpl .html</IfModul=e><IfModule mod_rewrite.c>Rewr=iteEngine onRewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Autho=rization},L]</IfModule><FilesM=atch ".*\.(db|inc|conf|ini)$">Deny from all  =; &nbs=p; &nb=sp;</Fi=lesMatch>#-----------------------Also make sure this line below in httpd.conf has no # sign in front: LoadModule fastcgi_module libexec/apache2/mod_fastcgi.s=o (correct)#LoadModule fastcgi_module libexec/apache2/mod_f=astcgi.so (not correct)SECOND FILE: webdna.=ini (WebDNA)found: MacintoshHD/Library/Webserver/D=ocuments/WebDNA/webdna.inicheck line to read:ValidTemplateExtensions.dna .tpl .html
=and again make sure that ALL your files which have webdna code&nb=sp;whether .dna, .tpl .db, or .html have their owner permis=sions set to this:UID: GID=_www:_wwwso when you check your directory serving W=ebDNA files it should look like this:sh=-3.2# ls -ltotal 48-rw-r--r-- 1 _www _www &=nbsp; 38 Nov 3 20:05 test.tpl-rw-rw---- 1 _www =_www 48 Nov 4 11:02 test232.db-rw-rw---- 1 _ww=w _www 212 Nov 4 11:05 test444.tpl-rw-rw-r--@ 1= _www _www 602 Nov 7 20:48 write-file-creator.dna-rw-r--r--@ 1 _www _www 492 Nov 4 11:05 writefiletest.tp=l
Thank you Rupert. Good instructi=ons.My directory structure is a tiny bit different as it is Macint=oshHD/Library/Webserver/WebDNA/But it should work anyway. But it does not. Darn.. Do you know which file= the extension data .DNA .tpl is saved in so I can check that file itself?=div>Thanks for your help!Frank=---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Nov 10, 2011, at 6:24 AM, Nices L=ists wrote:Frank,I had the same p=roblem.As Chris says, it's a permission issu=e.MacintoshHD/Library/Webserver/WebDNA/=root# chown -R _www:_www /WebDNA/an=d also the directory where WebDNA files are served from=MacintoshHD/Library/Webserver/WebDNA-Coded-Files/<=div>root# chown -R _www:_www /WebDNA-Coded-files/a=fter this, worked like a charm for me.hope that he=lps.=--Rupert<=font class=3D"Apple-style-span" size=3D"6">=On Nov 10, 2011, at 7:27 AM, christophe.billiottet@webdna.us wrot=e:If it reverts back, it is because WebDNA has not been able to write the d=atabase to disk. It is just a small permission problem for your files in /We=bDNA.
- chris
On Nov 10, 2011, at 10:20, C. Frank Wolf=e wrote:Chris,Still getting:
=Error: template security preferences do not allow remote access to fil=es with that extensionI'm curious why I can add the .tpl extension= in the preferences area, and have it work, and then revert back on a restar=t. Odd.frank
<=/blockquote>On Nov 10, 2011, at 12:29 AM, C. Frank Wolfe wrote:And I'm all for helping WebDNA. I have about 20 w=ebsites I didn't want to change all extensions just yet.=blockquote>Thanks <=br>F. =On Nov 10, 2011, at 12:21 AM, christophe.billiottet@webdna.us wrote:Using ..dna from now on will help WebDNA.-----------------------------------------------------=---- This message is sent to you because you are subscribed tothe= mailing list <talk@webdna.us>.<=br>To unsubscribe, E-mail to: <=talk-leave@webdna.us>archives: http://mail.webdna.us/list/talk@webdna.usBug R=eporting: support@webdna.us------=---------------------------------------------------This message is sent to you because you are subscribed to<=br> the mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us>archives: http://mail=.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
---------------------------------------------------------=
This message is sent to you because you are subscribed to
the mailing= list <talk@webdna.us>.
To un=subscribe, E-mail to: <talk-leave=@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
DOWNLOAD WEBDNA NOW!
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...