Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 63067 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 63067