View previous topic :: View next topic |
Author |
Message |
Viper464752 -
Joined: 18 Aug 2002 Posts: 3 Location: U.S.A
|
Posted: Mon Sep 22, 2003 10:38 pm Post subject: Why cant I Make my Own..... |
|
|
Why cant I Make my own 401 Unauthorized Page.
When i Set it up on the Custom Error Pages it loads the 401 Custom Error for Aprelium |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Sep 23, 2003 4:11 pm Post subject: Re: Why cant I Make my Own..... |
|
|
Viper464752 wrote: | Why cant I Make my own 401 Unauthorized Page.
When i Set it up on the Custom Error Pages it loads the 401 Custom Error for Aprelium |
Create an error page for error 401. Put it some where in your web site directory (for example in hrdocs). Try to browse it directly, we assume that its URL is http://yoursite/errors/401.html (this is an example, all depends on where you put it).
Now go to the Custom Error pages in the console, press add. Enter 401 in the error code field and /errors/401.html in the Error page URL field. Press OK and restart. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
Viper464752 -
Joined: 18 Aug 2002 Posts: 3 Location: U.S.A
|
Posted: Tue Sep 23, 2003 10:56 pm Post subject: |
|
|
i tried that, but it still doesn't want to work. It still loads
Quote: |
Error 401
Unauthorized
--------------------------------------------------------------------------------
Abyss Web Server X1 Update 1
© Aprelium Technologies - 2001-2003
|
|
|
Back to top |
|
 |
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Wed Sep 24, 2003 12:13 am Post subject: |
|
|
for Unauthorized pages , you put the local path , even if i viewer is outside , he/she will see the error page
If your page is in htdocs folder , put /error.html , don't put the URL
http:// , if its a sub fold4er called errors , use /error/error.html
Got it now ? 8) _________________ This web server is the best ! |
|
Back to top |
|
 |
TCorp -
Joined: 25 Sep 2003 Posts: 1 Location: Germany
|
Posted: Thu Sep 25, 2003 10:19 am Post subject: ..... |
|
|
i'm having the same problem...
These are the settings in my "abyss.conf" file:
....
CustomErrorDefault /err/error404.htm
...
customerror "401" "/err/error401.htm"
customerror "403" "/err/error403.htm"
customerror "404" "/err/error404.htm"
customerror "500" "/err/error500.htm"
customerror "503" "/err/error503.htm"
...
all my custom error pages are in:
C:\Program Files\Abyss Web Server\htdocs\err\
I like this webserver but I have yet still to see this feature work.
this is what i see in my access log when i try to get a 404 error:
Code: | xxx.xxx.xxx.xxx - tcorp [25/Sep/2003:11:15:14 +0100] "GET /site/blablabla HTTP/1.1" 404 266 "" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" |
it seems it simply returns the error code and not a custom error page...it doesn't even seem to try... :?
....am i missing something here... :?: |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Sep 26, 2003 12:16 am Post subject: Re: ..... |
|
|
Please send us your abyss.conf files with a little description of your problem. If possible, give us the full path of your error pages also. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|