Author |
Message |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Tue Nov 08, 2005 9:16 am |
|
Ok this has to be solved.(link are edited again,the topic was to old)
In my htacces i have :ErrorDocument 404 /errordocs.php?e=404
Now lets try this:
Go to : http://www.hitwalker.nl
Then you see that it works and that it gives a custom 404 error with text..
But when you go to:(doesnt excist)
http://www.hitwalker.nl
It shows the custom 404 error but completely wrong.
You will also see that the url stays at:
http://www.hitwalker.com
You have to try it yourself,then you know what i mean.
Now the weird part..
When you tried it with:http://www.hitwalker.com
Did you noticed the lines that said :"tried to load /jhdshjdshdhsjhds.html"
Well now,if i change the url in my htaccess to :
ErrorDocument 404 http://www.hitwalker.nl/errordocs.php?e=404
Then it works fine suddenly BUT...the line that shows the requested page....now suddenly DOESNT show the requested page anymore but the errordocs.php like:
tried to load /errordocs.php
Any clue whats wrong or better,how to solve this. |
Last edited by hitwalker on Mon Jul 17, 2006 12:50 pm; edited 1 time in total |
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Tue Nov 08, 2005 12:27 pm |
|
Dont have a clue mate but do you think it might be something to do with the different url paths - perhaps you might have to create errordcos for each directory?
Do you have any other redirections operating or anything else in htaccess relating to error docs for example for google tap?
Sorry I could not be more help at this time. |
|
|
|
 |
hitwalker

|
Posted:
Tue Nov 08, 2005 12:34 pm |
|
Thanks but amazing that nobody knows...
we have coders running around here that build complete nuke's like a 8.0 but no one knows how to fix this.. |
|
|
|
 |
Guardian2003

|
Posted:
Tue Nov 08, 2005 12:53 pm |
|
I would be happy to try it out on my site for you if you wanted to send me more info. |
|
|
|
 |
hitwalker

|
Posted:
Tue Nov 08, 2005 12:58 pm |
|
Sure...
Gonna be a nice contest...
Who solves it first...
Ive been busy with this for 2 days now...
And help is hard to find ....
Anyway..
To what email add you want me to send the simple file ? |
|
|
|
 |
hitwalker

|
Posted:
Tue Nov 08, 2005 1:52 pm |
|
huh?
No reply anymore?
Anyone... |
|
|
|
 |
64bitguy
The Mouse Is Extension Of Arm

Joined: Mar 06, 2004
Posts: 1164
|
Posted:
Tue Nov 08, 2005 2:15 pm |
|
Check to see if there are sub-domain rules setup for those directories. If so, you'd need to create new .htaccess rules for those sub-domains and add a rule to the primary domain .htaccess that says:
Code:Options +FollowSymLinks
|
|
_________________ Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. |
|
|
 |
hitwalker

|
Posted:
Tue Nov 08, 2005 2:34 pm |
|
Hi steph,
Well as far as i know off there arent any.
But let me ask you this.
Do you know Diserrors from disipal ?
That works perfectly and then i DONT have that problem !
Whatever you type to whatever folder...if it doesnt excist then diserrors takes over.
So both use the some like :ErrorDocument 404 /errordocs.php?e=404
But diserrors is very simple,it shows a 404 text and thats it.
It doesnt help the webmaster at all in following up on a error.
So thats the difference in how both work...
If you want me to active diserrors so you can check it out yourself just say so. |
|
|
|
 |
Guardian2003

|
Posted:
Tue Nov 08, 2005 4:14 pm |
|
hitwalker wrote: | To what email add you want me to send the simple file ? |
You can send to the email addy in my profile or my Messenger profile mate. |
|
|
|
 |
|