 |
 |
The time now is Mon May 20, 2013 2:52 pm |
|
|
| Author
|
Thread |
|
|
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
|
Sat Jan 05, 2008 10:07 pm |
|
|
dennis
Site Admin
Joined: 12 Nov 2006
Posts: 62
|
Re: 403/404 Error Pages
You've got it exactly right
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
|
Sun Jan 06, 2008 10:00 pm |
|
|
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.
|
Mon Jan 07, 2008 1:35 am |
|
|
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
|
Mon Jan 07, 2008 9:48 pm |
|
|
|
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
|
|
|
|
|
|
 |
|
 |
|