KENT-WEB サポートコーナー 過去ログ [ 0264 ]


記事No: 12356
投稿日: 2013/10/16(Wed) 12:22:27
タイトルPostmailのパス指定
ID情報: hoshiro
投稿者: ぷらいむれーと
URLhttp://www.tokyowave.co.jp/test/postmail.html

postmail v6.72を使用して、cgi-binディレクトリ内に
htmlファイルの設置が禁止されているサーバで使用するため、
テストのため、cgiファイルとhtmlファイルを別のディレクトリに
アップし各パス設定を変更してファイルの設置を完了しました。
check.cgi も無事OKとなり、

 http://www.tokyowave.co.jp/cgi-local/test/check.cgi

フォームで「入力」→「確認」まではうまくいくのですが、
「送信」ボタンをクリック後、

「The requested URL /cgi-local/test/cgi-local/test/postmail.cgi was not found on this server.」

とエラーになってしまいます。多分パス指定の問題だとは
思いますが、init.cgi と postmail.html 以外に変更が必要な
ファイルがあるのでしょうか。アドバイスいただけると
幸いです。

プロバイダ OCN

設置先URL
http://www.tokyowave.co.jp/test/postmail.html

設置ファイルパス構成

/test/postmail.html
/test/tmpl/mail.txt
/test/tmpl/reply.txt
/test/tmpl/conf.html
/test/tmpl/thx.html
/test/tmpl/err1.html
/test/tmpl/err2.html

/cgi-local/test/postmail.cgi
/cgi-local/test/init.cgi
/cgi-local/test/lib/base64.pl
/cgi-local/test/lib/Jcode.pm
/cgi-local/test/data/log.cgi
/cgi-local/test/data/ses.cgi


記事No: 12357
投稿日: 2013/10/16(Wed) 16:36:44
タイトルRe: Postmailのパス指定
ID情報: hoshiro
投稿者: ぷらいむれーと
URLhttp://www.tokyowave.co.jp/test/postmail.html

過去ログを検索したら、絶対パスを指定すれば大丈夫という
記述があり、init.cgi と postmail.html の双方を書き換えたら
うまくいきました。

お騒がせいたしました。


> postmail v6.72を使用して、cgi-binディレクトリ内に
> htmlファイルの設置が禁止されているサーバで使用するため、
> テストのため、cgiファイルとhtmlファイルを別のディレクトリに
> アップし各パス設定を変更してファイルの設置を完了しました。
> check.cgi も無事OKとなり、
>
>  http://www.tokyowave.co.jp/cgi-local/test/check.cgi
>
> フォームで「入力」→「確認」まではうまくいくのですが、
> 「送信」ボタンをクリック後、
>
> 「The requested URL /cgi-local/test/cgi-local/test/postmail.cgi was not found on this server.」
>
> とエラーになってしまいます。多分パス指定の問題だとは
> 思いますが、init.cgi と postmail.html 以外に変更が必要な
> ファイルがあるのでしょうか。アドバイスいただけると
> 幸いです。
>
> プロバイダ OCN
>
> 設置先URL
> http://www.tokyowave.co.jp/test/postmail.html
>
> 設置ファイルパス構成
>
> /test/postmail.html
> /test/tmpl/mail.txt
> /test/tmpl/reply.txt
> /test/tmpl/conf.html
> /test/tmpl/thx.html
> /test/tmpl/err1.html
> /test/tmpl/err2.html
>
> /cgi-local/test/postmail.cgi
> /cgi-local/test/init.cgi
> /cgi-local/test/lib/base64.pl
> /cgi-local/test/lib/Jcode.pm
> /cgi-local/test/data/log.cgi
> /cgi-local/test/data/ses.cgi


[検索ページ] [掲示板]