RE: WebCat: Access denied, but why? - The solution.

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13614
interpreted = N
texte = Mark,This occured after a client tried to edit the file, so I suspect that you are correct. Replacing the file from a backup solved the problem. I'll copy your reply to the WebCat list as several people there encountered the same problem.Thank you, Paul>Paul - > >What kind of icon does that Search.tmpl file have? If you double-click it, >does WebSTAR or WebSTAR/SSL come to the front? >I'm guessing the creator code of this file is set to WWW-omega, which won't be >served by WebSTAR or WebCatalog - if this is the case, try just opening the >file in something like BBEdit and doing a Save As... to give it a different >creator code. This may have happened if you used a [writefile] context (are >you copying the remote editing features of the General Store?) and didn't >specify &secure=F; if you don't use [writefile >file=filename.tmpl&secure=F]..., WebCatalog will set the file's creator type >to WWW-omega by default, to prevent people from being able to look at your log >files, databases, etc. > >Anyway, please let me know if this is not the problem. > >cheers, > >Marc Eagle >StarNine Technologies >http://www.smithmicro.com/ > > >>______________________________________________________________________________ >>_ >>Last month I set up my very first online secure store for a small CD >>publishing company: >>https://secure.ims1.com/coolstore/Search.tmpl$search?geSKUdata=0&db=catalog.tx >>t& >categorysumm=t&categorysort=t&max=50 > >It >>worked and I was pleased. But the company wanted to review it extensively >>before starting to use it. In the porcess of editing the content of the >pages/ >>.tmpl files the encountered a problem: >> >>>I can get to the Cool School Secure Admin page with the password you >>>gave us. When I click the Edit the Main Page link, I can get there and >>>edit the page, but when I try to save the changes I get a popup dialog >>>that says Authorization failed. Retry?. When I retry it asks for my >>>username and password again and re-entering these still doesn't let me >>>save. Any ideas? >> >>I thought perhaps that I did not add that user name and password to a group >>that was permitted to edit pages, but I had. I was able to edit the page in >>question. At that point I surmised that he had simply mis-typed his >>password or username. However when I went to the page to view the changes >>(the URL is above), I got the following error message: >> >>Sorry, you have been denied access to this server based on your Domain name >>or IP address. >> >>This is not a protected realm in Webstar. The message seems to come from >>WebCat, but I didn't even know you could use WebCat to restrict access by >>domain name or IP address. And I certainly did not restrict myself out! >>Please tell me how I can get back in and how I can keep this from >>dynamically restricting me in the future. >> >>Thanks, Paul _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. _/_/_/ mailto:paul@ims1.com _/ Website Development _/_/_/ Websites for Business _/ _/_/_/ Websites for Real Estate _/ _/_/_/Websites for Children _/ Associated Messages, from the most recent to the oldest:

    
  1. RE: WebCat: Access denied, but why? - The solution. (Paul Uttermohlen 1997)
Mark,This occured after a client tried to edit the file, so I suspect that you are correct. Replacing the file from a backup solved the problem. I'll copy your reply to the WebCat list as several people there encountered the same problem.Thank you, Paul>Paul - > >What kind of icon does that Search.tmpl file have? If you double-click it, >does WebSTAR or WebSTAR/SSL come to the front? >I'm guessing the creator code of this file is set to WWW-omega, which won't be >served by WebSTAR or WebCatalog - if this is the case, try just opening the >file in something like BBEdit and doing a Save As... to give it a different >creator code. This may have happened if you used a [writefile] context (are >you copying the remote editing features of the General Store?) and didn't >specify &secure=F; if you don't use [writefile >file=filename.tmpl&secure=F]..., WebCatalog will set the file's creator type >to WWW-omega by default, to prevent people from being able to look at your log >files, databases, etc. > >Anyway, please let me know if this is not the problem. > >cheers, > >Marc Eagle >StarNine Technologies >http://www.smithmicro.com/ > > >>______________________________________________________________________________ >>_ >>Last month I set up my very first online secure store for a small CD >>publishing company: >>https://secure.ims1.com/coolstore/Search.tmpl$search?geSKUdata=0&db=catalog.tx >>t& >categorysumm=t&categorysort=t&max=50 > >It >>worked and I was pleased. But the company wanted to review it extensively >>before starting to use it. In the porcess of editing the content of the >pages/ >>.tmpl files the encountered a problem: >> >>>I can get to the Cool School Secure Admin page with the password you >>>gave us. When I click the Edit the Main Page link, I can get there and >>>edit the page, but when I try to save the changes I get a popup dialog >>>that says Authorization failed. Retry?. When I retry it asks for my >>>username and password again and re-entering these still doesn't let me >>>save. Any ideas? >> >>I thought perhaps that I did not add that user name and password to a group >>that was permitted to edit pages, but I had. I was able to edit the page in >>question. At that point I surmised that he had simply mis-typed his >>password or username. However when I went to the page to view the changes >>(the URL is above), I got the following error message: >> >>Sorry, you have been denied access to this server based on your Domain name >>or IP address. >> >>This is not a protected realm in Webstar. The message seems to come from >>WebCat, but I didn't even know you could use WebCat to restrict access by >>domain name or IP address. And I certainly did not restrict myself out! >>Please tell me how I can get back in and how I can keep this from >>dynamically restricting me in the future. >> >>Thanks, Paul _/_/_/Paul Uttermohlen, Internet Marketspace, Inc. _/_/_/ mailto:paul@ims1.com _/ Website Development _/_/_/ Websites for Business _/ _/_/_/ Websites for Real Estate _/ _/_/_/Websites for Children _/ Paul Uttermohlen

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:

Using Applescript to process WebCatalog functions (1998) [OT] MACWORLD (2003) Auto SKU's (2000) Setting up the server (1997) Sorting by date (1997) A multi-processor savvy WebCatalog? (1997) Applescript, WebDNA, and PDF (1997) [searchString] (1997) normal users.db calls ... (1998) Bad creator codes which cause access denied error message (1997) New WebCatalog Version !!! (1997) CommitDatabase vs. CloseDatabase (2001) Lookup & Form Variables (2000) Grep issue (2003) POST (1997) SUBMIT buttons not working.... (2000) Configuring E-mail (1997) Running 2 two WebCatalog.acgi's (1996) New reserved words for [tags] (2000) WC2b15 File Corruption (1997)