.htaccess is ignored

.htaccess is ignored

Post by stef » Fri, 08 Mar 2002 21:59:08



after installing apache on win 32 everythink works well. just
.htaccess is not executed, although it is in the right directory,
correctly written etc.
thanx, stefan
 
 
 

.htaccess is ignored

Post by Dan Chiasso » Fri, 08 Mar 2002 23:18:09



> after installing apache on win 32 everythink works well. just
> .htaccess is not executed, although it is in the right directory,
> correctly written etc.
> thanx, stefan

Do you have the "AccessFileName" directive in your Apache config file?
  AccessFileName .htaccess

Also, you need to define specific overrides in the AllowOverride
directive. By default the global AllowOverride is usually set to "None".
example:
   AllowOverride AuthConfig Limit

Consult the Apache Documentation and under the specific directive you
are trying to control (within your .htaccess file), check that
particular directive's "Override" attribute. For example, to use an
ErrorDocument directive in your .htaccess file, you first need to
specify (in you main config file):
AllowOverride FileInfo

see this page for details:
http://httpd.apache.org/docs/mod/directive-dict.html#Override

Good luck,
Dan Chiasson
Systems Administrator

 
 
 

1. .htaccess ignored (yes, I've checked AllowOverride)

Hi. I'm new to this 'Apache' stuff, I have a problem:

I have alredy checked the 'AllowOverride' and set it to 'All'.
I have a bounch of 'RewriteCond' and 'RewriteRule' directives on the
.htaccess file on a site, and they are ignored! The only way I can get
it to work is if I set put a 'ScriptAlias /
/some/non-existing/directory'. In that case, everything works fine,
exept that the variable 'REQUEST_URI' is set to
'/error/fileNotFound.html', and I really need to use that var.. I've
alredy tried 'REDIRECT_REQUEST_URI', and I doesn't work..

What can I do?

Thanks.. Bye..

Ariel.
(sorry if it's not too clear, my english is not very good..)

2. bash install -- no such file or directory?

3. Ignoring .htaccess

4. Adaptec 2400A IDE Raid controller

5. Apache 1.3.9 Ignoring my .htaccess Files

6. lp replacement

7. .htaccess: 'require user' ignored by auth_mysql

8. telnet to ldap port --> verify response

9. .htaccess ignored by Apache 1.3.17

10. ignoring .htaccess file

11. Apache 1.1.1: some .htaccess ignored, others aren't, webmiester confused

12. Apache ignores my .htaccess files

13. Apache ignores Header append in .htaccess