V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
aias
V2EX  ›  问与答

如何在 apache 上部署静态页面

  •  1
     
  •   aias · Jun 14, 2016 · 1103 views
    This topic created in 3606 days ago, the information mentioned may be changed or developed.

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

    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 目录下

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1494 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 16:51 · PVG 00:51 · LAX 09:51 · JFK 12:51
    ♥ Do have faith in what you're doing.