Dear All,
After installing mod_h2 my websites work fine, even all the 301 redirects placed in .htaccess works
My issue is 404 pages
In my .htacccess I have custom error handling for 404 pages but instead the oldie custom error page apache default comes up.
"Not Found
The requested URL /en/dawd was not found on this server."
My .htaccess line is: (inside website folder root)
ErrorDocument 404 /404.php
Did work for years should work, now also.
My troublshoot was this:
404 in .htaccess with full url (DID NOT WORK)
custom 404 with cpanel (DID WORK, placed no new rules in .htaccess, but this is not what I want)
empty .htacces and leave one line only "ErrorDocument 404 /404.php" (DID NOT WORK)
What I assume is, it might be an error document setting in either httpd.conf or an included other conf file might be one included for h2 ??
I did not check my httpd.conf file as touching those without any instructions is what I avoid mostly.
Please let me know how to edit my httpd.conf if that is the problem ?
Or just let me know what could be the possible cause of the error
All best
Z
After installing mod_h2 my websites work fine, even all the 301 redirects placed in .htaccess works
My issue is 404 pages
In my .htacccess I have custom error handling for 404 pages but instead the oldie custom error page apache default comes up.
"Not Found
The requested URL /en/dawd was not found on this server."
My .htaccess line is: (inside website folder root)
ErrorDocument 404 /404.php
Did work for years should work, now also.
My troublshoot was this:
404 in .htaccess with full url (DID NOT WORK)
custom 404 with cpanel (DID WORK, placed no new rules in .htaccess, but this is not what I want)
empty .htacces and leave one line only "ErrorDocument 404 /404.php" (DID NOT WORK)
What I assume is, it might be an error document setting in either httpd.conf or an included other conf file might be one included for h2 ??
I did not check my httpd.conf file as touching those without any instructions is what I avoid mostly.
Please let me know how to edit my httpd.conf if that is the problem ?
Or just let me know what could be the possible cause of the error
All best
Z