Re: DOCUMENT_ROOT on Apache
| From: | erythros | Date: | Fri, 06 Dec 2002 20:49:47 +0000 |
| Subject: | Re: DOCUMENT_ROOT on Apache | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17332@lists.php.net to get a copy of this message | ||
<a href ="/test">home</a>
this will build it onto the pre-exsistin web address. so if your at
www.mypage.com and you click that link you'll go to www.mypage.com/test.
"Radovan Radic" <rasho@ving.co.yu> wrote in message
news:20021206190137.26523.qmail@pb1.pair.com...
> 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
> > >
> > >
> >
> >
>
>