Changeset 176 in Main for trunk


Ignore:
Timestamp:
Sep 27, 2024, 6:28:41 AM (7 weeks ago)
Author:
Nishi
Message:

breaking change: Readme has been changed to ReadmeFile

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r173 r176  
    11
    2 Tewi HTTPd version 1.08D
     2Tewi HTTPd version 2.00
    33
    44Original by Nishi <nishi@nishi.boats>
  • trunk/Server/config.c

    r174 r176  
    410410                                                        current->indexes[current->index_count++] = cm_strdup(r[i]);
    411411                                                }
    412                                         } else if(cm_strcaseequ(r[0], "Readme")) {
     412                                        } else if(cm_strcaseequ(r[0], "ReadmeFile")) {
    413413                                                for(i = 1; r[i] != NULL; i++) {
    414414                                                        current->readmes[current->readme_count++] = cm_strdup(r[i]);
  • trunk/Server/tw_version.h

    r174 r176  
    88#endif
    99
    10 #define TW_VERSION "1.09\0"
     10#define TW_VERSION "2.00\0"
    1111
    1212const char* tw_get_version(void);
  • trunk/Tool/genconf.c

    r168 r176  
    4040        printf("DirectoryIndex index.html\n");
    4141        printf("\n");
    42         printf("Readme README\n");
     42        printf("ReadmeFile README\n");
    4343        printf("\n");
    4444        printf("DocumentRoot %s/www\n", argv[1]);
  • trunk/example.conf

    r156 r176  
    2626DirectoryIndex index.html
    2727
    28 Readme README
     28ReadmeFile README
    2929
    3030DocumentRoot /var/www
Note: See TracChangeset for help on using the changeset viewer.