in reply to Re^2: getting the html to the browser
in thread getting the html to the browser

Do other files of the same file extension download correctly from that particular apache? If you look at the headers of the response, is it sending the correct Content-type header?

Replies are listed 'Best First'.
Re^4: getting the html to the browser
by hesco (Deacon) on Jan 22, 2006 at 04:46 UTC
    OK. So I've added an Alias to the apache configuration to accomodate the cache directory. Do I need to add a new handler to serve up the static content? I can only find handlers for php and cgi. I would have thought apache would handle html by default. I hand wrote a simple test html file in the target directory on the server. trying to browse to it achieves the same result: I'm asked to identify the application the machine should use to open the file as it downloads it.

    How is it I could discern the actual hearders sent by the server? Could I use wget somehow for that purpose?

    -- Hugh

      How is it I could discern the actual hearders sent by the server? Could I use wget somehow for that purpose?

      Try this:
      man wget

      and then this:
      wget -S -O output.html http://domain.com/file.html

      Try manually creating a file in the same directory as the html file. Try foo.txt and foo.html. Check the permissions on the directory itself (and all parent directories) they should be 755.

      Since the question is really Apache related try http://www.webmasterworld.com/forum92/.