RaspberryPi2とメカトラックス殿製の3GPiのハード構成でWebioPiでのhttmlのブラウザ表示を80番ポートで実施するとブラウザで下記表示になります。
/etc/webiopi/config にて[HTTP]のportを8000を80に変更してディレクトリや初期のhtmlファイルの定義は正常です。(8000番ポートでは確認できています。)
# Initialize following GPIOs with given function and optional value # This is used during WebIOPi start process #21 = IN #23 = OUT 0 #24 = OUT 0 #25 = OUT 1 #------------------------------------------------------------------------# [~GPIO] # Reset following GPIOs with given function and optional value # This is used at the end of WebIOPi stop process #21 = IN #23 = IN #24 = IN #25 = OUT 0 #------------------------------------------------------------------------# [SCRIPTS] # Load custom scripts syntax : # name = sourcefile # each sourcefile may have setup, loop and destroy functions and macros #myscript = /home/pi/webiopi/examples/scripts/macros/script.py #------------------------------------------------------------------------# [HTTP] # HTTP Server configuration enabled = true port = 80
OS自体はメカトラックス殿公開の3GPi用のOSで『3gpi-20160208.img』ファイルになります。
お手数をお掛けしますがご教授の程宜しくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/12/09 07:45