- Timestamp:
- Sep 23, 2024, 6:39:28 PM (8 weeks ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/config.c
r123 r127 245 245 } else { 246 246 chdir(r[1]); 247 free(config.server_root); 248 config.server_root = cm_strdup(r[1]); 247 249 } 248 250 } else if(cm_strcaseequ(r[0], "DocumentRoot")) { … … 296 298 } 297 299 } else { 300 cm_log("Config", "Could not load the module at line %d", ln); 298 301 stop = 1; 299 302 break; -
trunk/example.conf
r74 r127 2 2 # This is an example config 3 3 4 #LoadModule /home/nishi/SVN/tewi/trunk/Module/mod_cgi.so 4 ServerRoot /home/nishi/SVN/tewi/trunk 5 6 #LoadModule Module/mod_cgi.so 7 LoadModule Module/mod_proxy.so 5 8 6 9 Listen 80 … … 27 30 DocumentRoot /var/www 28 31 29 BeginDirectory / 30 Allow all 31 EndDirectory 32 33 BeginDirectory /var/www/cgi-bin 34 # AllowCGI 35 EndDirectory 32 ProxyPass
Note:
See TracChangeset
for help on using the changeset viewer.