Chen
Thu 27th Dec '01, 7:05am
I was just wondering, what happens if I have a .htaccess file in the /htdocs folder, and then another one in the /htdocs/admin folder.
The one in /htdocs only has this thing to redirect 404 messages, and the one in /htdocs/admin[/color] has access restriction with its own .htpasswd file.
Now, what happens if a 404 occurs under the /htdocs/admin folder?
Will it do what the /htdocs .htaccess file says, or will it just show you the regular 404 page?
I didn't test this yet, I'm just wondering what will happen.
Basically my question is, if there is a .htaccess file in a child folder, and it doesn't have a setting that the father's .htaccess file has, will it use the father's setting?
Thanks. :)
The one in /htdocs only has this thing to redirect 404 messages, and the one in /htdocs/admin[/color] has access restriction with its own .htpasswd file.
Now, what happens if a 404 occurs under the /htdocs/admin folder?
Will it do what the /htdocs .htaccess file says, or will it just show you the regular 404 page?
I didn't test this yet, I'm just wondering what will happen.
Basically my question is, if there is a .htaccess file in a child folder, and it doesn't have a setting that the father's .htaccess file has, will it use the father's setting?
Thanks. :)