---
title: "Visa endast txt filändelser i Apache?!"
type: "forum-thread"
url: "https://www.webforum.nu/amne/webbservrar/68963-visa-endast-txt-filändelser-i-apache"
topic: "Webbservrar"
topic_url: "https://www.webforum.nu/amne/webbservrar"
author: "Dr-man"
published: "2003-02-21T12:35:40.000Z"
updated: "2003-02-24T11:13:13.000Z"
replies: 1
views: 243
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/webbservrar/68963-visa-endast-txt-filändelser-i-apache"
---

# Visa endast txt filändelser i Apache?!

## #1 — Dr-man, 2003-02-21T12:35Z

Kan man i Apache göra så att den visar i en mapp endast filer 
med filändelsen \*.txt?

Permalänk: https://www.webforum.nu/p/68963

## #2 — jarvklo, 2003-02-24T11:13Z

Hmm...
Kanske omständigt - men du kan ju utesluta alla utom \*.txt med [IndexIgnore](http://httpd.apache.org/docs/mod/mod_autoindex.html#indexignore)...

> **httpd.conf skrev:**
>
> \#
>     \# IndexIgnore is a set of filenames which directory indexing should ignore
>     \# and not include in the listing.  Shell-style wildcarding is permitted.
>     \#
>     IndexIgnore .??\* \*\~ \*# HEADER\* README\* RCS CVS \*,v \*,t

Permalänk: https://www.webforum.nu/p/959829

---

Tråden på webben: https://www.webforum.nu/amne/webbservrar/68963-visa-endast-txt-filändelser-i-apache
