|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
howa wrote:
> For example, if 404 not foudn on A.html, ignore it and don't record on > the error log, other 404 not found will be logged > > is it possible to do this? > > thanks. > Try something like this (untested): UnsetEnv DontLogAccess SetEnvIf Request_URI ^/A.html$ DontLogAccess CustomLog <log file spec> combined env=!DontLogAccess The above sets the env var if it is the file you don't want to log. The CustomLog directive adds the condition that the env var not be set. I use something similar to put various access requests in different log files. Jim |
|
![]() |
| Outils de la discussion | |
|
|