sven Posted February 25, 2005 Share Posted February 25, 2005 i have a .htaccess file in the root folder. i want to get rid of all teh changes it does in another folder inside that root folder. is there a way? Link to comment Share on other sites More sharing options...
XtremeMaC Posted February 25, 2005 Share Posted February 25, 2005 i didn't understand it.its like: i saw the thing inside that thing and that thing was something so could u rephrase it i understand that u have a .htaccess in the root, and it does something to other folders? Link to comment Share on other sites More sharing options...
prathapml Posted February 26, 2005 Share Posted February 26, 2005 I saw a CGI app that does this - manipulating .htaccess with specific controls for each file-folder graphically.....If not found, or need more info, please PM me. Link to comment Share on other sites More sharing options...
sven Posted February 26, 2005 Author Share Posted February 26, 2005 hum.. ill rephrase iti have my website root folder "htdocs". inside theres a .htaccess file (using apache).theres another folder "htdocs/Macbeth". the problem is that the .htacess file in htdocs still modifies the setting in the other folder (macbeth) because thats how apache works. i need a way to cancel the settings from the .htaccess so they dont get used in the Macbeth folder. Link to comment Share on other sites More sharing options...
prathapml Posted February 26, 2005 Share Posted February 26, 2005 I got what ya meant, lol.That's exactly what this app does. Link to comment Share on other sites More sharing options...
sven Posted February 27, 2005 Author Share Posted February 27, 2005 (edited) good good, what is it?its not to modify passwor stuff, tis to cancel the error pages, i want it to go to the default browser ones. Edited February 27, 2005 by sven Link to comment Share on other sites More sharing options...
prathapml Posted March 14, 2005 Share Posted March 14, 2005 Hmm...Got it done yet?If you don't want to use external apps, then just make another .htaccess to put in your folder, with the exact opposite directives of the one on top of all folders. We could help if you posted what the _initial_ access file said, so that we could work out the opposite of it. Link to comment Share on other sites More sharing options...
sven Posted March 16, 2005 Author Share Posted March 16, 2005 ErrorDocument 400 /errors/400.phpErrorDocument 401 /errors/401.phpErrorDocument 403 /errors/403.phpErrorDocument 404 /errors/404.phpErrorDocument 500 /errors/404.phpi want to cancel that and put it back to the default Link to comment Share on other sites More sharing options...
prathapml Posted March 16, 2005 Share Posted March 16, 2005 Ah, then no need of the CGI script that I initially suggested.ErrorDocument 400 defaultErrorDocument 401 defaultErrorDocument 403 defaultErrorDocument 404 defaultErrorDocument 500 default Does it work as wanted, now? Link to comment Share on other sites More sharing options...
sven Posted March 16, 2005 Author Share Posted March 16, 2005 perfect, it works. maybe i should work on my english to explain more clearly Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now