12 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/rc
 | |
| rfork n
 | |
| 
 | |
| # Route requests to werc.
 | |
| # Change the werc path to match your system.
 | |
| if(~ $SERVER_NAME *){
 | |
| 	PATH_INFO=$location
 | |
| 	FS_ROOT=/home/sl/www/werc/sites/$SERVER_NAME
 | |
| 	exec static-or-cgi /home/sl/www/werc/bin/werc.rc
 | |
| }
 | |
| if not
 | |
| 	error 503
 | 
