[solved] custom error pages - 404 I can make but 401 & 500?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
ladyr0gue
Forum Members
Forum Members
Posts: 91
Joined: Fri Feb 17, 2012 4:25 pm

[solved] custom error pages - 404 I can make but 401 & 500?

Post by ladyr0gue »

I have some custom error pages but when I go to add them, the only option for error type I can see is for an error page 404 - is it possible to create custom 401 and 500 pages too?

1.10.3
Last edited by ladyr0gue on Sun Apr 22, 2012 2:18 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: custom error pages - 404 I can make but how about 401 &

Post by Rolf »

No, not at this moment...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
ladyr0gue
Forum Members
Forum Members
Posts: 91
Joined: Fri Feb 17, 2012 4:25 pm

Re: custom error pages - 404 I can make but how about 401 &

Post by ladyr0gue »

I have tried making them content pages and calling them in my htaccess file ie:

Code: Select all

ErrorDocument 500 /cmsms/error-500.html
ErrorDocument 500 /cmsms/error-500.html
is that workable? it seems to work... is there anything wrong with using this method?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: custom error pages - 404 I can make but how about 401 &

Post by Rolf »

ladyr0gue wrote:is there anything wrong with using this method?
No ;)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
ladyr0gue
Forum Members
Forum Members
Posts: 91
Joined: Fri Feb 17, 2012 4:25 pm

[solved] error pages - 404 I can make but how about 401 & 50

Post by ladyr0gue »

fanx......... ;)
Post Reply

Return to “CMSMS Core”