---
title: "index.php?"
type: "forum-thread"
url: "https://www.webforum.nu/amne/webbservrar/90758-index-php"
topic: "Webbservrar"
topic_url: "https://www.webforum.nu/amne/webbservrar"
author: "harry_boy"
published: "2003-11-19T10:24:36.000Z"
updated: "2003-11-19T10:29:00.000Z"
replies: 1
views: 191
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/90758-index-php"
---

# index.php?

## #1 — harry_boy, 2003-11-19T10:24Z

Jag sitter med en pc och har apache installerat. Nu vill jag att när jag anropar typ <http://localhost/index.php> så skall sidan visas och inte lista katalogstrukturen. Hur gör jag detta? Det funkar om jag skriver hela adressen så alla tjänster funkar och php är installerat!

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

## #2 — Gein, 2003-11-19T10:29Z

Kolla i konfigurationsfilen efter DirectoryIndex och lägg till index.php där.

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

---

Tråden på webben: https://www.webforum.nu/amne/webbservrar/90758-index-php
