Annotation of OpenXM/src/asir-port/cgi/install-ja.txt, Revision 1.4
1.4 ! takayama 1: $Id: cgi-asir-ja.txt,v 1.5 2005/02/27 07:09:15 taka Exp $
! 2: $OpenXM: OpenXM/src/asir-port/cgi/install-ja.txt,v 1.3 2005/02/27 07:08:11 takayama Exp $
1.1 takayama 3: cgi-asir.sh $B$N%$%s%9%H!<%kJ}K!(B.
4:
5: 0. cgi $B$r<B9T2DG=$J(B apache $B$rMQ0U$9$k(B.
6:
7: 1. cgi-asir.sh $B$r(B /var/www/cgi-bin $BEy$N(B apache $B$N(B cgi $B%G%#%l%/%H%j$X(B
8: $BCV$/(B.
9:
10: 2. cgi-asir.sh $B$N(B
11: source $(OpenXM_HOME)/rc/dot.bashrc
12: $B$r(B OpenXM $B$r%$%s%9%H!<%k$7$?(B directory $B$N@dBP%Q%9$rFI$_9~$`$h$&$KJQ99(B.
13: $BNc!'(B source /home/taka/OpenXM/rc/dot.bashrc
14:
15: $BCm0U(B: OpenXM $B$r%$%s%9%H!<%k$7$?(B directory $B$O(B nobody $B$,FI$_9~$_(B, $B<B9T2D(B
16: $B$G$"$k$3$H(B. $B$?$H$($P(B 755.
17: Fedora Core $B$G$O%[!<%`$,(B 700 $B$H$J$C$F$$$k$N$GCm0U(B.
18:
19: 3. $B@5$7$/F0$$$F$$$k$+(B, $B$?$H$($P(B
20: http://polymake.math.kobe-u.ac.jp/cgi-bin/cgi-asir.sh
21: $B$_$?$$$J46$8$G%F%9%H(B.
22:
23: Q. $B%F%9%H$7$F$bF0$-$^$;$s(B. $B%A%'%C%/$9$Y$-$3$H$r65$($F$/$@$5$$(B.
1.2 takayama 24: A. httpd $B%5!<%P$N(B log (/var/log/httpd/access_log $B$J$I(B) $B$r$^$:8+$F$/$@$5$$(B.
1.1 takayama 25: ---------------------------------------------------
26:
27: $B$H$j$"$($:F0$/>uBV$K$J$C$?$i(B
28: (A) $B8x3+$9$k%i%$%V%i%j4X?t$r7h$a$k(B.
29: (B) $B8x3+$9$k%i%$%V%i%j4X?t$rFI$_9~$`$h$&$K$9$k(B.
30: (C) $B7W;;;~4V$N>e8B$r7h$a$k(B.
31:
32: (A), (B), (C) $B$NJQ99$OB(:B$K(B web server $B$KH?1G$5$l$k(B.
33: httpd $B$N%j%9%?!<%H$OI,MW$J$$(B.
34: ----------- $B>\:Y(B ----------------------
35: (A) $B8x3+$9$k%i%$%V%i%j4X?t$r7h$a$k(B.
36:
37: $BNc(B: $B8x3+$9$kFH<+%i%$%V%i%j4X?t$,$"$l$P(B,
38: /home/nakayama/myasir.rr $B$K=q$/(B.
39:
40: $B8x3+4X?t$,(B afo1(), afo2() $B$N>l9g(B,
41: myasir.rr $B$N:G8e$K(B
42:
43: Cgi_asir_allow=["afo1","afo2"]$
44: map(set_secure_flag,Cgi_asir_allow,1)$
45:
46: $B$r=q$$$F$*$/(B.
47: $BJQ?tL>(B Cgi_asir_allow $B$OJQ99$7$J$$$3$H(B.
48:
49:
50: $BFH<+%i%$%V%i%j4X?t$,L5$$>l9g$G$b(B, $B8x3+$9$k4X?tL>$r(B
51: $B>e$NJ}K!$G=q$$$F$*$/(B.
52:
53: $BCm0U(B: $B8x3+$9$k4X?t$O(B cgi-asir.sh $B$N4D6-JQ?t(B CGI_ASIR_ALLOW
54: $B$G;XDj$7$F$b$h$$(B.
55: $B$3$N>l9g$O(B cgi-asir.sh $B$,(B query string $BL5$7$G<B9T$5$l$?$H$-$K(B,
56: allowed command $B$H$7$FI=<($5$l$k(B.
57: myasir.rr $B$G8x3+$7$F$$$k$b$N$OI=<($5$l$J$$(B.
58:
59: (B) $B8x3+$9$k%i%$%V%i%j4X?t$rFI$_9~$`$h$&$K$9$k(B.
60:
61: $B8x3+$9$kFH<+%i%$%V%i%j4X?t$,=q$$$F$"$k%U%!%$%k$r(B
62: $(OpenXM_HOME)/rc/asirrc $B$rMQ$$$FFI$_9~$`(B.
63: $B$?$H$($P(B (A) $B$NNc$N>l9g$J$i(B,
64:
65: ... $BN,(B
66: load("names.rr")$
67: load("oxrfc103.rr")$
68: load("/home/nakayama/myasir.rr")$ <=== $B$3$N9T$r2C$($k(B.
69: User_asirrc=which(getenv("HOME")+"/.asirrc")$
70: ... $BN,(B
71:
72: $BCm0U(B: myasir.rr $B$O(B nobody $B$,FI$_9~$_2D$G$"$k$3$H(B.
73: Fedora Core $B$G$O%[!<%`$,(B 700 $B$H$J$C$F$$$k$N$GCm0U(B.
74:
75: (C) $B7W;;;~4V$N>e8B$O(B cgi-asir.sh $B$N4D6-JQ?t(B
76: CGI_ASIR_TLIMIT $B$G;XDj$9$k(B.
77: $B%G%U%)!<%k%H$O(B 30 $BIC$G$"$k(B.
78:
79: $BNc(B: 10 $BIC$K$7$?$$$H$-(B.
80: export CGI_ASIR_TLIMIT="10"
81:
82:
1.2 takayama 83: $BCm0U(B: cgi-asir.sh $B$N8=:_$N<BAu$G$O(B GET method $B$G$N<B9T$O$&$1$D$1$J$$(B.
84: POST $B$N$_(B. Todo: GET $B$N<BAu(B or POST $B$r;H$($H$N%(%i!<%a%C%;!<%8(B.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>