View previous topic :: View next topic |
Author |
Message |
smok3 -
Joined: 17 Aug 2002 Posts: 66
|
Posted: Wed Jun 11, 2003 1:39 am Post subject: error page not found, lmao ;) |
|
|
when i use custom errors and setup something like:
/errors/404.htm
as the so called local path, the error file is not found..., it will work if i set that as an url.
(folder 'errors' is in the root folder of the server which is 'D:\aws\' where 'htdocs' is the document path...)
what am i missing here?
tia
p.s. i also tested 'htdocs/errors/404.htm' as the error path with the same failure. |
|
Back to top |
|
 |
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Wed Jun 11, 2003 3:29 am Post subject: |
|
|
I know the problem I think , try putting errors/404.htm instead of /errors/404.htm , also make sure you put the right error code which is 404 8) _________________ This web server is the best ! |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Jun 11, 2003 3:56 am Post subject: Re: error page not found, lmao ;) |
|
|
smok3 wrote: | when i use custom errors and setup something like:
/errors/404.htm
as the so called local path, the error file is not found..., it will work if i set that as an url.
(folder 'errors' is in the root folder of the server which is 'D:\aws\' where 'htdocs' is the document path...)
what am i missing here?
tia
p.s. i also tested 'htdocs/errors/404.htm' as the error path with the same failure. |
Since errors folder is out of the scope of htdocs (errors is not a subdirectory of htdocs), you should declare it as an alias. So add an alias with virtual path /errors and the real path c:\aws\errors . Now set the custom error to /errors/404.htm (do not forget the first slash), all should work fine. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
smok3 -
Joined: 17 Aug 2002 Posts: 66
|
Posted: Wed Jun 11, 2003 4:50 pm Post subject: |
|
|
ok, i tryed the alias way (moved my errors dir next to the htdocs), so my dir structure is like:
Code: | <DIR> htdocs
<DIR> log
<DIR> cgi-bin
3.185 abyss.conf
<DIR> oldhtml
<DIR> webalizer
<DIR> testhtml
<DIR> php422
<DIR> activeperl
<DIR> mysql
19 regkey.ser
110.592 abyssws.exe
<DIR> chl
35.386 uninstall.exe
<DIR> doc
<DIR> errors |
my server config is like:
http://amigaserver.kicks-ass.org/config.gif
still not working...
thanks for your replyes, i will try some more ;)
server version is:
Abyss Web Server X1 Update 1 (v 1.1.5)
p.s. as real path in alias section i put only 'errors' in as well, as the root is 'd:\aws', same negative results.
p.s.2. also http://amigaserver.kicks-ass.org/errors/404.htm is seen well, so i guess the alias is set corectly. |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Wed Jun 11, 2003 9:27 pm Post subject: |
|
|
How interesting. According to your Alias method, it should work.
From Alias setting -
Make Alias for errors pages
Make a real path = C:\errorpage\errors
Vertual path = /errors
Custom Page setting -
Enter 404
Enter /errors/404.htm or whatever 404 page you called - for associated URL
Enter /errors for Default Custom Error Page.
I think it should be like this above. Atleast off my head. If it does not work, I check my setting from my Abyss when I get back home. _________________ CapFusion,... |
|
Back to top |
|
 |
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Wed Jun 11, 2003 9:51 pm Post subject: |
|
|
For my custom error page, I created a new folder in my htdocs and named it what the error code is , so here's how I did my error page
1. Create a new folder named 401 and drop my index error page index.html in it
2. went to my abyss concole and put /401/ :D , try that instead _________________ This web server is the best ! |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Wed Jun 11, 2003 10:27 pm Post subject: |
|
|
os17fan wrote: | For my custom error page, I created a new folder in my htdocs and named it what the error code is , so here's how I did my error page
1. Create a new folder named 401 and drop my index error page index.html in it
2. went to my abyss concole and put /401/ :D , try that instead |
Humm.... Ok. Basic you just made a subfolder under HTDOCS and name that subfolder of the error code (ie /HTDOCS/401 for 401 error code). I also assume you made a Vertual Path for 401 to tell where it is located?
I wonder if anyone else maybe having the same problem. So far, I have not heard back from "Smok3" yet. _________________ CapFusion,... |
|
Back to top |
|
 |
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Wed Jun 11, 2003 10:59 pm Post subject: |
|
|
No , I just made a folder in my htdocs folder and named it 401 , I did not do the aliases 8) _________________ This web server is the best ! |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Jun 11, 2003 10:59 pm Post subject: Re: error page not found, lmao ;) |
|
|
smok3 wrote: | when i use custom errors and setup something like:
/errors/404.htm
as the so called local path, the error file is not found..., it will work if i set that as an url.
(folder 'errors' is in the root folder of the server which is 'D:\aws\' where 'htdocs' is the document path...)
what am i missing here?
tia
p.s. i also tested 'htdocs/errors/404.htm' as the error path with the same failure. |
If you're still getting the IE error page after all that, the problem comes from IE. So you should configure it to not display its standard custom error page.
Open an IE window, select menu Tools > Internet Options > Advanced and in section Browsing, locate Show Friendly HTTP error message and uncheck it. Now you will get your custom error pages. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Wed Jun 11, 2003 11:09 pm Post subject: |
|
|
I have a question for aprelium , when you do uncheck that show error page IE thing , will people still get the abyss web server error even if they did nothing with their IE settings 8) _________________ This web server is the best ! |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Wed Jun 11, 2003 11:12 pm Post subject: |
|
|
os17fan wrote: | No , I just made a folder in my htdocs folder and named it 401 , I did not do the aliases 8) |
Didn't that what I say?
"I just made a folder in my htdocs folder" = subfolder
"named it 401" = subfolder name = 401
No need Alias but atleast you tell the 401 error code for where it locate by using Virtual Path where error code is resided / located, right? _________________ CapFusion,... |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Wed Jun 11, 2003 11:13 pm Post subject: |
|
|
os17fan wrote: | I have a question for aprelium , when you do uncheck that show error page IE thing , will people still get the abyss web server error even if they did nothing with their IE settings 8) |
This only apply to the user that set his IE only. Everyone else will see the default error page as usual. _________________ CapFusion,... |
|
Back to top |
|
 |
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Wed Jun 11, 2003 11:20 pm Post subject: |
|
|
Hey Capfusion , im going to make an aliases and try that virtual path for my 404 not found , thats the only error i can't do with out putting the full path 8) _________________ This web server is the best ! |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Wed Jun 11, 2003 11:25 pm Post subject: |
|
|
Quote: | If you're still getting the IE error page after all that, the problem comes from IE. So you should configure it to not display its standard custom error page.
Open an IE window, select menu Tools > Internet Options > Advanced and in section Browsing, locate Show Friendly HTTP error message and uncheck it. Now you will get your custom error pages |
Heehehe..... That is funny. But this only solve the IE of that user broswer but everyone else will not see the custom error page when visit that Abyss server.
For example, if I am the one go to Smok3.com site and enter a wrong URL to his server (Abyss), I still see a default error page. If I want to see the same custom page then I have to custom error page like his IE browser, then I need to set mine up too like him. So, if he have a very popular site like say a 1million unique visitor, then all 1 million visitor IE browser to custom set their error page from their browser..... Heehehee..... _________________ CapFusion,... |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Wed Jun 11, 2003 11:48 pm Post subject: |
|
|
os17fan wrote: | Hey Capfusion , im going to make an aliases and try that virtual path for my 404 not found , thats the only error i can't do with out putting the full path 8) |
Alias is just optional to separate from other stuff. The key is to point the error page by "Associate URL". The "Associate URL" will point to the error file page.
What the heck, you can even put the Error page in HTDOCS and just set the "Associate URL" that is in HTDOCS >> /HTDOCS/404.htm <<. So this case, you do not have to make any other path or virtural parth or anything but to point where the error page is by using "associated URL" and indicate what type of error code like "404". Then from "Custom Error Pages" enter /HTDOCS of where the error code page is. Otherwise it will use it default generate page. _________________ CapFusion,... |
|
Back to top |
|
 |
smok3 -
Joined: 17 Aug 2002 Posts: 66
|
Posted: Thu Jun 12, 2003 12:52 am Post subject: |
|
|
CapFusion wrote: | Quote: | If you're still getting the IE error page after all that, the problem comes from IE. So you should configure it to not display its standard custom error page.
Open an IE window, select menu Tools > Internet Options > Advanced and in section Browsing, locate Show Friendly HTTP error message and uncheck it. Now you will get your custom error pages |
Heehehe..... That is funny. But this only solve the IE of that user broswer but everyone else will not see the custom error page when visit that Abyss server. |
ok, lol, this is working, but is kinda useless, i mean, what should i put in there then? ("dear visitors could you please adjust ur browser so that you will get a nice custom error..."), i mean the thingy is working when url type of path is used without the ie mod. 8O
i guess i will have to give up, thanks for replyes.
p.s. btw, is this working for everyone else without the ie mod?
edit: seems like this is only a 404 error issue, since other errors are working fine..., like 401, so now i got:
Code: | Error Code Associated URL
404 (Not Found) http://amigaserver.kicks-ass.org/errors/404.htm
401 (Unauthorized) /errors/401.htm
| which is working just fine. |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Thu Jun 12, 2003 4:51 pm Post subject: |
|
|
Quote: | ok, lol, this is working, but is kinda useless, i mean, what should i put in there then? ("dear visitors could you please adjust ur browser so that you will get a nice custom error..."), i mean the thingy is working when url type of path is used without the ie mod.
i guess i will have to give up, thanks for replyes.
p.s. btw, is this working for everyone else without the ie mod?
edit: seems like this is only a 404 error issue, since other errors are working fine..., like 401, so now i got:
Code:
Error Code Associated URL
404 (Not Found) http://amigaserver.kicks-ass.org/errors/404.htm
401 (Unauthorized) /errors/401.htm
which is working just fine. |
Oh, I think I see what you are doing. Your 404 error is remote from a site.
Can you try making a 404 error locally and see if that will have problem? _________________ CapFusion,... |
|
Back to top |
|
 |
smok3 -
Joined: 17 Aug 2002 Posts: 66
|
Posted: Thu Jun 12, 2003 6:06 pm Post subject: |
|
|
CapFusion wrote: | Oh, I think I see what you are doing. Your 404 error is remote from a site.
Can you try making a 404 error locally and see if that will have problem? |
huh :?: |
|
Back to top |
|
 |
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Thu Jun 12, 2003 6:24 pm Post subject: |
|
|
He means like put /404 for the error page that way it picks up from your server _________________ This web server is the best ! |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Thu Jun 12, 2003 7:05 pm Post subject: |
|
|
os17fan wrote: | He means like put /404 for the error page that way it picks up from your server |
Yes, that is correct, os17fan.
Smok3, do the same way as your 401 error page instead and see if the same problem occur.
According to the remote Error page for 404, it seem to be correct from your Associate URL. Since I can not test it out at this time. I do not know the problem is from Abyss or that remote server is not allowing that page.
Off-Topic-
Man, do I have problem of communicating or the way I write give everyone a hard time understanding? _________________ CapFusion,... |
|
Back to top |
|
 |
smok3 -
Joined: 17 Aug 2002 Posts: 66
|
Posted: Thu Jun 12, 2003 8:54 pm Post subject: |
|
|
CapFusion wrote: | Off-Topic-
Man, do I have problem of communicating or the way I write give everyone a hard time understanding? |
ok, i think i got it now, to try something like 127.0.0.1/thatpageisnothere and see what happens right? (not your problem, english is not my 1st language)
tnx for replyes. |
|
Back to top |
|
 |
CapFusion -
Joined: 18 May 2003 Posts: 617 Location: Lost in Abyss' Dungeon
|
Posted: Thu Jun 12, 2003 10:34 pm Post subject: |
|
|
Quote: | ok, i think i got it now, to try something like 127.0.0.1/thatpageisnothere and see what happens right? (not your problem, english is not my 1st language)
tnx for replyes. |
Good Luck.... _________________ CapFusion,... |
|
Back to top |
|
 |
|