---
title: "sitepath not specified correctly"
url: "https://www.typo3.net/d/19054-sitepath-not-specified-correctly"
source: "typo3.net"
tags: ["Hosting","Lokale Umgebung","Frage"]
created: "2004-12-12"
last_reply: "2004-12-14"
replies: 6
solved: false
page: 1
pages: 1
lang: "de"
---

# sitepath not specified correctly

Hosting › Lokale Umgebung · 6 Antworten · gestartet 2004-12-12

## Eröffnungsbeitrag

**wrnr** · 2004-12-12 · [Beitrag #1](https://www.typo3.net/d/19054-sitepath-not-specified-correctly/1)

Habe auf meinem Rechner (NT4, SP6) schon seit längerem Apache 2.0.50  installiert. Vor einiger Zeit dann noch PHP 5.0.2 und MySQL 4.1.7. Hab mir für Typo3 im Apache einen Virtual Server ("typo3) angelegt.

Wollte jetzt Typo3 - die quickstart-Version installieren, beim Aufruf  von <http://typo3/quickstart/typo3/install/index.php> kommt die
Fehlermeldung:

Error in init.php: sitepath not specified correctly.

This happens if the last 6 characters of this path, /, ($temp_path) is
NOT 'typo3/' for some reason.
Or did you set constant TYPO3_MOD_PATH in your module?
If you expect any help from anybody on this issue, you should save this page as an html document and send it along with your request for help!

Array
(
     [TYPO3_OS] => WIN
     [PATH_thisScript] =>
     [php_sapi_name()] => apache2handler
     [TYPO3_MOD_PATH] => install/
     [PATH_TRANSLATED] =>
     [SCRIPT_FILENAME] =>
)

Das nachfolgende phpinfo zeigt dies:

System 	Windows NT WS 4.0 build 1381
Build Date 	Sep 24 2004 01:24:24
Configure Command 	cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared"
Server API 	Apache 2.0 Handler
Virtual Directory Support 	enabled
Configuration File (php.ini) Path 	D:Apache2php.ini
PHP API 	20031224
PHP Extension 	20040412
Zend Extension 	220040412
Debug Build 	no
Thread Safety 	enabled
IPv6 Support 	enabled
Registered PHP Streams 	php, file, http, ftp, compress.zlib
Registered Stream Socket Transports 	tcp, udp

In der Section Apache Environment:

HTTP_HOST 	typo3
HTTP_USER_AGENT 	Mozilla/5.0 (Windows; U; WinNT4.0; de-DE; rv:1.7.5)
Gecko/20041108 Firefox/1.0
HTTP_ACCEPT
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE 	de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_ACCEPT_ENCODING 	gzip,deflate
HTTP_ACCEPT_CHARSET 	ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 	300
HTTP_CONNECTION 	keep-alive
PATH
d:imagemagick-6.1.5-q16;d:perlin;C:perlin;C:WINNTsystem32;C:WINNT;d:php5;d:php5ext
SystemRoot 	C:WINNT
COMSPEC 	C:WINNTsystem32cmd.exe
PATHEXT 	.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
WINDIR 	C:WINNT
SERVER_SIGNATURE 	<address>Apache/2.0.50 (Win32) PHP/5.0.2 Server at
typo3 Port 80</address>
SERVER_SOFTWARE 	Apache/2.0.50 (Win32) PHP/5.0.2
SERVER_NAME 	typo3
SERVER_ADDR 	127.0.0.1
SERVER_PORT 	80
REMOTE_ADDR 	127.0.0.1
DOCUMENT_ROOT 	F:/webserver/sites/typo3
SERVER_ADMIN 	mail at adresse.de
SCRIPT_FILENAME 	F:/webserver/sites/typo3/quickstart/typo3/install/index.php
REMOTE_PORT 	1517
GATEWAY_INTERFACE 	CGI/1.1
SERVER_PROTOCOL 	HTTP/1.1
REQUEST_METHOD 	GET
QUERY_STRING 	no value
REQUEST_URI 	/quickstart/typo3/install/index.php
SCRIPT_NAME 	/quickstart/typo3/install/index.php

Hab schon in verschiedenen Foren rumgewühlt, aber die Tipps halfen mir leider nicht weiter. Habe darunter auch mal gelesen, daß es am Apache 2 liegen kann. Fände ich aber eigenartig, wenn typo3 damit nicht funktioniert. Könnte ich dann den 1.3er Apache parallel fahren? Soll ich die WAMPP-Variante wählen, muß ich dafür PHP und MySQL wieder deinstallieren?

Vielen Dank für Hilfe.

gruß - werner

## Antworten

### [#2](https://www.typo3.net/d/19054-sitepath-not-specified-correctly/2) · mstuebner · 2004-12-12

> **wrnr schrieb:**
>
> Habe auf meinem Rechner (NT4, SP6) schon seit längerem Apache 2.0.50  installiert. Vor einiger Zeit dann noch PHP 5.0.2 und MySQL 4.1.7. Hab mir für Typo3 im Apache einen Virtual Server ("typo3) angelegt.
>
> Wollte jetzt Typo3 - die quickstart-Version installieren, beim Aufruf  von <http://typo3/quickstart/typo3/install/index.php> kommt die
> Fehlermeldung:
>
> Error in init.php: sitepath not specified correctly.
>
> This happens if the last 6 characters of this path, /, ($temp_path) is
> NOT 'typo3/' for some reason.
> Or did you set constant TYPO3_MOD_PATH in your module?
> If you expect any help from anybody on this issue, you should save this page as an html document and send it along with your request for help!
>
> Array
> (
>      [TYPO3_OS] => WIN
>      [PATH_thisScript] =>
>      [php_sapi_name()] => apache2handler
>      [TYPO3_MOD_PATH] => install/
>      [PATH_TRANSLATED] =>
>      [SCRIPT_FILENAME] =>
> )

Kann es sein, dass php als CGI läuft und nicht als Modul?

### [#3](https://www.typo3.net/d/19054-sitepath-not-specified-correctly/3) · wrnr · 2004-12-12

Danke für den Hinweis.  :D

Kann sein, wie kann ich das sicher nachprüfen? Gibt es eine Möglichkeit, beide Varianten zu verwenden, für den Fall, daß ein anderes Programm (shop) dann die CGI-Variante braucht?

werner

### [#4](https://www.typo3.net/d/19054-sitepath-not-specified-correctly/4) · mstuebner · 2004-12-12

> **wrnr schrieb:**
>
> Kann sein, wie kann ich das sicher nachprüfen?

Indem man weis was man installiert hat? ;-) Bei CGI sollte in der Apacheconf kein mod_php vorkommen.

> **wrnr schrieb:**
>
> Gibt es eine Möglichkeit, beide Varianten zu verwenden, für den Fall, daß ein anderes Programm (shop) dann die CGI-Variante braucht?

Das kann man auch auf vHost-Basis konfigurieren (teilweise).

### [#5](https://www.typo3.net/d/19054-sitepath-not-specified-correctly/5) · wrnr · 2004-12-14

Danke für den Hinweis. mod_php ist drin. Hab mich an den Apache-feature-Artikel von selfaktuell orientiert. Php läuft.

Hab jetzt Version 3.7 quickstart genommen, in der Hoffnung, daß es hiermit besser geht. Resultat: überhaupt keine Ausgabe beim Aufruf von typo3/quickstart/typo3/install/index.php  o.O

Was tun?

gruß - werner

### [#6](https://www.typo3.net/d/19054-sitepath-not-specified-correctly/6) · mstuebner · 2004-12-14

> **wrnr schrieb:**
>
> Hab jetzt Version 3.7 quickstart genommen, in der Hoffnung, daß es hiermit besser geht. Resultat: überhaupt keine Ausgabe beim Aufruf von typo3/quickstart/typo3/install/index.php  o.O
>
> Was tun?

Gute Frage ohne das System zu sehen. Vergleichbares (NT4 etc. habe ich "leider" nicht zur Verfügung.

### [#7](https://www.typo3.net/d/19054-sitepath-not-specified-correctly/7) · wrnr · 2004-12-14

Habe jetzt die Dummy-Version installiert. Da ging es problemlos. War aber erst etwas erschlagen wegen der vielen Einstellmöglichkeiten, und die Verbindung mit der Datenbank klappte nicht gleich -> aber auch schon gelöst.

Danke für die Unterstützung. Bin schon gespannt aufs nächste Installieren am Webspace.  ;)

werner

---

Quelle: „sitepath not specified correctly“, typo3.net, https://www.typo3.net/d/19054-sitepath-not-specified-correctly
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
