1
1

More than 5 years have passed since last update.

ローカルホストのファイルが開けない

Last updated at Posted at 2014-11-15

助けてほしい

・環境
mac
vim

・やりたいこと
ローカルホストでtest.htmlを開きたい

・やったこと
MAMPを起動し、google chromeのアドレスバーに
 localhost/users/fumitan/documents/test.html
を打ち込んだが、開けない。また、
 http://localhost/users/fumitan/documents/test.html
で試しても開けない。

・ほかには
/applications/MAMP/htdocs/ 直下にある他で作ったお試しphpファイルは開けているので、サーバーは開放できているはず。
ちなみにtest.htmlの内容は以下の通り。qiitaに書くにあたって、なぜか<!-- -->でコメントアウトできないので、<を外して無理矢理書いている。test.htmlには全てにきちんと<をつけている。


<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
</body>
</html>

1
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1