我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

too long

This is my .htaccess file:

Options -Indexes 
Options FollowSymLinks 
RewriteEngine On 
RewriteBase / 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule (.*) /index.php?url=$1 [QSA,NC,L] 

Now for testing purpose I create another directory name testproject on live site. What should do I change in this current .htaccess file?

Just change your RewriteBase to

RewriteBase /testproject

近期文章

  • Joomla事件onContentAfterSave没有开火
  • Solr用/ terms搜索
  • 菜单从数据库填充
  • 在PDT.php页面上显示产品
  • 将wordpress从本地移动到本地
  • 我可以将多个链接传递给fopen,fread和feof吗?
  • 导致下载文件损坏的原因是什么?
  • 在Cocos2d Javascript游戏中将文件保存到服务器
  • Paginate而忽略子行,右键加入
  • PHP和bash脚本
  • JavaScript搜索脚本无法在Internet Explorer中运行?
  • URL中的Jquery错误
  • 通过mod_userdir为所有用户的public_html设置PHP的open_basedir
  • 将FirstName / LastName发布到Excel CSV
  • PHP循环对象根据对象长度操作输出
  • 投票系统(多个站点),无顶回调的顶级列表解决方案
  • 基于路径的Twig重载
  • Facebook广告预览html片段
  • 通过PHP运行Python脚本
  • 无法更改网址,在php中更改网址

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华