afshin.m Posted June 23, 2010 Share Posted June 23, 2010 Hi, i want to set a custom (and empty) 404 error for my static contents like CSS, Gif, Jpeg etc. i found this code : <FilesMatch "\.(css|png|jpg|jpeg|gif|bmp|swf|flv)$"> ErrorDocument 404 error-404.txt </FilesMatch> But it not worked for images that located in sub folders, it works for images that located in the root folder and where my .htaccess file located. Please help, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.