---
title: "AWStats und access_log"
url: "https://www.typo3.net/d/11952-awstats-und-access-log"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2004-05-30"
last_reply: "2010-05-07"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# AWStats und access_log

Extensions · 1 Antwort · gestartet 2004-05-30

## Eröffnungsbeitrag

**coolcactus** · 2004-05-30 · [Beitrag #1](https://www.typo3.net/d/11952-awstats-und-access-log/1)

Mein Server hinterlegt die Log-Datei als "access_log", cc_awstats erwartet aber entweder "*.log" oder "*log*.txt". Kann ich awstats überzeugen, auch "access_log" zu akzeptieren? Wie gehe ich am Besten vor?

Ich wette, diese Frage wurde irgendwo schon beantwortet - ich habe aber trotz intensiver Suche nichts gefunden und das Herumspielen an awstats.conf hat auch nichts gebracht. Bin dankbar für einen Hinweis!

## Antworten

### [#2](https://www.typo3.net/d/11952-awstats-und-access-log/2) · freshman17 · 2010-05-07

Schon sehr alt aber vieleicht doch noch nützlich

in der Datei typo3conf/ext/cc_awstats/mod1/index.php Zeile ~ 385

```php
if (@is_file($this->MCONF['logfile_dir'].$entry) && (preg_match("/.*log.*\.txt/i", $entry) OR preg_match("/.*\.log/i", $entry))) {
```

das daraus machen:

```php
if (@is_file($this->MCONF['logfile_dir'].$entry) && (preg_match("/.*log.*\.txt/i", $entry) OR preg_match("/.*\.log/i", $entry) OR preg_match("/access_log/i", $entry))) {
```

---

Quelle: „AWStats und access_log“, typo3.net, https://www.typo3.net/d/11952-awstats-und-access-log
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
