Re: DOCUMENT_ROOT on Apache

From: Date: Fri, 06 Dec 2002 19:02:51 +0000
Subject: Re: DOCUMENT_ROOT on Apache
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-17325@lists.php.net to get a copy of this message
Ok, what should i do ot get http://localhost/test I need this do make a link to homepage (i got same app on more servers and i dont want to hard-code in every page ) Radovan "Erythros" <erythros@erythros.d2g.com> wrote in message news:20021206183509.7999.qmail@pb1.pair.com... > because your asking for the document root, ie: the directory root. > > "Radovan Radic" <rasho@ving.co.yu> wrote in message > news:20021206170947.36448.qmail@pb1.pair.com... > > Hi > > > > I installed Apache 1.3.27 on w2k, after using IIS. > > When i try to output > > print "<A HREF=\"$DOCUMENT_ROOT\">Home</A>; > > it gives me A HREF="c:/inetpub/wwwroot/test/" > > instead of > > http://localhost/test > > Why is that? > > > > Radovan > > > > > >

« previous php.windows (#17325) next »