php.de

Zurück   php.de > Webentwicklung > Server, Hosting und Workstations

Server, Hosting und Workstations Server-Konfigurationsdateien (.htaccess/httpd.conf) und Arbeiten auf Serverebene

Antwort
 
LinkBack Themen-Optionen Thema bewerten
Alt 10.07.2005, 22:38  
Gast
 
Beiträge: n/a
Standard [Erledigt] Bei 127.0.0.1 kommt immer /xampp/splash.php

Hab XAMPP installiert und das htdocs-Verzeichnis mal freigeräumt.
Jetzt:
Bei Engabe von 127.0.0.1 im Browser wird immer /xampp/splash.php geparst. Wieso?
Ich hab aber doch nur eine index.php im htdocs-Verzeichnis.
Wo änder ich das ????
In der httpd.conf ???????????????????

Danke für Hilfe.

Gruß
SmooFX
  Mit Zitat antworten
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 11.07.2005, 00:39  
Benutzer
 
Registriert seit: 21.06.2005
Beiträge: 30
SolcoDerman
Standard

du legst am besten das root verzeichnis , komplett wo anders hin:

das machst du in der httpd.conf

in der Zeile wo steht:
DocumentRoot "x:\html" und in der zeile wo steht:

<Directory "x:\html">

jenachdem wo das verzeichnis liegen soll

Solco
__________________
Meine Seite
SolcoDerman ist offline   Mit Zitat antworten
Alt 11.07.2005, 01:46  
Gast
 
Beiträge: n/a
Standard

in xamp/htdocs liegt eine index.html mit folgendem Inhalt
Code:
<html>
<head>
<meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang">
<meta http-equiv="refresh" content="0;url=/xampp/splash.php">
</head>
<body bgcolor=#ffffff>
</body>
</html>
Ebenfalls liegt dort eine index.php
PHP-Code:
<?
    
if(file_get_contents("lang.tmp")=="")
    {
        
header("Location: splash.php");    
        exit();
    }
?>
<html>
<head>
<link REL="icon" HREF="img/xampp.ico">
<meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang">
<?include("lang/".file_get_contents("lang.tmp").".php"); ?>
<title><?=$TEXT['global-xampp']?> <?include('.version');?></title>

<frameset rows="68,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
    <frame name="head" src="head.php" scrolling=no>
<frameset cols="170,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
    <frame name="navi" src="navi.php" scrolling=auto>
    <frame name="content" src="start.php" marginwidth=20>
</frameset>
</frameset>
</head>
<body bgcolor=#ffffff>
</body>
</html>
Die serverweite Konfiguration
Zitat:
DirectoryIndex index.html index.htm index.php index.php4 index.php3 index.cgi index.pl index.html.var index.phtml
sieht vor, dass die index.html vor index.php geht

siehe auch: http://httpd.apache.org/docs-2.0/mod...directoryindex
  Mit Zitat antworten
Alt 11.07.2005, 12:33  
Benutzer
 
Registriert seit: 21.06.2005
Beiträge: 30
SolcoDerman
Standard

ja, du kannst in der index.html
den Wert

PHP-Code:
<?php

<meta http-equiv="refresh" content="0;url=/xampp/splash.php">

?>
ändern,
oder halt das ganze Verzeichnis auslagern, wie oben beschrieben.
__________________
Meine Seite
SolcoDerman ist offline   Mit Zitat antworten
Antwort


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Mod Rewrite: home.php zu index.php?content=home greift nicht PsychoEagle Server, Hosting und Workstations 9 17.01.2008 15:13
localhost / Variabeln in header() RoDa PHP Tipps 2005 11 02.05.2005 14:37
Session Problem beim Login PHP Tipps 2004-2 6 15.12.2004 09:37

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
xampp splash.php, splash.php, xampp splash, localhost/xampp/splash.php, xampp file_get_contents, komme imm auf /xampp/index, http localhost xampp splash.php, was ist splash.php, location: splash.php, splash.php was ist das, xampp im browser nur splash, was sind splash.php, splash.php geht nicht, was bedeutet splash.php, header(\'location: \'.$uri.\'/xampp/splash.php\');, xampp startet splash.php, xampp splash geht index nicht, splash.php seite, host datei windows, immer verlinkung auf localhost/xampp

Alle Zeitangaben in WEZ +2. Es ist jetzt 22:34 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.