php ci 报错 Object not found! The requested URL was not found on this server. If you entered the URL manually please check
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
----------------------------
看提示是URL地址错误。原因是没有设置服务器地址重写,或者是设置了.htaccess文件,但没有打开重写功能。
解决办法是增加一个.htaccess文件,里面加上重写规则
RewriteEngine On # The RewriteBase / instruction is commented. Remove the "#" to uncomment # RewriteBase / # Memory Limit # php_value memory_limit 256M # php_value max_execution_time 18000 # Disable Hotlinking # Replace "domain.tld" with your domain name # Don't forget to add a picture "thepic.gif" on your server # RewriteCond %{HTTP_REFERER} !^http://(.+\.)?domain\.tld/ [NC] # RewriteCond %{HTTP_REFERER} !^$ # Solution 1 : Displays another picture from an URL # RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://www.domain.tld/thepic.gif [L] # Solution 2 : Displays a 403 forbidden # RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F] # Forces the "www" # RewriteCond %{HTTP_HOST} !^www\.yourdomain\.tld$ [NC] # RewriteRule ^(.*)$ http://www.yourdomain.tld/$1 [QSA,L,R=301] # Uncomment these lines to display the off.html page to other IP than the one bellow # RewriteCond %{REMOTE_ADDR} !^127.0.0.1$ # RewriteCond %{REQUEST_FILENAME} !-f # RewriteRule ^(.*) off.html # DO NOT MODIFY ANY FOLLOWING LINE # Iemis Rules # Keep these lines even in maintenance mode, to have an access to the website RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond $1 !^(index\.php|robots\.txt) RewriteRule ^(.*)$ index.php/$1 #RewriteCond %{HTTP_HOST} !^(www)\. [NC] #RewriteRule ^(.*)$ index.php/$1 [L,QSA] #RewriteRule ^(.*)$ index.php/$1 [L,P] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(application|modules|plugins|system|themes) index.php/$1 [L]
-----------------------------
You're having problem because the object really doesn't exist in your htdocs directory. You don't have to append xampp
after localhost or 127.0.0.1 because xampp
will treat it as an object or a folder under htdocs.
if you want to access your blog, make sure you have a blog folder under htdocs and put in your URL localhost/blog
------------------------------
本人微信公众帐号: 心禅道(xinchandao)
本人微信公众帐号:双色球预测合买(ssqyuce)
golang技术交流群:316397059,vuejs技术交流群:458915921 囤币一族:621258209,有兴趣的可以加入
微信公众号: 心禅道(xinchandao)投资论道
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
2015-07-03 python3.4学习笔记(十五) 字符串操作(string替换、删除、截取、复制、连接、比较、查找、包含、大小写转换、分割等)
2015-07-03 python3.4学习笔记(十四) 网络爬虫实例代码,抓取新浪爱彩双色球开奖数据实例