var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Custom PHP error page in DirectAdmin?
I'm moving from Ensim to DirectAdmin, my old .htaccess had a 404 redirect that routes all my 404 errors to a page "file.php"
In DirectAdmin, I can specify a new custom error page, but I want a PHP one, according to site-helper.com the 404.shtml file must have ".shtml"
Is there a way to get around this and use a PHP file as the error page?
Create a .htaccess with
and you'll be good to go
ErrorDocument 404 file.php
I think that works