• 締切済み

iswebライトでBasic認証を設置したい

iswebライトに登録し、HPを作成しているのですが FTPによるディレクトリの階層が原因なのか、そもそもファイル名が問題なのか素人のため全くわかりません・・。 Blog程度であれば理解できていたのですが、今回Basic認証を設置したくHPを開設したく悩んでおります。 イメージとしては index.htmlより【会員専用ページ】をクリック後、 Basic認証でIDとPASSWORDを入力し、(以下よりどのリンク先も会員にしかみられないようにする)OKだったら menu.htmlに飛ばし、各メニューよりリンク先へいくようにするには index.html isweb_.htpasswd isweb_.htaccess private(フォルダ)  →menu.html   ・   ・   ・ などのディレクトリにすればよいのでしょうか? index.htmlに下記のHTMLソースを使用していますが OKだった場合とNGだった場合の処理後がうまくできません。 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 13.0.1.0 Trial for Windows"> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <META http-equiv="Content-Style-Type" content="text/css"> <META name="IBM:HPB-Input-Mode" content="mode/flm; pagewidth=750; pageheight=900"> <TITLE>Username and Password RequiredUsername and Password RequiredOKOKOK</TITLE> </HEAD> <BODY id="top"> <DIV style="width : 711px;height : 20px;top : 162px;left : 8px; position : absolute; z-index : 5; " id="Layer2" align="center"> <h3>Username and Password Required</h3> </DIV> <DIV style="width : 711px;height : 17px;top : 235px;left : 8px; position : absolute; z-index : 3; " id="Layer4" align="center"></DIV> <DIV style="width : 711px;height : 81px;top : 270px;left : 8px; position : absolute; z-index : 2; " id="Layer5" align="center"> <form method=$method action="$ENV{'SCRIPT_NAME'}"> <table border=0> <tr> <td>Username(ID):</td> <td><input type=text name="username" size=30></td> </tr><tr> <td>Password:</td> <td><input type=password name="password" size=30></td> </tr> </table> <p><input type=submit value=" O K "> <input type=reset value="Cancel"> </form> </DIV> <DIV style="width : 711px;height : 17px;top : 369px;left : 8px; position : absolute; z-index : 1; " id="Layer6" align="center"></DIV> </BODY> </HTML> Okだった場合は、menu.htmlにいくようにするには どんなコードを追加すればよいのでしょうか・・。 説明が下手ですみませんorz

  • CGI
  • 回答数1
  • ありがとう数7

みんなの回答

  • quinny
  • ベストアンサー率57% (8/14)
回答No.1

昨年までiswebライトを使用していました。 確か、.htaccessはiswebベーシックでしか使えなかったと思い、ヘルプを検索したところ、ヘルプページではiswebベーシックでの説明しかありませんでした。 ですから、ライトではできないのでは?

参考URL:
http://isweb.www.infoseek.co.jp/info/iwb_spec.html#05
Anelachan
質問者

お礼

お返事ありがとうございました 。・゜・(ノ∀`)・゜・。 ヘルプには有料のベーシックでしかだめって書いてありましたねorz 他の有料サーバーにしたところ設置がうまくいきました。 ありがとうございます^^

関連するQ&A

  • CSSのdivで、ページ全体をセンタリング出来ない

    質問させて頂きます。 <style type="text/css"> #contena { margin-right: 10px; margin-left: 10px; text-align: center; height: 900px; width: 950px; } </style></head> というように、全体をdivで囲んだにもかかわらず、何故かセンタリング出来ません。 最も簡単に、このページをセンタリングするには、どうすればよいでしょうか? ホームページビルダーで「どこでも配置モード」で作ったものを、dreamweaverで作り直す場合に該当します。 下記にHTMLを記載しておきます。 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> <meta http-equiv="Content-Style-Type" content="text/css"> <meta name="IBM:HPB-Input-Mode" content="mode/flm; pagewidth=750; pageheight=900"> <meta name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 14.0.8.0 for Windows"> <title>タイトル</title> <style type="text/css"> #contena { margin-right: 10px; margin-left: 10px; text-align: center; height: 900px; width: 950px; } </style></head> <body background="blue_p7b.gif"> <div id="contena"> <div style="top : 0px;left : 20px; position : absolute; z-index : 20; " id="Layer22"><img src="anim.gif" width="373" height="93" border="0" alt="ようこそ"></div> <div style="top : 18px;left : 575px; position : absolute; z-index : 2; " id="Layer4"><a href="http://www.dodgeball.or.jp/"><img src="jdba1.gif" border="0" width="106" height="30"></a></div> <div style="top : 60px;left : 143px; position : absolute; z-index : 1; " id="Layer1"><img src="logo111.gif" width="488" height="69" border="0" alt="リンク"></div> <div style="top : 219px;left : 317px; position : absolute; z-index : 27; width : 580px; height : 51px; " id="Layer28"> <p><font color="#0000ff" size="+2">コンテンツ</font></p> </div> <div style="top : 161px;left : 647px; position : absolute; z-index : 22; " id="Layer23"></div> <div style="top : 255px;left : 284px; position : absolute; z-index : 28; " id="Layer2"><img src="frendlyindx.gif" width="546" height="410" border="0"></div> <div style="top : 216px;left : 652px; position : absolute; z-index : 23; " id="Layer24"></div> <div style="top : 304px;left : 50px; position : absolute; z-index : 26; " id="Layer27"></div> <div style="top : 754px;left : 47px; position : absolute; z-index : 19; width : 707px; height : 154px; " id="Layer21"><iframe frameborder="1" src="saishijoho.html" width="709" height="150" scrolling="AUTO"></iframe></div> <div style="top : 953px;left : 40px; position : absolute; z-index : 7; " id="Layer9"><a href="taikaikekka.html"><img src="button41.gif" width="57" height="54" border="0" alt=" "></a></div> <div style="top : 659px;left : 48px; position : absolute; z-index : 6; " id="Layer8"><img src="logo1.gif" width="194" height="65" border="0" alt="最新情報 "></div> <div style="top : 1020px;left : 34px; position : absolute; z-index : 12; </div> </body> </html> 詳しい方がいましたら、よろしくお願いします。

  • ようやくここまできました

    ここまできました いろいろなものを参考にしてこれがよいと判断しました 正しいユーザ名とパスワードを入力して(入力した文字がそのまま表示されないようにして両方ともただしければ「ログインに成功しました」どちらかでも間違っていたら「ログインに失敗しました」というjavascritptを作りたいのですがここまで来るのに参考にしたものなどが多すぎて、どこに書いていいのかわかりませんIDパスワードは guestです どなたかご教授ください 実行できるようにお願いします <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html lang="ja"> <head> <meta http-equiv="content-type" content="text/html; charset=shift_jis"> <meta http-equiv="content-style-type" content="text/css"> <style type="text/css"> body,th,td { font-size: 13px; } table.passwd { margin-top: 80px; width: 400px; background: #00a2a2; } td.ttl { padding: 10px; color: #fff; } td.input { padding: 10px; background: #fff; font-family: verdana,helvetica,arial,osaka; width: 100%; } input.len { width: 220px; } input.btn { font-family: verdana,helvetica,arial,osaka; width: 100px; height: 32px; } </style> <title>アクセス認証</title> </head> <body> <div align="center"> <form action="!gate_cgi!" method="post"> <table cellspacing="1" class="passwd"> <tr> <td class="ttl"><b>アクセス認証</b></td> <tr></tr> <td class="input"> USER ID :<br> <input type="text" name="id" class="len"><br><br> PASSWORD :<br> <input type="password" name="pw" class="len"><br><br> <div align="right"> <input type="submit" name="login" value="LOG IN" class="btn"> </div> </td> </tr> </table> </form> </div> <script language="javascript"> <!-- self.document.forms[0].id.focus(); //--> </script> </body> </html>

  • 下記のソースですが、画面一杯に表示されません、なぜでしょうか?

    <HEAD> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 6.5.0.0 for Windows"> <META http-equiv="Content-Style-Type" content="text/css"> <META name="IBM:HPB-Input-Mode" content="mode/flm; pagewidth=750; pageheight=900"> <TITLE></TITLE> </HEAD> <BODY bgcolor="#FFFFFF" text="#663300" link="#0000FF" vlink="#99CCFF"> <DIV style="top :0px;left : 0px; position : absolute; z-index : 1; width : 750px; height : 900px; visibility : visible; " id="Layer1"> <CENTER> <TABLE width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#68B921"> <TR ALIGN="CENTER" VALIGN="MIDDLE"> <TD><IMG src="" width="111" height="96" alt="アイコン"></TD> <TD WIDTH="100%" VALIGN="TOP"></TABLE> </CENTER> </DIV> </BODY> </HTML>

  • サイト名を入れ方がわかりません。。

    フラッシュのフリー素材をダウンロードしてHPビルダーを使ってプレビューを見たらフラッシュ素材は反映されているのですが、サイト名を入れるところが、「site name]とそのまま出てしまいます。 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 9.0.2.0 for Windows"> <META http-equiv="Content-Style-Type" content="text/css"> <META name="IBM:HPB-Input-Mode" content="mode/flm; pagewidth=940; pageheight=1200"> <TITLE>☆★★☆</TITLE> </HEAD> <BODY background="clo1516.gif"> <DIV style="top : 9px;left : 128px; position : absolute; z-index : 4; " id="Layer1"><IMG src="profilr.jpg" width="75" height="75" border="0"></DIV> <DIV style="top : 14px;left : 344px; position : absolute; z-index : 5; HTMLソースは、こんな感じです。一部ですが>< 私が思うに☆★★☆の部分にサイト名を入れたらいいのかなぁと思って入れましたがプレビューで見ても反映されておりません。どうすればよいのでしょうか?

    • ベストアンサー
    • HTML
  • 複数の動画をホームページに貼りたいのですが。

    演奏会風景の動画を一曲ごとにホームページに貼りたいのです。たくさんの曲名をページに載せておいてクリックするたびにその曲の演奏風景が流れるようにしたいのです。次のように Pegasys flv Player を使って一曲を貼ることまではできた(ホームページビルダーでつくりました)のですがその先に進めません。Javaとかhtmlはまったく経験がありませんが何とかならないでしょうか。 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 10.0.4.0 for Windows"> <META http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> <META http-equiv="Content-Style-Type" content="text/css"> <META name="IBM:HPB-Input-Mode" content="mode/flm; pagewidth=750; pageheight=900"> <script src="AC_RunActiveContent.js" language="javascript"></script> <TITLE></TITLE> </HEAD> <BODY> <DIV style="top : 97px;left : 198px; position : absolute; z-index : 3; " id="Layer1"> <P></P> <script language="javascript"> AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0', 'width','384','height', '238','pluginspage', 'http://www.macromedia.com/go/getflashplayer', 'FlashVars','clipName=sakura.flv&thumbnailFile=sakura.jpg', 'align', 'middle','scale', 'showAll','allowFullScreen', 'true','allowScriptAccess','sameDomain','movie', 'pegasys_flvplayer_wide','salign', ''); </script> </DIV> <DIV style="width : 86px;height : 16px;top : 14px;left : 8px; position : absolute; z-index : 2; " id="Layer2"></DIV> <DIV style="width : 91px;height : 16px;top : 14px;left : 8px; position : absolute; z-index : 1; " id="Layer3"> </DIV> </BODY> </HTML>

  • このタグですが、左右一杯に広がったまま、左方向にページを伸縮しても

    このタグですが、左右一杯に広がったまま、左方向にページをちじめても、左右にページ一杯のまま、伸縮するようになりませんか? <BODY> <DIV style="top : 0px;left : 0px; position : absolute; z-index : 1; " id="Layer1"> <DIV> <TABLE> <TBODY> <TR> <TD bgcolor="#ffcccc" height="130" width="750"></TD> </TR> </TBODY> </TABLE> </DIV> </DIV> <DIV style="top : 41px;left : 151px; position : absolute; z-index : 2; width : 397px; height : 43px; " id="Layer2" align="center"><FONT size="+3">テキスト</FONT></DIV> </BODY>

    • ベストアンサー
    • HTML
  • htmlでインプットボックスを横並びに表示したい。

    ホームページを作成しておりますが、tdの中にinput type="text"にてテキストボックスを4つ作成したいと考えております。 こちらで拝見いたしましたチェックボックスの右側に文字を表示される方法をご参考にさせていただき、下記を作成しましたが、縦並びになってしまいます。 何とかして縦2×横2に置き換えることはできないでしょうか? ブラウザはIE11を使用しており、コードはVisualStudioCodeを使用しております。 <div style="top : 161px;left : 8px; position : absolute; z-index : 4; width : 847px; height : 252px; " id="Layer5"> <div style="background: white; padding: 10px; margin-bottom: 10px; border: 1px solid #333333"> <table border="1" height="252" width="818"> <tr bgcolor="gray" style="color:white" height="50"> <th height="42" width="92"><b>列1</b></th> <th height="42" width="212">列2・列3<br>列4・列5</th> <th height="42" width="137">列7/列8</th> <th height="42" width="189"><b>列9/列10</b></th> </tr> <tr bgcolor="lightyellow"> <td align="center" height="47" width="92"> <input type="text" name=列1 style="background:white; color:#000000;" align="middle" value="83行目"> </td> <td align="center" height="47" width="312"> <input type="text" name=列2 style="background:white; color:#000000;" align="middle" value="86行目"> <input type="text" name=列3 style="background:white; color:#000000;" align="middle" value="87行目"> <input type="text" name=列4 style="background:white; color:#000000;" align="middle" value="88行目"> <input type="text" name=列5 style="background:white; color:#000000;" align="middle" value="89行目"> </td> <td align="center" height="47" width="137"><input type="text" name=列7 style="background:white; color:#000000;" align="middle" value="92行目"> <span> <input type="text" name=列8 style="background:white; color:#000000;" align="middle" value="93行目"> </span> </td> </div> <td align="center" height="47" width="189"><input type="text" name=列9 style="background:white; color:#000000;" align="middle" value="96行目"> <input type="text" name=列0 style="background:white; color:#000000;" align="middle" value="97行目"> </td> </tr> <tr> <td align="center" height="47" width="92"></td> <td align="center" height="47" width="212"></td> <td align="center" height="47" width="137"></td> <td align="center" height="47" width="189"></td> </tr> </table> </div> </div> 【上記で表示させた場合】 ーーーーー|  86行目  |ーーーーー| ーーーーー|  87行目  |ーーーーー|  96行目  83行目  |  88行目  |  92行目|  97行目 ーーーーー|  89行目  |ーーーーー| 【やりたいこと】 ーーーーー|ーーーーーーーーーー|ーーーーー| ーーーーー|  86行目|87行目 |ーーーーー|  96行目  83行目  |  88行目|89行目 | 92行目 |  97行目 ーーーーー|ーーーーーーーーーー|ーーーーー|

  • メールフォーム作成*助けて下さい!!

    ホームページ作成初心者です 頑張ってメールフォームを作成しています! しかし「エラーメッセージ メールデコード設定者の設定方法に問題があるため、送信できません。 (設定された設問のNAMEの変数名が重複しています)」 どこがダメかが分かりません(><) どなたか助けて下さい!! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 11.0.0.0 for Windows"> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <META http-equiv="Content-Style-Type" content="text/css"> <LINK href="sitetheme/hpb9tm04_6.css" rel="stylesheet" type="text/css" id="hpb9tm04_6"> <TITLE>見積り依頼メール</TITLE> <SCRIPT language="JavaScript"> <BODY> </TR> </TBODY> </TABLE> </DIV> <DIV style="width : 443px;height : 375px;top : 270px;left : 170px; position : absolute; z-index : 6; visibility : visible; " id="Layer1"> <FORM method="post" action="http://mdec.nifty.ne.jp/cgi-bin/hostingmail.cgi"> <INPUT type="hidden" name="ok_page" value="ホームページアドレス> <INPUT type="hidden" name="to_mail" value="メールアドレス"> <INPUT type="hidden" name="sub" value="***見積り依頼メール***"> お名前  <BR><INPUT type="text" name="name" size="33" maxlength="40"><BR> メールアドレス<BR><INPUT TYPE="text" NAME="from" size="30" maxlength="40"><BR> <BR> 【 希望工事内容 】 <BR> <INPUT type="radio" name="kibou-kouji" value="T+A">太陽光発電システム+オール電化<BR> <INPUT type="radio" name="kibou-kouji" value="T-nomi">太陽光発電システムのみ<BR> <INPUT type="radio" name="kibou-kouji" value="A-nomi">オール電化のみ<BR> <INPUT type="radio" name="kibou-kouji" value="IH-nomi">IHクッキングヒーターのみ<BR> <INPUT type="radio" name="kibou-kouji" value="E-nomi">エコキュートのみ<BR> <INPUT type="radio" name="kibou-kouji" value="R-nomi">リフォームのみ<BR> <INPUT type="radio" name="kibou-kouji" value="sonohoka">その他(具体的な内容を下記のご質問欄へご入力ください。)<BR> <BR> <BR> その他ご質問やご相談がございましたらご入力下さい。<BR> <TEXTAREA name="body" rows="8" cols="68"> </TEXTAREA> <BR> <BR> <INPUT TYPE="submit" VALUE="送信"> <INPUT TYPE="reset" VALUE="クリア"> </FORM> </DIV> <DIV style="width : 603px;height : 77px;top : 170px;left : 93px; position : absolute; z-index : 5; visibility : visible; " id="Layer6"> <P><FONT face="MS P明朝">まずは、下記の入力フォームに必要事項をご記入のうえ、<BR> 内容をご確認後【送信】ボタンをクリックしてください。<BR> </FONT></DIV> <DIV style="width : 251px;height : 31px;top : 40px;left : 470px; position : absolute; z-index : 4; visibility : visible; " id="Layer5" align="center"><FONT color="#000097" face="MS P明朝" size="+1" style="font-size : 117%;">太陽光発電システム・オール電化<BR> リフォーム・住宅設備のことならお任せ下さい</FONT></DIV> <DIV style="width : 222px;height : 18px;top : 56px;left : 19px; position : absolute; z-index : 3; visibility : visible; " id="Layer4" align="center"><B><FONT color="#000097" face="MS P明朝" size="+1" style="font-size : 117%;">太陽光発電システムのことなら</FONT></B></DIV> <DIV style="width : 145px;height : 43px;top : 15px;left : 53px; position : absolute; z-index : 2; visibility : visible; " id="Layer3" align="center"><B><FONT color="#000097" size="7" face="DHP平成明朝体W7" style="font-size : 310%;"> オール電化も</FONT></B></DIV> <DIV style="width : 252px;height : 27px;top : 130px;left : 30px; position : absolute; z-index : 1; visibility : visible; " id="Layer2"><B><FONT size="+3" style="font-size : 200%;">見積り依頼メール</FONT></B></DIV> </BODY> </HTML>

    • ベストアンサー
    • HTML
  • getElementByIdではまってます・・・

    以下のソースを書いて、Firefoxで実行すると 検索ボタンをクリックするとテーブルが表示されるのですが すぐにもとに戻ってしまいます。 すいません。初心者です。 どなたかご教授ください。 言っている意味が分からなかったらすいません。 補足します。 HTMLです。 <td style="width:60px;" align="center"><input style="width:60px" type="submit" id="id" name="id" onclick="effectDetailWindow('detailWindow');" value="検索"></td> <div id="detailWindow" style="display:none;"> <table border="1" cellpadding="3" cellspacing="1" bordercolor="#000000" style="width:460px;"> <tr> <td style="width:80px;" class="table_head"> TEST1 </td> <td style="width:150px;"> <input type="text" size="25" maxlength="50" name="searchtest1" value="{$form.searchtest1}"> </td> <td style="width:80px;" class="table_head"> TEST2 </td> <td style="width:150px;"> <input type="text" size="25" maxlength="50" name="searchtest2" value="{$form.searchtest2}"> </td> </tr> </table> </div> JavaScriptです。 function effectDetailWindow(id) { var obj = document.getElementById(id); if( obj.style.display == "none" ) { obj.style.display = "block"; } else { obj.style.display = "none"; } }

  • htmlで行数が増えた場合に自動的に範囲を広げる

    現在、ホームページを作成しておりますが、htmlで表示させた場合に一行だけですと画面内に収まりますが、行数が増えていくとその下にあるボタンにかぶさってしまいます。 表示する行数が増えた場合に自動的に下に伸ばす方法はございますでしょうか? HTML <!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <meta name="justsystems:HPB-Input-Mode" content="mode/flm; pagewidth=940; pageheight=1200"> <meta name="GENERATOR" content="JustSystems Homepage Builder Version 20.0.6.0 for Windows"> <title>タイトル</title> <link rel='stylesheet' href='/stylesheets/style.css' /> </head> <body bgcolor="#a9a9a9"> <table border="1" height="252" width="818"> <tr bgcolor="gray" style="color:white" height="50"> <th height="42" size=10><b>注文日</b></th> <th height="42" width="212">注文名/オプション<br>注文先・個数</th> <th height="42" size=10>合計金額/合計個数</th> <th height="42" size=20><b>注文者/入力者</b></th> </tr> ーーーここでテーブルから複数行取得 <% for(var i in content) { %> <tr bgcolor="lightyellow"> <% var obj = content[i]; %> <td align="center" height="47" size="10"> <input type="text" name=注文日 size="10" style="background:white; color:#000000;" align="middle" value="注文日"> </td> <td align="center" height="47" width="10" style="white-space:nowrap;" > <input type="text" name=注文名 size=4 style="background:white; color:#000000;" align="middle" value="注文名"> <input type="text" name=オプション size=1 style="background:white; color:#000000;" align="middle" value="無"> <input type="text" name=注文先 size=4 style="background:white; color:#000000;" align="middle" value="注文先"> <input type="text" name=単価 size=1 style="background:white; color:#000000;" align="middle" value="単価">   <input type="text" name=個数 size=1 style="background:white; color:#000000;" align="middle" value="個数"> </td> <td align="center" height="47" size=10> <input type="text" name=合計金額 size=10 style="background:white; color:#000000;" align="middle" value="合計金額"> <input type="text" name=合計数 size=10 style="background:white; color:#000000;" align="middle" value="合計数"> </td> <td align="center" height="47" size=20> <input type="text" name=注文者 size=20 style="background:white; color:#000000;" align="middle" value="注文者"> <input type="text" name=入力者 size=20 style="background:white; color:#000000;" align="middle" value="入力者"> </td> </tr> <% } %> <div style="width : 468px;height : 16px;top : 486px;left : 441px; position : absolute; z-index : 2; " id="Layer7" align="right"> <input type="submit" value=" 結果 "> <input type="button" value=" キャンセル "> <input type="button" value=" 戻  り "> </div> </form> </div> </body> </html>

    • ベストアンサー
    • HTML

専門家に質問してみよう