Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: .htaccess failed |
|
Author |
|
toosquare
Joined: 27 Mar 2007 Posts: 1
|
Posted: Tue 27 Mar '07 15:48 Post subject: .htaccess failed |
|
|
Hello Everyone,
Thanks for your time first off. I have read through the forums and perhaps I missed a reference, but I am having some errors in my log files that are driving me crazy. While the errors are related to automount and yp, they seem to only happen when I am running apache2. Any tips or leads would be appreciated.
---log file example of errors
Mar 27 09:36:41 servername automount[1112]: attempting to mount entry /home/.htaccess
Mar 27 09:36:41 servername automount[25337]: lookup(yp): lookup for .htaccess failed: No such key in map
Mar 27 09:37:52 servername automount[1112]: attempting to mount entry /home/.htaccess
Mar 27 09:37:52 servername automount[25338]: lookup(yp): lookup for .htaccess failed: No such key in map
Mar 27 09:38:53 servername automount[1112]: attempting to mount entry /home/.htaccess
Mar 27 09:38:53 servername automount[25341]: lookup(yp): lookup for .htaccess failed: No such key in map
--==
Thanks again for any help or tips. |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Tue 27 Mar '07 17:15 Post subject: |
|
|
If you do not use .htaccess files, you can prevent Apache from looking for them by not granting any permissions with the AllowOverride directive.
Make sure you have the directive AllowOverride None in all your <Directory> or <Location> blocks.
-tom- |
|
Back to top |
|
|
|
|
|
|