Re: [WebDNA] Mac OS X Server ("Maverick") - Not Authorized

This WebDNA talk-list message is from

2014


It keeps the original formatting.
numero = 111194
interpreted = N
texte = Palle, I ran into this problem too and if I recall correctly, this is a file ownership and permissions issue. Unfortunately, I am not 100% sure how the ownership and permissions should be set for the best security while still allowing WebDNA access. I believe these will get you working, but you may want to look into whether they are the best settings for security. For instance, it may be best for the "read only" for "everyone" shown below to actually be set to "none". Owner: _www Read/Write Group: _www Read only World: everyone Read only I believe the user "wheel" can also be used in place of "_www". Also, I *think* that the Owner does not have to be "_www". Wish I had more solid answers, but hopefully this gives you some direction. IMPORTANT: Before making changes, I'd recommend that you note all of the owner/permissions on the WebDNA folder and sub-folders so that you can change them back if needed. To set the owner and permissions using the Server.app, do the following: 1. Launch Server.app and select your server from the left pane 2. Click on the storage tab and set the view to Column View 3. Navigate to the appropriate folder that you want to change permissions & ownership and select this folder. 4. Select "Edit Permissions..." from the gear icon drop-down 5. In the owner/permissions sheet, double-click the current entry for the owner and change to "_www". Do the same for other owners you want to change= . 6. Select the permissions you want for the Owner/Group/World using the drop-down list in the permissions column. 7. Click OK 8. Select "Propagate Permissions..." from the gear icon drop-down, select all of the checkboxes and click OK. Hope this helps. If anyone has corrections to this information, please post= ! Regards, Brian On 2/27/14, 6:36 AM, "Palle Bo Nielsen" wrote: > Hi all, >=20 > I have managed to install WebDNA 7 FastCGI on a Mac OS X Server =B3Maverick= =B2 > (latest version) and calling my index.dna it seems to work just fine, but= when > trying to access the =8Cadminprefs.dna=B9 get an =B3Not Authorized=B2 response. T= he > promote is not accepting the default =8Cadmin/admin=B9. >=20 > http://www.qt.dk/WebDNA/Admin/AdminPrefs.dna >=20 > According to Apache specifications configuration needs to be stored in th= e > other/*.conf location and this is where my WebDNA specific configuration = is > stored like this (and working). >=20 > Any help in getting inside my WebDNA prefs ? >=20 >=20 > ******* my https.conf file placed in other/*conf location ********** > #----------------------- > LoadModule rewrite_module libexec/apache2/mod_rewrite.so > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so > #----------------------- >=20 > #----------------------- > > FastCGIServer /Library/Server/Web/Data/Sites/www.qt.dk/WebDNA/WebDNA.fcgi > -idle-timeout 60 -processes 1 > > #----------------------- >=20 > #----------------------- > AddType text/html .tpl .dna > #----------------------- >=20 > #----------------------- > > Deny from all > > #----------------------- >=20 > #----------------------- > > Action webdna-fastcgi /WebDNA/WebDNA.fcgi > AddHandler webdna-fastcgi .dna > AddHandler webdna-fastcgi .html > > #----------------------- >=20 > #----------------------- > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > > #----------------------- > ******* end my https.conf file placed in other/*conf location end > **********--------------------------------------------------------- > 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] Mac OS X Server ("Maverick") - Not Authorized (Brian Wachter 2014)
  2. [WebDNA] Mac OS X Server ("Maverick") - Not Authorized (Palle Bo Nielsen 2014)
Palle, I ran into this problem too and if I recall correctly, this is a file ownership and permissions issue. Unfortunately, I am not 100% sure how the ownership and permissions should be set for the best security while still allowing WebDNA access. I believe these will get you working, but you may want to look into whether they are the best settings for security. For instance, it may be best for the "read only" for "everyone" shown below to actually be set to "none". Owner: _www Read/Write Group: _www Read only World: everyone Read only I believe the user "wheel" can also be used in place of "_www". Also, I *think* that the Owner does not have to be "_www". Wish I had more solid answers, but hopefully this gives you some direction. IMPORTANT: Before making changes, I'd recommend that you note all of the owner/permissions on the WebDNA folder and sub-folders so that you can change them back if needed. To set the owner and permissions using the Server.app, do the following: 1. Launch Server.app and select your server from the left pane 2. Click on the storage tab and set the view to Column View 3. Navigate to the appropriate folder that you want to change permissions & ownership and select this folder. 4. Select "Edit Permissions..." from the gear icon drop-down 5. In the owner/permissions sheet, double-click the current entry for the owner and change to "_www". Do the same for other owners you want to change= . 6. Select the permissions you want for the Owner/Group/World using the drop-down list in the permissions column. 7. Click OK 8. Select "Propagate Permissions..." from the gear icon drop-down, select all of the checkboxes and click OK. Hope this helps. If anyone has corrections to this information, please post= ! Regards, Brian On 2/27/14, 6:36 AM, "Palle Bo Nielsen" wrote: > Hi all, >=20 > I have managed to install WebDNA 7 FastCGI on a Mac OS X Server =B3Maverick= =B2 > (latest version) and calling my index.dna it seems to work just fine, but= when > trying to access the =8Cadminprefs.dna=B9 get an =B3Not Authorized=B2 response. T= he > promote is not accepting the default =8Cadmin/admin=B9. >=20 > http://www.qt.dk/WebDNA/Admin/AdminPrefs.dna >=20 > According to Apache specifications configuration needs to be stored in th= e > other/*.conf location and this is where my WebDNA specific configuration = is > stored like this (and working). >=20 > Any help in getting inside my WebDNA prefs ? >=20 >=20 > ******* my https.conf file placed in other/*conf location ********** > #----------------------- > LoadModule rewrite_module libexec/apache2/mod_rewrite.so > LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so > #----------------------- >=20 > #----------------------- > > FastCGIServer /Library/Server/Web/Data/Sites/www.qt.dk/WebDNA/WebDNA.fcgi > -idle-timeout 60 -processes 1 > > #----------------------- >=20 > #----------------------- > AddType text/html .tpl .dna > #----------------------- >=20 > #----------------------- > > Deny from all > > #----------------------- >=20 > #----------------------- > > Action webdna-fastcgi /WebDNA/WebDNA.fcgi > AddHandler webdna-fastcgi .dna > AddHandler webdna-fastcgi .html > > #----------------------- >=20 > #----------------------- > > RewriteEngine on > RewriteRule .* - [E=3DHTTP_AUTHORIZATION:%{HTTP:Authorization},L] > > #----------------------- > ******* end my https.conf file placed in other/*conf location end > **********--------------------------------------------------------- > 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 Brian Wachter

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:

listfiles-looking for slick solution (1997) Deleting Multiple Database Records based on Checkbox (1998) E-mail loop ! (1997) [numfound] in nested [search] (2000) WebCat Error Log problem (2.0.1, acgi, Mac) (1997) best way to test for the existence of a parameter in a url (2003) Hiding Brands (2004) Check boxes (1997) syntax question, not in online refernce (1997) Problems getting parameters passed into email. (1997) Re2: Calculating multiple shipping... (1997) [WebDNA] WebDNA Showcase? (2008) WebSTAR, OSX, WebDNA permissions problem ... (2005) 'does not contain' operator needed ... (1997) More questions about serial number dishing (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) [WebDNA] WebDNA 6.1 Info (2008) graphics server, SSL, Netscape 4.0 (off topic) (1998) password authentication schemes (2003) MATH PROBLEM (1997)