.htaccess help?
Posted by: QuaLiTee80
Posted on: 2005-04-09 08:37:00
hello, everyone!
i would like some assistance in using a .htaccess file. i have created one and added it to my root directory. although, it is reading the command to only allow from certain domains and ip...it is not reading my command to open up my custom error pages when someone outside of my allow list tries to visit my site.
___________________________________
here is my .htaccess file:
order deny,allow
deny from all
allow from 1.2.3.4.5.6
allow from .dreamhost.com
ErrorDocument 401 /qualitee80.com/forbidden.html
ErrorDocument 403 /qualitee80.com/forbidden.html
ErrorDocument 404 /qualitee80.com/missing.html
ErrorDocument 500 /qualitee80.com/internal_error.html
___________________________________
here is a my error.log:
[Sat Apr 9 00:31:31 2005] [error] [client ipaddress] client denied by server configuration: /home/qualitee/qualitee80.com/rnb
[Sat Apr 9 00:31:31 2005] [error] [client ipaddress] client denied by server configuration: /home/qualitee/qualitee80.com/errors
[Sat Apr 9 00:51:07 2005] [error] [client ipaddress] client denied by server configuration: /home/qualitee/qualitee80.com/.htaccess
[Sat Apr 9 00:51:07 2005] [error] [client ipaddress] File does not exist: /home/qualitee/qualitee80.com/errors/forbidden.html
[Sat Apr 9 00:51:07 2005] [error] [client ipaddress] File does not exist: /home/qualitee/qualitee80.com/favicon.ico
[Sat Apr 9 00:51:07 2005] [error] [client ipaddress] File does not exist: /home/qualitee/qualitee80.com/errors/missing.html
______________________________________
plase explain in laymen's terms because my first time hearing about an .htaccess file was thursday.
i have read all the tutorials...did not help me at all!
THANKS IN ADVANCE!!!!!!!!