V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
aias
V2EX  ›  问与答

如何在 apache 上部署静态页面

  •  1
     
  •   aias · 2016-06-14 15:10:50 +08:00 · 855 次点击
    这是一个创建于 2898 天前的主题,其中的信息可能已经有所发展或是发生改变。

    朋友丢我个静态页面叫我帮他部署到云服务器上,结果我搞了半天都没部署上去..好丢脸。一直是:

    You don't have permission to access / on this server.
    

    各位给个靠谱的教程可好?如果是中文就更好了。

    附 /etc/apache2/conf-available 文件

    <Directory /home/aias/testWEB>
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
    </Directory>
    
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    
    

    已做链接至 conf-enabled 目录下

    各位可以帮我看看有什么问题吗?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1778 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 00:04 · PVG 08:04 · LAX 17:04 · JFK 20:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.