Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Tue Nov 08, 2005 9:16 am Reply with quote

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 : [ Only registered users can see links on this board! Get registered or login! ]
Then you see that it works and that it gives a custom 404 error with text..

But when you go to:(doesnt excist) [ Only registered users can see links on this board! Get registered or login! ]

It shows the custom 404 error but completely wrong.
You will also see that the url stays at: [ Only registered users can see links on this board! Get registered or login! ]
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 [ Only registered users can see links on this board! Get registered or login! ]
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 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Tue Nov 08, 2005 12:27 pm Reply with quote

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.
 
View user's profile Send private message Send e-mail
hitwalker







PostPosted: Tue Nov 08, 2005 12:34 pm Reply with quote

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







PostPosted: Tue Nov 08, 2005 12:53 pm Reply with quote

I would be happy to try it out on my site for you if you wanted to send me more info.
 
hitwalker







PostPosted: Tue Nov 08, 2005 12:58 pm Reply with quote

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 ....Smile
Anyway..
To what email add you want me to send the simple file ?
 
hitwalker







PostPosted: Tue Nov 08, 2005 1:52 pm Reply with quote

huh?
No reply anymore?
Anyone...
 
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Tue Nov 08, 2005 2:15 pm Reply with quote

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. 
View user's profile Send private message
hitwalker







PostPosted: Tue Nov 08, 2005 2:34 pm Reply with quote

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







PostPosted: Tue Nov 08, 2005 4:14 pm Reply with quote

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©