===================================================================
RCS file: /home/cvs/OpenXM/src/kan96xx/Doc/httpd.sm1,v
retrieving revision 1.3
retrieving revision 1.6
diff -u -p -r1.3 -r1.6
--- OpenXM/src/kan96xx/Doc/httpd.sm1 2001/08/23 02:08:41 1.3
+++ OpenXM/src/kan96xx/Doc/httpd.sm1 2002/10/17 13:40:28 1.6
@@ -1,7 +1,11 @@
-%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd.sm1,v 1.2 2001/08/23 00:49:00 takayama Exp $
+%% $OpenXM: OpenXM/src/kan96xx/Doc/httpd.sm1,v 1.5 2001/09/20 05:57:40 takayama Exp $
%% common modules for httpd on sm1.
/Oxserver_history_variable (Oxserver_history_variable_) def
+/httpd.image.type
+ [(getenv) (OpenXM_PSTOIMG_TYPE)] extension
+def
+
/httpd_startserver {
[(sm1.socket) (open) [httpd.port (localhost)]] extension
/httpd.server.fdAndPort set
@@ -70,7 +74,7 @@
httpd_startserver ;
httpd_action ;
httpd_stopserver ;
- (5 sleep) system
+% (sleep 2) system
httpd.serial 1 add /httpd.serial set
} loop
} def
@@ -89,7 +93,7 @@
0 sendln
() sendln
(Shutdown the engine.
) sendln
- (See you! Web/sm1 ) sendln
+ (See you! Web/asir, Web/sm1 ) sendln
() sendln
0 sendln
[(flush)] extension
@@ -170,6 +174,17 @@
(Content-Type: text/html) sendln
0 sendln
(You cannot execute ox servers without a session key!
) sendln
+ 0 sendln
+ [(flush)] extension
+} def
+
+/send-page-warning-image {
+ (HTTP/0.9 200 OK) sendln
+ (Connection: close) sendln
+ (Content-Type: text/html) sendln
+ 0 sendln
+ (Error: Image translation is not supported on this server
) sendln
+ ( Check the value of the environmental variable OpenXM_PSTOIMG_TYPE
) sendln
0 sendln
[(flush)] extension
} def