SRE-http

The SRE-http http/1.1 web server

Some common SRE-http Problems .... and solutions


Herein, you (the perhaps-flustered-reader) may find some simple solutions to some vexing & annoying problems.
The problem The solution More details...

GoServe doesn't want to remember that it's supposed to use SRE-http. Assuming you start GoServe from the desktop (from an icon) ...
  • Open the GoServe object (right-mouse-button on the icon) and insert the following in the parameters field:
    http filter srefiltr.80 reuse
    You should also make sure that the Working Directory
    Wo field points to the directory containing SREFILTR.80 (this need not be the directory that contains GOSERVE.EXE).
  • See the Installation section of the SRE-http manual for further details.
    I change an HTML document, but when I tell my browser to redisplay it, nothing has changed. Assuming you haven't changed the wrong file, and that NetScape isn't being stubborn, this can (rarely) happen when SRE-http returns a cached version of the document. You can append a /!FORCE/ before the URL and try again. Or, you can resave the file (and thereby change it's date stamp) SSICACHE.HTM contains an in-depth discussion of SRE-http's SSI caching algorithim.
    I want to specify a set of default documents to use (on a directory specific basis) You can use the simple configurator to change the default documents. Or, you can modify the AUTO_NAME variable in INITFILT.80 The SRE-http manual discusses the various default document options.
    I can't get the hit counters to work Check the status of the HIT_OWNER_SUPPRESS and HIT_CACHE_LEN parameters -- if they are enabled, SRE-http may be doing you the favor of not augmenting the hit counter. If you are using COUNTER.RXX, you might also want to check that you've created the appropriate .CNT file. For details on the HIT_OWNER_SUPPRESS and HIT_CACHE_LEN variables, see INITFILT.DOC. You might also want to try the hit-counter demo on the SRE-http home page. For those who want to get down and dirty, the description of COUNTER.RXX is recommended.
    When I use URL-specific access controls, the client isn't given a change to enter his username and password The ACCESS_FAIL_FILE might be enabled. You can disable it, or customize it. The SRE-http manual, and the user's guide, discuss the use of custom responses.
    I can't get the ~ (home directory) to work Did you specify the HOME_DIR variable as a relative directory. That is, it should not be a fully qualified directory. Look in the SRE-http manual, or the INITFILT.DOC file for details on the HOME_DIR variable.
    I'm having trouble with virtual directories Remember, virtual directories are for directories, not for files. So, when you specify a virtual directory, do not enter a file name. The add virtual directories option of the simple mode configurator contains a careful description of how to specify (and use) virtual directories.
    The configurator colors are ugly On some monitors/video cards, the green colors used as configurator backgrounds look terrible. It's easy to changes these default colors -- just invoke /CONFIGUR.HTM and look for the link that allows you to change the colors.
    File uploads are flakey You should examine your limits-settings (in the GoServe options window). Do you have the latest version of GoServe (ver 2.52)
    I'm running Object Rexx, and SRE-http doesn't work For several reasons, SRE-http ver 1.3a will not work under Object Rexx. However, you can try a special version of 1.2g. Look in the "old stuff" section of the SRE-http home page for copies of ver 1.2g.