You are here: PSPad forum > České diskuzní fórum > "Nahled HTML z web serveru" ma potize s adresou

"Nahled HTML z web serveru" ma potize s adresou

#1 "Nahled HTML z web serveru" ma potize s adresou

Posted by: kalivoda | Date: 04/22/2007 17:17 | IP: IP Logged

Pouzivam Apache 2.4 a mam webroot na "E:\WebRoot" a pod ním jednotlive weby. Z IE to na "localhost" funguje.

Kdyz ale zkusim na otevreny soubor v nekterem z nich funkci "Nahled HTML z web serveru", hleda PSPad adresu "http://localhost/WebRoot/Web/soubor.php" misto "http://localhost/Web/soubor.php" a samozrejme nic nenajde. Delam nejakou chybu? Dekuji.

Honza

Options: Reply | Quote | Up ^


#2 Re: "Nahled HTML z web serveru" ma potize s adresou

Posted by: pspad | Date: 04/22/2007 18:01 | IP: IP Logged

Nastaveni programu / Webserver
Je nastaveno E:\WebRoot jako Document Root?
Pokud pouzivate projekty, je mozne to nastaveni mit individualni pro kazdy projekt

Options: Reply | Quote | Up ^


#3 Re: "Nahled HTML z web serveru" ma potize s adresou

Posted by: kalivoda | Date: 04/22/2007 18:17 | IP: IP Logged

V Apache mam jako "DocumentRoot" nastaveny "E:/WebRoot". Vizte nize snippet z httpd.conf .

Nenasel jsem volbu "DocumentRoot" v PSPadu - nepouzivam projekty. Pokud neni jina volba, zkusim to s nimi. Bez nich to s touto funkci nahledu nejde? Dekuji.

Honza

=======
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
#DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
DocumentRoot "E:/WebRoot"

Options: Reply | Quote | Up ^


#4 Re: "Nahled HTML z web serveru" ma potize s adresou

Posted by: kalivoda | Date: 04/22/2007 18:20 | IP: IP Logged

Pardon, uz mi cvaklo. Uz je to v poradku. Moje chyba.

Velmi dekuji za rychle trknuti.

Honza

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2014 Jan Fiala
Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák