View Full Version : multiple .htaccess files
hotmale
June 17th, 2005, 13:49 PM
Is it possible to create two .htaccess files under the same domain?
e.g. one for the entire site mydomain.com and one for mydomain.com/folder
I want to do this 'cause I want to create different custom 404 error pages for two different sections of my site.
petard
June 17th, 2005, 17:27 PM
Your better off configuring .htaccess to use groups and realms. Much information is available at httpd.apache.org, as well as other sources on the web.
hotmale
June 17th, 2005, 19:50 PM
Thanks, petard. I'll look into it, but I'm now a bit busy with rik's post (http://americanthundertv.com/) :p
hotmale
June 19th, 2005, 09:01 AM
Hey! I'm back. Now I couldn't find my way at httpd.apache.org, so I searched Google for ".htaccess groups realms" which brought up many results. None seems to be relevant though :( Do you know a particular guide or tutorial that would help? I'd really appreciate it.
petard
June 19th, 2005, 14:17 PM
http://httpd.apache.org/docs/howto/auth.html
http://httpd.apache.org/docs-2.0/howto/htaccess.html
http://www.apachefreaks.com/apache/howto/auth.html
hotmale
June 19th, 2005, 15:08 PM
Thanks! I'll go through them now.
|
|