Quote:
Originally Posted by SolidSnake@GTI
Thats Great
But what about Servers That Hasn't mod_auth_mysql Module Istalled & have not SSH Access & not having intense to install any modules ? Is there Any Way ?
|
No, if the module ist not available the apache server cannot connect to a mysql database.
Quote:
Originally Posted by Shuvo
is it possible to do it as same as vb.com? plzzzzzzzzzzzzzzzzzzzzzzzzz.. I meant it 'll load a error page named authentication faild.. Like...
|
If your provider allows it, you can do that by adding this line
Code:
ErrorDocument 401 /401.html
into your existing .htaccess file in the document_root of your apache server. If no .htaccess file exists, just create one. Afterwards you have to place a self-made 401.html oder 401.php or whatever file in your document_root, to get it work.
If you choose to create a directory for your custom apache errorpages like
errorpages in your document_root the line has to look like this
Code:
ErrorDocument 401 /errorpages/401.html
or
Code:
ErrorDocument 401 /errorpages/401.php
depending on what filetype you want to use.
You can create custom errorpages for every http-errorcode like 404 (not found), 500 (script error) and so on...