GreatWebScripts.com Forum Index
  The time now is Mon May 20, 2013 2:52 pm   

GreatWebScripts.com Forum Index -> Technical Support

403/404 Error Pages

  Author    Thread Post new topic Reply to topic
vinman



Joined: 05 Jan 2008
Posts: 5
403/404 Error Pages

I don't understand how the program can call the 403/404 error pages. I believe ErrorDocument has to be placed in htacess file, but this program does not generate the links to custom error pages.

What am i missing here?

thanks

Post Sat Jan 05, 2008 10:07 pm 
 View user's profile Send private message  Reply with quote  
dennis
Site Admin


Joined: 12 Nov 2006
Posts: 62
Re: 403/404 Error Pages

You've got it exactly right Smile

The htaccess file it generates at installation should have the ErrorDocument in it that points to its own 403/404 error pages. That will alllow it to trap those errors when the occur.

Did you install it and the htaccess did not get built correctly?

Dennis

Post Sun Jan 06, 2008 10:00 pm 
 View user's profile Send private message Send e-mail  Reply with quote  
vinman



Joined: 05 Jan 2008
Posts: 5
Re: 403/404 Error Pages

No, ErrorDocument is not being added at all. If I click on htaccess in the admin section, it shows the before and after (to install) and there is no mention of it.

I can add it manually, how should it read?

ErrorDocument 404 /hackertrap/404.php ?

I really don't want to send visitors to a link with "hackertrap" in it for an innocent 404 error.

Post Mon Jan 07, 2008 1:35 am 
 View user's profile Send private message  Reply with quote  
dennis
Site Admin


Joined: 12 Nov 2006
Posts: 62
Re: 403/404 Error Pages

No, you should remove your ErrorDocument. If HackerTrap finds an ErrorDocument in the htaccess, it does not add its own.

Did all the installation tests pass?

Once the ErrorDocument is set to 404.php, you can design your own error page -- located in the /templates directory. Its described in the HELP files.


Dennis

Post Mon Jan 07, 2008 9:48 pm 
 View user's profile Send private message Send e-mail  Reply with quote  
  Display posts from previous:      
Post new topic Reply to topic

Jump to:  


Last Thread | Next Thread  >

Forum Rules:
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

 

Powered by phpBB © 2001 phpBB Group