登陆

提交表单,跳转不成功,404.想询问一下是哪里配置错误了吗 ?初学者用到PhpStorm,没有配置

http://localhost/Projects/welcome.php
The requested URL /Projects/welcome.php was not found on this server. Apache/2.4.23 (Win64) PHP/7.0.10 Server at localhost Port 80 大概是这样的页面显示



# PHP
400°眼镜的沙子400°眼镜的沙子30 天前150 次浏览

全部回复(2)我要回复

  • V

    V2019-08-24 11:34:59

    找到Apache中httpd-vhosts.conf文件  (在C:\wamp64\bin\apache\apache2.4.23\conf\extra这个路径下)# Virtual Hosts

    #

    <VirtualHost *:80>

    ServerName localhost

    DocumentRoot c:/wamp64/www

    <Directory  "c:/wamp64/www/">

    Options +Indexes +Includes +FollowSymLinks +MultiViews

    AllowOverride All

    Require local

    </Directory>

    </VirtualHost>

    #80端口改成8080 重启Apache



    回复
    2
  • 400°眼镜的沙子

    收到 谢谢

    400°眼镜的沙子 · 2019-08-24 11:47:57
  • 取消回复发送