[Xitami] lrwp test program...

bernd hohmann xitami@lists.xitami.org
Fri, 13 Sep 2002 19:07:06 +0100 (MEZ)


On Fri, 13 Sep 2002 09:30:31 -0700, Joseph Saunders wrote:

> Browsing http://10.45.55.9/lcgi results in a browser generated 403 page
> (HTTP Error 403 - Forbidden)

[...]

>10.45.55.43 - - [13/Sep/2002:16:15:00 +0000] "GET /lcgi HTTP/1.1" 403 0 "" 
>10.45.55.43 - - [13/Sep/2002:16:15:17 +0000] "GET /mega HTTP/1.1" 200 115433

/lcgi doesn't work, /mega does. hmm. don't know if there are any
changes in the protocol syntax between 2.4d4 and d9

>Another question, in the above access.log, why is there a 304 for every HTTP request?
>Is there a configuration parameter that causes this behavior?

304 means "not modified". if your browser has the most recent copy of
the graphics and webpages in the cache, xitami will return an 304
instead of the requested data.

you cannot switch off xitamis caching behaviour (only for the files
configured with "default1=..." to disable caching of your default files
like /index.html"

to disable caching try smthttpl.c line 2139 :

if (p_http-> default_page
  && *HCONFIG ("server:cache-defaults") == '0')
   return;

bernd