Jump to content

Recommended Posts

Posted

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?


Posted

i didn't understand it.

its like: i saw the thing inside that thing and that thing was something :P

so could u rephrase it :D

i understand that u have a .htaccess in the root, and it does something to other folders?

Posted

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.

Posted

hum.. ill rephrase it

i 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.

Posted (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 by sven
  • 3 weeks later...
Posted

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.

Posted

ErrorDocument 400 /errors/400.php
ErrorDocument 401 /errors/401.php
ErrorDocument 403 /errors/403.php
ErrorDocument 404 /errors/404.php
ErrorDocument 500 /errors/404.php

i want to cancel that and put it back to the default

Posted

Ah, then no need of the CGI script that I initially suggested.

ErrorDocument 400 default
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default

:)

Does it work as wanted, now?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...