Forum Moderators: phranque

Message Too Old, No Replies

Apache won't serve DW2004 sample site

site viewable in browser from file:/// but not URL

         

mvpmedia

9:52 pm on Sep 1, 2005 (gmt 0)



Hi,
I'm a new Apache user, and I'm using DreamWeaver 2004 on a Mac (10.4.2) to author sites. I recently set up an Apache 2 server on a Linux Fedora Core 3 machine. I've been going through the Dreamweaver tutorial, and I uploaded the code for the FinalSite demo web page (the one that says "Trio Motors") to my server.
- the permissions are set correctly
- all the code is in the correct location (var/www/html).
When I open Firefox on the server and browse the file using file:///.... it works great.
However, when I go to my website URL, I only get a blank page. When I view the source code (from Firefox's view->source) all that is listed is "<html><body></body></html>". As a test to make sure that Apache can serve files, I wrote a simple index.html file that displays "test" and I was able to load that page just fine from the URL, but I can't view the "Trio Motors" sample site.

Do I need to set some setting in Apache to allow xhtml or xml? I looked in the /etc/mime.types file and it looks like this is already set up.

I appreciate any help, thank you,
Matt Martin

[edited by: jatar_k at 3:53 am (utc) on Sep. 2, 2005]
[edit reason] no urls thanks [/edit]