Posted by Jerry Stuckle on 07/18/05 05:54
mark wrote:
> Thanks Jerry, the trouble I have is that my hosting provider sets the
> document root to /home so if I was to use absolute paths I would have to
> do somethign like
>
> /home/path/to/the/public_html/images/image1.gif
>
> which is a bit long winded. I could store it in a variable but it would
> be better if I could set document root to the public_html folder. Do you
> know how I can do this with out changing the httpd.conf file?
>
> Thanks.
>
>
Mark,
No, you can't change this without access to the httpd.conf file.
However - I'd be VERY surprised if the document root is set to /home. This is
the default directory for your web site; it should NOT be home.
I suspect your real document root is something/public_html (or something
similar). That's what's standard; if it isn't your entire web site would be broken.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|