On Tuesday, January 15, 2019 at 9:38:34 AM UTC-8, Vlad wrote:
>
> Dave, 
> I am probably missing something, but it seems to me that those are 2 
> different pages. 404 is just 404, while not authorized is another page 
> displaying the text about insufficient privileges - and really it should be 
> different. It's not that a resource is not found - it's just that a user is 
> not authorized at the moment, but the resource is there - 
> What am I missing?  
>

In addition to Leonel's pointer, 404 is my mistake .. 401 is the forbidden 
page, and the welcome app doesn't package that.  I guess nginx is covering 
it for me on the production server, and the dev servers running Rocket 
aren't as concerned with permissions.  (The production server started out 
with Rocket, but I had problems covering both the port 80 side and port 443 
(80 is supposed to 303 for me), and now I've forgotten what 401 behavior is 
like under Rocket.


/dps


> On Tuesday, January 15, 2019 at 11:56:57 AM UTC-5, Dave S wrote:
>>
>>
>>
>> On Tuesday, January 15, 2019 at 8:16:18 AM UTC-8, Vlad wrote:
>>>
>>> Not AuthorizedInsufficient privileges
>>>
>>
>> This appears to already be customized!  In the default out-of-the-box 
>> welcome app, 
>> file:///[..]web2py/applications/MusicBDs/static/404.html 
>> is just a very simple 3=4 characters: '404\n'.
>>
>> If you haven't customized that file, perhaps your front end is 
>> substituting its own.
>>
>> /dps
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to