Changeset 131 in Main for trunk/Tool


Ignore:
Timestamp:
Sep 23, 2024, 7:30:00 PM (8 weeks ago)
Author:
Nishi
Message:

fix genconf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tool/genconf.c

    r129 r131  
    66
    77int main(int argc, char** argv) {
    8         if(argc < 2) {
     8        if(argc < 4) {
    99                return 1;
    1010        }
     
    1919        printf("ServerAdmin %s\n", SERVER_ADMIN);
    2020        printf("\n");
    21         printf("LoadModule lib/tewi/mod_cgi.so\n");
    22         printf("#LoadModule lib/tewi/mod_proxy.so\n");
     21        printf("LoadModule %s/mod_cgi.%s\n", argv[2], argv[3]);
     22        printf("#LoadModule %s/mod_proxy.%s\n", argv[2], argv[3]);
    2323        printf("\n");
    2424        printf("Listen 80\n");
Note: See TracChangeset for help on using the changeset viewer.