Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   phphq.Net Forums (https://novahq.net/forum/forumdisplay.php?f=277)
-   -   404 Error / Logged IP etc ... (https://novahq.net/forum/showthread.php?t=38601)

XinG 10-29-2004 04:12 PM

404 Error / Logged IP etc ...
 
http://www.phphq.net/img/

How can you do that? Please help :p I want to protect all my files and images and source files / folders

~BLÃÐE~ 10-30-2004 07:06 PM

I did a quick google search and found this on 403 error
http://weblogs.asp.net/jblizzard/archive/2003/07/28/10623.aspx

It's to do with the ASP.NET

katana*GFR* 10-31-2004 04:13 AM

Blade i think Xing means to do it in PHP.

Try putting a blank index.html in your folders you try to protect. That will do the trick. Just a blank page so only the head and body tags. then name it index.html and place it in the folder.

Scott 11-01-2004 04:54 PM

It has to do with htaccess actually..

make a .htaccess file, you can make it htaccess.txt if your using notepage,

insert this into it:

Options +FollowSymlinks

ErrorDocument 401 /401.htm
ErrorDocument 403 /403.htm
ErrorDocument 404 /4041.htm
ErrorDocument 500 /500.htm

Options -Indexes


And then save it and upload it to your root directory. rename the file to .htaccess and your set. 401 errors will go to 401.htm etc etc

XinG 11-02-2004 10:13 AM

cool, cheers dude :)


All times are GMT -5. The time now is 03:17 AM.

Powered by vBulletin®