About Htaaccess Overridden In Apache

Asked By 0 points N/A Posted on -
qa-featured

Often working on multitenant systems as a user we face the problem of overridden htaaccess or disabled htaaccess, thus all directives in htaaccess are ignored and if we face some configuration issue we cannot modify the access for that specific file or directory. How to work around this problem (provided you have certain level of system access)?

SHARE
Answered By 0 points N/A #116636

About Htaaccess Overridden In Apache

qa-featured

Often apache is configured to disregard directives of the htaaccess file. AllowOverride directive is to be modified here for the htaaccess directory in order to what directives are to be included and what are to be ignored on a specific system. In most cases we are not sure on which configuration file directives have been overridden, it is better to start with the main configuration file that is httpd.conf or apache2.conf. httpd.conf is a virtual host configuration file so look into the way of how our content is being hosted. In the terminal add AllowOverride for the directory of your configuration file or httpd.conf (/etc/httpd/conf.d/virtualhosts.conf) and set AllowOverride to none. Please note that gives penetration testers a chance to change your configuration so it is only a temporary measure.

 

Related Questions