Apache redirect denied

Issues related to applications and software problems
Post Reply
Boyd.ako
Posts: 46
Joined: 2016/06/22 08:49:07
Location: Honolulu, HI
Contact:

Apache redirect denied

Post by Boyd.ako » 2019/06/26 09:44:55

Anybody know if there's a way to redirect denied access to website or page?

I'm trying to setup a deny by default unless stated otherwise. And if denied it redirects them to something like google or something.
My noob level: LPIC-2, Sec+ CE, Linux+
https://boydhanaleiako.me

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: Apache redirect denied

Post by hunter86_bg » 2019/06/26 15:55:56

I guess you can use ErrorDocument for that purpose.

Boyd.ako
Posts: 46
Joined: 2016/06/22 08:49:07
Location: Honolulu, HI
Contact:

Re: Apache redirect denied

Post by Boyd.ako » 2019/06/27 23:18:43

hunter86_bg wrote:
2019/06/26 15:55:56
I guess you can use ErrorDocument for that purpose.
Yep... that worked.
My noob level: LPIC-2, Sec+ CE, Linux+
https://boydhanaleiako.me

Post Reply