duanfang5849 2015-02-23 23:44
浏览 106

找不到Localhost 404 XAMPP服务器

Good Day Everyone!

I am having problems with XAMPP in particular, I suppose that typing "localhost" alone in the browser should bring up something, but that does not been the case for me. I did typed in localhost:8080 and it works as it shows the xampp site. However, when I try to get into another folder let's say htdocs, I wrote it like this "localhost:8080/xampp/htdocs, it does not let me and it shows that object not found. Can someone please help me with this problem? I tried stopping and starting the server and restarting my computer but to no avail. I did ensure that the folder was there. Thank You!

  • 写回答

1条回答 默认 最新

  • dsxjot8620 2015-02-24 00:11
    关注

    I have been where you at. By default the root folder for the webserver is htdocs, so this means if you have a folder called test inside the htdocs folder, you would need to use this URL localhost:8080/test to access the content in the test folder.

    I recommend you to change the document root in the config file httpd.conf to another directory or another drive. For example to change the root directory to C: then you would need to change these two lines in the httpd.conf

    DocumentRoot "C:/"
    <Directory "C:/">
    
    评论

报告相同问题?

悬赏问题

  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 用hfss做微带贴片阵列天线的时候分析设置有问题
  • ¥50 我撰写的python爬虫爬不了 要爬的网址有反爬机制
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥120 计算机网络的新校区组网设计
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 海浪数据 南海地区海况数据,波浪数据