[PLUG] Apache or PHP configuration problem
Richard C. Steffens
rsteff at comcast.net
Mon Apr 25 04:34:46 UTC 2011
On 04/24/2011 07:59 PM, nathan w wrote:
> if you check the source of the rendered page (i.e. via your browser),
> are the missing page resources actually where the browser's being told
> they are? is that location within your doc root?
Yes.
On my Ubuntu machine DocumentRoot is /var/www/
On my XP machine DocumentRoot is D:\Server\www\public_html
I have an index.php in DocumentRoot on each machine and link to
index.php pages in various projects that are in their own directories in
DocumentRoot. I copied the directory in question from DocumentRoot on my
Ubuntu machine to DocumentRoot on my XP machine without making any changes.
> if it works on new pages you create, maybe it's the old pages that are
> the problem, such as... absolute url references instead of relative?
I'm guessing it probably is a problem with the old pages, but not
absolute vs. relative references. If I take the first <img> tag on the
site, put it in a file called image-test.html, with <html> and <body>
tags around it and open it in Firefox, it displays correctly. I didn't
change anything inside the <img> tag.
Tomorrow I'll start building the problem site's index.php, one piece at
a time, and see what's causing the trouble.
> just throwin' ideas around here.
I appreciate them. Even if they're not directly the answer, they help
lead me to what is.
Thanks.
--
Regards,
Dick Steffens
More information about the PLUG
mailing list