logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: conf file (mod_view) with log_rotate, HOW ?
Author
AlienZzzz



Joined: 31 Mar 2006
Posts: 4
Location: moscow

PostPosted: Wed 05 Apr '06 11:14    Post subject: conf file (mod_view) with log_rotate, HOW ? Reply with quote

i have folder logs, but i cant conf AliasMatch =(
help
AliasMatch "^/log/(access|error)([._]log)?" "/logs/$1$2"
my logs filder have these files
access.sbr.log.1144238400 - Access log for sbr v.host
error.log - Error log for apache
httpd.pid - =)
error.php.log - All error for php
access.log.1144238400 - Access log for apache
error.sbr.log - Error log for sbr v.host
sec.log - Security log (mod_sec)
___
How i need set AliasMatch, that mod_view work fine(with arguments like tail and refresh)
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Wed 05 Apr '06 11:25    Post subject: Reply with quote

I think you have to use the <FilesMatch> Directive


Steffen
Back to top
AlienZzzz



Joined: 31 Mar 2006
Posts: 4
Location: moscow

PostPosted: Wed 05 Apr '06 11:26    Post subject: Reply with quote

Steffen wrote:
I think you have to use the <FilesMatch> Directive


Steffen

can give me example ?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Wed 05 Apr '06 22:40    Post subject: Reply with quote

http://httpd.apache.org/docs/2.2/mod/core.html#filesmatch
Back to top


Reply to topic   Topic: conf file (mod_view) with log_rotate, HOW ? View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules