0

In apache,
How I can redirected the pages not found to / ?

Not Found

The requested URL /dsadsa was not found on this server.

2 Answers 2

1
ErrorDocument 404 /

Would serve up the content of / at the URL entered. OTOH is you explicitly want to redirect the user then something like...

ErrorDocument 404 /goback.html

...and in go back.html...

<meta http-equiv="refresh" content="0; url=http://example.com/">
0

You want FallbackResource

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .