元スレ
1 :DNS未登録さん:2005/05/06(金) 02:40:44 ID:0iaZ1Zt3.net
自鯖をIISで立ててHP FTPまではったのですが
どうせなら掲示板とかも立てたいのです。
CGIも使いたいのです
どのようにしたらいいか教え的ださい
先輩!
52 :DNS未登録さん:2008/11/02(日) 21:22:58 ID:???.net
51 :DNS未登録さん:2008/11/02(日) 20:32:49 ID:???.net
単位はバイト。
3桁ごとに切るか、カンマ入れろと思ってるのは俺だけじゃ無い筈。
31 :DNS未登録さん:2005/05/28(土) 10:27:48 ID:Pf5POWkY.net
このスレは、山田ウイルスホイホイスレになりました。
広告、ウイルスはここでキャッチしますので上げ推奨
14 :DNS未登録さん:2005/05/06(金) 23:01:46 ID:yTmZxFL/.net
ttp://pc-202-169-155-217.cable.kumin.ne.jp/
wwwっうぇwwwwwwwwwwwwwwwwwwおk
wwwwwwwwwwwwwwwwwwwwwwww
wwwwっwwwうぇおkwwwwwwうはっうはっ
うぇwwwwwwwwwwwwwwwwwwwwwwwww
46 :DNS未登録さん:2008/04/20(日) 15:29:17 ID:jHakZg9l.net
ここでいいのかな?
snuploder使ってますが、直リンクを防ぎたいのですがどうしたらいいですかね?
(/upload.htmlから出ないとDL出来ないようにしたい)
WinXPで04WEBSERVERです。Apacheの方がいいのかな
57 :DNS未登録さん:2010/10/14(木) 02:29:36 ID:fSEbGJ7H.net
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<FilesMatch “^¥.ht”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog “logs/error.log”
LogLevel warn
<IfModule log_config_module>
LogFormat “%h %l %u %t ¥”%r¥” %>s %b ¥”%{Referer}i¥” ¥”%{User-Agent}i¥”” combined
LogFormat “%h %l %u %t ¥”%r¥” %>s %b” common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat “%h %l %u %t ¥”%r¥” %>s %b ¥”%{Referer}i¥” ¥”%{User-Agent}i¥” %I %O” combinedio
</IfModule>
CustomLog “logs/access.log” common
</IfModule>
57 :DNS未登録さん:2010/10/14(木) 02:29:36 ID:fSEbGJ7H.net
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<FilesMatch “^¥.ht”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog “logs/error.log”
LogLevel warn
<IfModule log_config_module>
LogFormat “%h %l %u %t ¥”%r¥” %>s %b ¥”%{Referer}i¥” ¥”%{User-Agent}i¥”” combined
LogFormat “%h %l %u %t ¥”%r¥” %>s %b” common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat “%h %l %u %t ¥”%r¥” %>s %b ¥”%{Referer}i¥” ¥”%{User-Agent}i¥” %I %O” combinedio
</IfModule>
CustomLog “logs/access.log” common
</IfModule>
59 :DNS未登録さん:2010/10/14(木) 02:33:00 ID:fSEbGJ7H.net
長々とすいませんでした。どうか原因解明をお願いします
26 :DNS未登録さん:2005/05/10(火) 17:25:42 ID:???.net
>>25
同じだろ
しかもこのスレで言ってる時点でお前も出てけ
なので俺も出てく
6 :DNS未登録さん:2005/05/06(金) 07:34:33 ID:???.net
67 :DNS未登録さん:2011/01/06(木) 21:47:41 ID:95Fqu/ph.net
>>58
今更ですが
cgi-binのとこにExecCGIオプションが書かれてないっすよ
(options_allって効くの?使ったことない)
ルートのディレクティブダブって書いてありますよ
conf書き換えてからapache再起動しました?
8 :DNS未登録さん:2005/05/06(金) 11:25:39 ID:???.net
7 :DNS未登録さん:2005/05/06(金) 08:46:24 ID:adJEa9/O.net
22 :DNS未登録さん:2005/05/07(土) 16:58:21 ID:???.net
>>19
本当にこいつはロクでもない事しか書かない厨だな。
脊髄反射しか書かないから数日前にあぼ〜ん設定しておいたのだが、
こんな事書いているとはな。
4 :DNS未登録さん:2005/05/06(金) 05:16:09 ID:MbbTqz3q.net
23 :DNS未登録さん:2005/05/07(土) 21:27:40 ID:???.net
11 :DNS未登録さん:2005/05/06(金) 16:20:06 ID:???.net
64 :DNS未登録さん:2010/10/15(金) 20:02:11 ID:???.net
47 :DNS未登録さん:2008/08/17(日) 12:50:05 ID:???.net
45 :DNS未登録さん:2007/07/10(火) 13:25:50 ID:x88YOuDh.net
70 :DNS未登録さん:2018/05/02(水) 07:05:13.02 ID:QsLqCbG/.net
すごくおもしろいPCさえあれば幸せ小金持ちになれるノウハウ
一応書いておきます
グーグルで検索するといいかも『金持ちになりたい 鎌野介メソッド』
U4Z0C
63 :DNS未登録さん:2010/10/15(金) 17:38:19 ID:Ns/g68yo.net
質問させてください。
スレ違い(板?)だったらすみません。
会社PCにフリーのWeb見積書CGIを設置しようとしたのですがうまく動作しません。
わかる方いらっしゃいましたら教えてください。
【エラー内容】
OS:Windows7-Pro
Webサービス:Apache2.2
CGI:Web見積書発行システム Lite Free Edition
配布元URL:http://www.dw-dev.com/download/00003/15.html
エラー内容:「初期設定ファイルの読み込みに失敗しました。」と表示されて動作しません。
恐らくiniファイルが読み込めてないようなのですがC言語型CGIを動かしたのが始めて
煮詰まってしまいました。
お手数ですがよろしくお願いいたします。
56 :DNS未登録さん:2010/10/14(木) 02:24:01 ID:fSEbGJ7H.net
<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
User daemon
Group daemon
</IfModule>
</IfModule>
ServerAdmin webmaster@localhost
DocumentRoot “C:/Apache2.2/htdocs”
<Directory />
Options FollowSymLinks ExecCGI
AllowOverride All
</Directory>
<Directory “C:/Apache2.2/htdocs”>
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
<FilesMatch “^¥.ht”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
ErrorLog “logs/error.log”
LogLevel warn
<IfModule log_config_module>
LogFormat “%h %l %u %t ¥”%r¥” %>s %b ¥”%{Referer}i¥” ¥”%{User-Agent}i¥”” combined
LogFormat “%h %l %u %t ¥”%r¥” %>s %b” common
12 :DNS未登録さん:2005/05/06(金) 21:34:33 ID:???.net
54 :DNS未登録さん:2010/10/14(木) 02:17:55 ID:fSEbGJ7H.net
cgiが動きません。拡張子はcgiです。ソフトはapacheです。ファイルは「cgi-bin」の下にあります
以下、confのソースです。
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They’re here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server’s control files begin with “/” (or “drive:/” for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with “/”, the value of ServerRoot is prepended — so “logs/foo.log”
# with ServerRoot set to “C:/Apache2.2” will be interpreted by the
# server as “C:/Apache2.2/logs/foo.log”.
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., “c:/apache” instead of “c:¥apache”).
# If a drive letter is omitted, the drive on which httpd.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths to avoid confusion.
#
# ServerRoot: The top of the directory tree under which the server’s
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
35 :DNS未登録さん:2005/06/04(土) 09:35:49 ID:???.net
49 :DNS未登録さん:2008/11/02(日) 16:41:59 ID:???.net
ファイルの大きさ。
ファイルを書き換えれば変わる。
5 :DNS未登録さん:2005/05/06(金) 07:21:47 ID:/3UyyMdZ.net
60 :DNS未登録さん:2010/10/14(木) 06:28:41 ID:???.net
エラーログとアクセスログはまだですか?
Perlで書いてるなら
perl -wc プログラム
の結果も。
33 :DNS未登録さん:2005/05/30(月) 17:41:02 ID:C0VXv2Nl.net
38 :DNS未登録さん:2006/03/26(日) 15:25:49 ID:???.net
ごめそ、phpで5行でヤッタのはミラーじゃなくてピロシキだった
20 :DNS未登録さん:2005/05/07(土) 13:25:40 ID:???.net
68 : 忍法帖【Lv=40,xxxPT】(1+0:8) 【28m】 電脳プリオン ◆3YKmpu7JR7Ic :2013/01/04(金) 23:51:29.54 ID:???.net ?PLT(12079)
40 :DNS未登録さん:2006/03/27(月) 17:09:28 ID:???.net
10 :DNS未登録さん:2005/05/06(金) 12:44:01 ID:???.net
>>1
・単独質問スレ立てるな。
・日本語から勉強し直せ。
・削除依頼して(ry
36 :DNS未登録さん:2006/03/26(日) 15:14:06 ID:???.net
会社から2ちゃんねるが見れないんで、CGIを書いてみた。
フォームにURLを入力するとそのwebページをミラーする。(テキストのみ)
見れるだけで、書き込みができないのが残念。
あと、自鯖が会社から見れなくされたら意味ないし。
19 :ラブ天使:2005/05/07(土) 12:46:34 ID:wkkmM5V7.net
JRは、人殺しだぁぁぁぁぁJRは、人殺しだぁぁぁぁぁ
66 :DNS未登録さん:2010/10/17(日) 07:15:39 ID:???.net
>>65
重要な誤字があった。すまなかった。訂正する。
板違いだから氏ね
53 :DNS未登録さん:2009/01/18(日) 20:35:34 ID:???.net
>>51
ls -lh
>>52
「yum install httpd」でアパッチをインストール。
/var/www/cgi-binにcgiをぶちこむ。
「chmod 755 CGIのパス+ファイル名」で実行権限付与。
「service httpd start」
2 :DNS未登録さん:2005/05/06(金) 02:55:02 ID:???.net
58 :DNS未登録さん:2010/10/14(木) 02:31:48 ID:fSEbGJ7H.net
<IfModule alias_module>
ScriptAlias /cgi-bin/ “C:/Apache2.2/cgi-bin/”
</IfModule>
<IfModule cgid_module>
</IfModule>
<Directory “C:/Apache2.2/cgi-bin”>
AllowOverride All
Options All
Order allow,deny
Allow from all
</Directory>
<Directory />
Options FollowSymLinks ExecCGI
AllowOverride All
</Directory>
DefaultType text/plain
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi .pl
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
18 :DNS未登録さん:2005/05/07(土) 01:27:27 ID:JcHxsd85.net
30 :DNS未登録さん:2005/05/15(日) 08:22:02 ID:???.net
このスレはいつの間にか臭く匂ってきました。
たぶん糞スレになったと思われ
閉鎖することに決定しました。
糞糞糞糞糞▼糞糞糞糞糞糞糞糞▼▼▼糞糞糞糞糞糞糞糞糞
糞糞糞糞糞■■▼糞糞糞糞糞糞▼■▼糞糞糞糞糞糞糞糞糞
糞糞糞糞▼■■糞糞糞糞糞糞糞■■▼糞糞糞糞糞糞糞糞糞
糞糞糞▼■■▼糞糞糞糞糞糞▼■■▼▼▼▼■■▼糞糞糞
糞糞糞■■■糞糞▼▼糞糞糞▼■■■■■■■■■▼糞糞
糞▼▼■■▼糞▼■■▼糞▼■■▼▼▼▼▼■■■糞糞糞
▼■■■■▼▼■■▼糞糞▼■■■糞糞糞▼■■▼糞糞糞
▼■■■■▼▼■▼糞糞▼■■▼■▼糞▼■■■糞糞糞糞
糞▼■■■■■■▼糞▼■■▼▼■■▼■■■▼糞糞糞糞
糞糞▼■■■■▼▼糞▼■▼糞糞▼■■■■▼糞糞糞糞糞
糞糞糞▼■■▼▼■▼糞▼糞糞糞糞▼■■■糞糞糞糞糞糞
糞糞糞▼■■糞糞■■▼糞糞糞糞糞▼■■▼▼糞糞糞糞糞
▼▼▼■■■▼■■■■▼糞糞▼▼■■■■■▼糞糞糞糞
■■■■■■■■▼■■▼▼■■■■▼■■■■■■▼▼
■■▼▼▼■■糞糞▼▼■■■■▼▼糞糞▼■■■■■▼
▼▼▼糞糞■■糞▼▼▼■■■▼▼■▼▼▼▼■■■■▼
糞■■■▼■■▼■■▼■■▼糞▼■■■■▼▼▼▼▼糞
糞■■■▼■■▼■■▼▼▼糞糞▼■■■■■■▼糞糞糞
糞■■■▼■■糞▼■■糞糞糞糞糞▼▼■■■■▼糞糞糞
▼■■■糞■■糞▼■■▼糞糞▼糞糞糞▼■■▼糞糞糞糞
▼■■■糞■■糞糞■■▼糞▼■■▼▼▼糞糞糞糞糞糞糞
▼■■▼糞■■糞糞■■▼糞▼■■■■■▼▼糞糞糞糞糞
▼■■▼糞■■糞糞▼▼糞糞▼■■■■■■■■▼▼糞糞
▼■■▼糞■■糞糞糞糞糞糞糞▼▼■■■■■■■▼糞糞
糞糞糞糞糞■■糞糞糞糞糞糞糞糞糞糞▼■■■■■▼糞糞
糞糞糞糞糞■■糞糞糞糞糞糞糞糞糞糞糞糞▼▼▼▼糞糞糞
16 :DNS未登録さん:2005/05/07(土) 00:40:52 ID:+fBQpkW1.net
62 :DNS未登録さん:2010/10/15(金) 00:24:56 ID:crmHCM7P.net
説明不足ですみません。追記です
OS:vista home premium SP2 32bit
メーカー:富士通
Cドライブの下に Apache2.2¥cgi-bin¥sample.cgi
という構成です
ブラウザにcgiのプログラムがそのまま表示される等ではなく、
開いたら直ぐにダウンロード画面がでてきてしまうんです
もうhttpd.confファイルにしか原因がないと思い、そちらを上に記載しました
ある程度、いじったのですが、なぜかダウンロード画面がでてきてしまいます
すみません。よろしくお願いします
29 :DNS未登録さん:2005/05/10(火) 17:51:05 ID:EkQEpvlM.net
37 :DNS未登録さん:2006/03/26(日) 15:24:12 ID:???.net
ミラーつーか、phpなら5行くらいで出来そうだな。
perlだとsocket使う方法しかしらんのですこし行数増えそうだけど。
鯖経由で2chならrep2とかが良いよ。
9 :DNS未登録さん:2005/05/06(金) 12:28:16 ID:BVezFkaW.net
24 :ラブ天使:2005/05/08(日) 14:48:02 ID:YoLwa16Y.net
>>23
107人氏んだんだぜ。
あの運転士が、107人の命を奪ったんだぜ。
人殺しだろ、運転士もさ。
会社にも、責任あると思うよ。
50 :DNS未登録さん:2008/11/02(日) 17:00:53 ID:???.net
レスを投稿する(名前省略可)