=--Apple-Mail-8E405E4A-0B08-4490-908A-2BA6A62C14E5-- Associated Messages, from the most recent to the oldest:Frank,Ok,= two files to check: httpd.conf (Apache2 file) and webdna.ini (WebDNA file)<=/div>both need to be accessed via root# user<=br>FIRST FILE: you need to make sure the lines listed below= are in the httpd.conf file between first and last #------------------=----httpd.conf (Apache2)which is found in this directory: /private/etc/apache2/httpd.conf=#-----------------------<IfModu=le mod_fastcgi.c>FastCGIServer /Library/WebServer/Documents/We=bDNA/WebDNA.fcgi -idle-timeout 60 -processes 1Action webdna-fastc=gi /WebDNA/WebDNA.fcgiAddHandler webdna-fastcgi .dna .tpl .=html</IfModule><IfModule mod_r=ewrite.c>RewriteEngine onRewriteRule .* - [E=3DHTTP=_AUTHORIZATION:%{HTTP:Authorization},L]</IfModule> <FilesMatch ".*\.(db|inc|conf|ini)$">Deny from all  =; &nbs=p; &nb=sp;</FilesMatch>#-----------------------<=/div>Also make sure this line below in httpd.conf h=as no # sign in front:LoadModule fastcgi_module li=bexec/apache2/mod_fastcgi.so (correct)#LoadModule fastcgi_m=odule libexec/apache2/mod_fastcgi.so (not correct)SECOND FILE: webdna.ini (WebDNA)found: Maci=ntoshHD/Library/Webserver/Documents/WebDNA/webdna.inicheck line to read: ValidTemplateExtensions=.dna= .tpl .htmland again make sure that ALL your= files which have webdna codewhether .dna, .tpl .db, or .ht=ml have their owner permissions set to this:UID: GID_www:_wwwso when y=ou check your directory serving WebDNA files it should look like this:=sh-3.2# ls -ltotal 48-r=w-r--r-- 1 _www _www 38 Nov 3 20:05 test.tpl<=div>-rw-rw---- 1 _www _www 48 Nov 4 11:02 test232.d=b-rw-rw---- 1 _www _www 212 Nov 4 11:05 t=est444.tpl-rw-rw-r--@ 1 _www _www 602 Nov 7 20:=48 write-file-creator.dna-rw-r--r--@ 1 _www _www 492 N=ov 4 11:05 writefiletest.tplTry that.<=/div>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list--Rupert---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn N=ov 10, 2011, at 8:48 PM, C. Frank Wolfe wrote:Thank y=ou Rupert. Good instructions.My directory structure is a tiny bit= different as it is MacintoshHD/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?Thanks for your help!<=/div>Frank---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Nov= 10, 2011, at 6:24 AM, Nices Lists wrote:Frank,=I had the same problem.As Chr=is says, it's a permission issue.MacintoshHD/Libra=ry/Webserver/WebDNA/root# chown -R _www:_www /WebD=NA/and also the directory where WebDNA files are s=erved fromMacintoshHD/Library/Webserver/WebDNA-Cod=ed-Files/root# chown -R _www:_www /WebDNA-Coded-fi=les/after this, worked like a charm for me.<=div>hope that helps.--Rupert<=div>On Nov 10, 2=011, at 7:27 AM, christop=he.billiottet@webdna.us wrote:If it reverts back, it is because WebDNA h=as not been able to write the database to disk. It is just a small permissio=n problem for your files in /WebDNA.
- chris
On Nov 10=, 2011, at 10:20, C. Frank Wolfe wrote:Chr=is,Still getting:
=blockquote>Error: template security preferences do= not allow remote access to files with that extension I'm curious w=hy I can add the .tpl extension in the preferences area, and have it work, a=nd then revert back on a restart. Odd.frank=On Nov 10, 2011, at 12:29 AM, C. Frank W=olfe wrote: And I'm all for helping WebDN=A.I have about 20 websites I didn't want to change all extensions= just yet.Thanks F.<=blockquote type=3D"cite">On Nov 10, 2011, at= 12:21 AM, christophe.bil=liottet@webdna.us wrote:Using ..dna= from now on will help WebDNA. ---------------------=------------------------------------ This message is sent to you becaus=e you are subscribed tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us><=/blockquote>archives: http://mail.webdna.us/li=st/talk@webdna.usBug Reporting: support@webdna.us =--------------------------------------------------=-------This message is sent to yo=u because you are subscribed toth=e 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 a=re subscribed to
the mailing list <t=alk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@web=dna.us
Bug Reporting: support@we=bdna.us.To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us
|
=--Apple-Mail-8E405E4A-0B08-4490-908A-2BA6A62C14E5-- frank@cwolfe.comFrank,Ok,= two files to check: httpd.conf (Apache2 file) and webdna.ini (WebDNA file)<=/div>both need to be accessed via root# user<=br>FIRST FILE: you need to make sure the lines listed below= are in the httpd.conf file between first and last #------------------=----httpd.conf (Apache2)which is found in this directory: /private/etc/apache2/httpd.conf=#-----------------------<IfModu=le mod_fastcgi.c>FastCGIServer /Library/WebServer/Documents/We=bDNA/WebDNA.fcgi -idle-timeout 60 -processes 1Action webdna-fastc=gi /WebDNA/WebDNA.fcgiAddHandler webdna-fastcgi .dna .tpl .=html</IfModule><IfModule mod_r=ewrite.c>RewriteEngine onRewriteRule .* - [E=3DHTTP=_AUTHORIZATION:%{HTTP:Authorization},L]</IfModule> <FilesMatch ".*\.(db|inc|conf|ini)$">Deny from all  =; &nbs=p; &nb=sp;</FilesMatch>#-----------------------<=/div>Also make sure this line below in httpd.conf h=as no # sign in front:LoadModule fastcgi_module li=bexec/apache2/mod_fastcgi.so (correct)#LoadModule fastcgi_m=odule libexec/apache2/mod_fastcgi.so (not correct)SECOND FILE: webdna.ini (WebDNA)found: Maci=ntoshHD/Library/Webserver/Documents/WebDNA/webdna.inicheck line to read: ValidTemplateExtensions=.dna= .tpl .htmland again make sure that ALL your= files which have webdna codewhether .dna, .tpl .db, or .ht=ml have their owner permissions set to this:UID: GID_www:_wwwso when y=ou check your directory serving WebDNA files it should look like this:=sh-3.2# ls -ltotal 48-r=w-r--r-- 1 _www _www 38 Nov 3 20:05 test.tpl<=div>-rw-rw---- 1 _www _www 48 Nov 4 11:02 test232.d=b-rw-rw---- 1 _www _www 212 Nov 4 11:05 t=est444.tpl-rw-rw-r--@ 1 _www _www 602 Nov 7 20:=48 write-file-creator.dna-rw-r--r--@ 1 _www _www 492 N=ov 4 11:05 writefiletest.tplTry that.<=/div>---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list--Rupert---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn N=ov 10, 2011, at 8:48 PM, C. Frank Wolfe wrote:Thank y=ou Rupert. Good instructions.My directory structure is a tiny bit= different as it is MacintoshHD/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?Thanks for your help!<=/div>Frank---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listOn Nov= 10, 2011, at 6:24 AM, Nices Lists wrote:Frank,=I had the same problem.As Chr=is says, it's a permission issue.MacintoshHD/Libra=ry/Webserver/WebDNA/root# chown -R _www:_www /WebD=NA/and also the directory where WebDNA files are s=erved fromMacintoshHD/Library/Webserver/WebDNA-Cod=ed-Files/root# chown -R _www:_www /WebDNA-Coded-fi=les/after this, worked like a charm for me.<=div>hope that helps.--Rupert<=div>On Nov 10, 2=011, at 7:27 AM, christop=he.billiottet@webdna.us wrote:If it reverts back, it is because WebDNA h=as not been able to write the database to disk. It is just a small permissio=n problem for your files in /WebDNA.
- chris
On Nov 10=, 2011, at 10:20, C. Frank Wolfe wrote:Chr=is,Still getting:
=blockquote>Error: template security preferences do= not allow remote access to files with that extension I'm curious w=hy I can add the .tpl extension in the preferences area, and have it work, a=nd then revert back on a restart. Odd.frank=On Nov 10, 2011, at 12:29 AM, C. Frank W=olfe wrote: And I'm all for helping WebDN=A.I have about 20 websites I didn't want to change all extensions= just yet.Thanks F.<=blockquote type=3D"cite">On Nov 10, 2011, at= 12:21 AM, christophe.bil=liottet@webdna.us wrote:Using ..dna= from now on will help WebDNA. ---------------------=------------------------------------ This message is sent to you becaus=e you are subscribed tothe mailing list <talk@webdna.us>.To unsubscribe, E-mail to: <talk-leave@webdna.us><=/blockquote>archives: http://mail.webdna.us/li=st/talk@webdna.usBug Reporting: support@webdna.us =--------------------------------------------------=-------This message is sent to yo=u because you are subscribed toth=e 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 a=re subscribed to
the mailing list <t=alk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@web=dna.us
Bug Reporting: support@we=bdna.us.To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us .To unsubscribe, E-mail to: archives: http://mail.=webdna.us/list/talk@webdna.usBug 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...