[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Changing DocumentRoot from ../web to ../web/
- Subject: RE: [cobalt-users] Changing DocumentRoot from ../web to ../web/
- From: Johan Pretorius <johan@xxxxxxxxxx>
- Date: Tue Sep 4 13:54:02 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Steve,
> It's actually $DOCUMENT_ROOT.
Right ;-)
> That's poor coding then. The DocumentRoot probably never should
> have had a trailing slash.
Agreed ...
> Doing a global search and replace. "rpl" from laffeycomputer.com is
> a good tool for doing just that.
rpl looks great!
> Setting $DOCUMENT_ROOT at the top of each script or in
> a script called by every other script. It's a hack, but it
> will work. $DOCUMENT_ROOT .= '/';
I prefer the rpl route - the above will create more work than adding the
extra slash!
The .htaccess option is also not viable (according to gsh's post) ...
Thanks!
Johan Pretorius
.
. http://host24.com
. Your PHP site. Every time.
.