Lines 37-54
Link Here
|
37 |
#define MIME_TYPE_DEFAULT "application/octet-stream" |
37 |
#define MIME_TYPE_DEFAULT "application/octet-stream" |
38 |
|
38 |
|
39 |
/* configuration file location */ |
39 |
/* configuration file location */ |
40 |
#define DEFAULT_CONFIG_LOCATION "/usr/people/multix/pserv/defaults/" |
40 |
#define DEFAULT_CONFIG_LOCATION "/usr/local/etc/" |
41 |
|
41 |
|
42 |
/* hard-wired defaults, if loading of config file fails */ |
42 |
/* hard-wired defaults, if loading of config file fails */ |
43 |
#define DEFAULT_PORT 2000 |
43 |
#define DEFAULT_PORT 2000 |
44 |
#define DEFAULT_MAX_CHILDREN 5 |
44 |
#define DEFAULT_MAX_CHILDREN 5 |
45 |
#define DEFAULT_DOCS_LOCATION "/home/multix/public_html" |
45 |
#define DEFAULT_DOCS_LOCATION "/var/www/localhost/htdocs" |
46 |
#define DEFAULT_FILE_NAME "index.html" |
46 |
#define DEFAULT_FILE_NAME "index.html" |
47 |
#define DEFAULT_SEC_TO 1 |
47 |
#define DEFAULT_SEC_TO 1 |
48 |
#define DEFAULT_USEC_TO 100 |
48 |
#define DEFAULT_USEC_TO 100 |
49 |
#define DEFAULT_LOG_FILE "/home/multix/pserv/pserv.log" |
49 |
#define DEFAULT_LOG_FILE "/var/log/pserv.log" |
50 |
#define DEFAULT_MIME_FILE "/home/multix/pserv/mime_types.dat" |
50 |
#define DEFAULT_MIME_FILE "/usr/local/lib/mime_types.dat" |
51 |
#define DEFAULT_CGI_ROOT "/home/multix/public_html/cgi-bin" |
51 |
#define DEFAULT_CGI_ROOT "/var/www/localhsot/cgi-bin" |
52 |
#define DEFAULT_SERVER_NAME "localhost" |
52 |
#define DEFAULT_SERVER_NAME "localhost" |
53 |
|
53 |
|
54 |
/* amount of connections queued in listening */ |
54 |
/* amount of connections queued in listening */ |