网站无法在我的iPhone

时间:2016-04-30 21:53:47

标签: html iphone mobile

正如标题所说,我的网站无法在我的iPhone上运行。 (fredriksande.no) 我的错误日志说找不到public.html/fredriksande.no/mobile。我从一个weebly页面删除了htaccess内容,但它没有解决问题。我是HTML的新手,但我会添加我的HTML代码。我尝试制作/mobile文件夹并添加index.html,但这不起作用。为什么要查找/ mobile文件夹?内容应该是响应..

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="#">

文件结构:

/public_html
    /fredriksande.no
        /1-Documentation
        /components
        /css
        /img
        /js
        /less
        /.ftpquota
        /.htaccess
        /error_log
        /index.html
        /mailer.php

1 个答案:

答案 0 :(得分:0)

这不是一个直接的答案,但为什么不使用CSS media rules来创建自适应网站,而不是拥有专用的移动版本?