Dell Optiplex GXa | SolarisTM 9 x86 9/04 |
analog-6.0
はじめに:
#define ERRLINELENGTH (78) #define STDERRWIDTH (ERRLINELENGTH) /* the maximum width for error and warning messages */ #define ANALOGDIR "/usr/local/analog/analog-6.0/" #endif /* ANLGHEA2_H */ |
#include "anlghea2.h" /* You can edit anlghea2.h as well. But the options in there are ones which you're unlikely to want to change now. */ #define ANALOGDIR "/usr/local/analog/analog-6.0/" #endif /* ANLGHEAD_H */ |
# BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib # BS2000/OSD needs CFLAGS = -XLLML -XLLMK # NeXTSTEP needs CFLAGS = -O2 -pipe -no-precomp #DEFS = # any combination of -DNOPIPES -DNODNS -DNODIRENT -DNOGLOB ... DEFS = -DNEED_STRCMP # ... -DNOOPEN -DNOFOLLOW -DNOALARM -DNOGRAPHICS -DNOGMTIME ... # ... -DEBCDIC -DUSE_PLAIN_SETJMP ... # ... -DHAVE_GD -DHAVE_ZLIB -DHAVE_BZLIB -DHAVE_PCRE ... # ・・・中略・・・ # OS = UNIX # Operating system: UNIX, DOS, WIN32, MAC, OS2, OSX, VMS # RISCOS, BEOS, NEXTSTEP, MPEIX, BS2000, AS400, OS390 #LIBS = -lm # extra libraries needed; most platforms (but not OS X or BeOS) LIBS = -lnsl -lm # need -lm LAST # if you defined HAVE_GD above you also need -lgd -lpng -ljpeg -lz |
<h1><img src="images/analogo.gif" alt=""> Analog フォーム・インタフェース</h1> <form action="/analog/anlgform.htm" method="POST"> <!-- input type=hidden name="LOGFILE" value="/var/log/httpd/access_log" --> |
#!/usr/local/bin/perl -T ### ### analog 6.0 http://www.analog.cx/ ### This program is copyright (c) Stephen R. E. Turner 1995 - 2004 except as ### stated otherwise. # ・・・中略・・・ # # 3) You also need to edit anlgform.html if you want to use the form. # 4) Add to the forbidden commands below if you want. $analog = '/usr/local/analog-6.0/analog'; @forbidden = qw(LOGFORMAT APACHELOGFORMAT DEFAULTLOGFORMAT APACHEDEFAULTLOGFORMAT HEADERFILE FOOTERFILE UNCOMPRESS |
# There is a much more extensive configuration file in examples/big.cfg # # If you need a LOGFORMAT command (most people don't -- try it without first!), # it must go here, above the LOGFILE commands. LANGUAGE JAPANESE-SJIS LOGFORMAT (%S - %u [%d/%M/%Y:%h:%n:%j %j] "%j %r %j" %c %b "%B" %f) LOGFILE /var/log/httpd/access_log HOSTNAME "[domain1.com]" HOSTURL "http://wwwdomain1.com/ REFREPEXCLUDE http://www.domain1.com/*,https://www.domain1.com/* FILEEXCLUDE /images/*,*/count/*,*.gif,*.jpg,/default.id* LANGFILE /usr/local/analog-6.0/lang/jps.lng # LOGFILE logfile.log # LOGFILE /old/logs/access_log.* # OUTFILE Report.html |
SetEnvif Request_URI "\.(gif)|(png)|(jpg)$" all-image CustomLog /var/log/httpd/access_log "%h %l %u %t \"%r\" %s %b \"%{User-Agent}i\" %{Referer}i\"" env=!all-image |
# Per-Server Logging: # The home of a custom SSL log file. Use this when you want a # compact non-error SSL logfile on a virtual host basis. # CustomLog /usr/local/apache2/logs/ssl_request_log \ # "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" CustomLog /var/log/httpd/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" ######################### #### For analog-6.0 #### ######################### Alias /analog/ "/usr/local/analog-6.0/" AddHandler cgi-script .htm <Directory "/usr/local/analog-6.0"> Options ExecCGI MultiViews AllowOverride All Order allow,deny Allow from all </Directory> <IfModule mod_dir.c> DirectoryIndex index.html jpsform.html </IfModule> </VirtualHost> |
order deny,allow deny from all allow from 192.168.1.0/24 |