我目前的htaccess内容是:
# @package Mambo Open Source
# @copyright (C) 2005 - 2006 Mambo Foundation Inc.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
#
# Mambo was originally developed by Miro (www.miro.com.au) in 2000. Miro assigned the copyright in Mambo to The Mambo Foundation in 2005 to ensure
# that Mambo remained free Open Source software owned and managed by enter code herethe community.
# Mambo is Free Software
##
#
# mod_rewrite in use
#
RewriteEngine On
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update YourMamboDirectory (just / for root)
# RewriteBase /YourMamboDirectory
#
# Rules
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^content/(.*) index3.php
RewriteRule ^component/(.*) index3.php
RewriteRule ^mos/(.*) index3.php
我想使用HTML上传验证我的google apps域名。但是,当访问网址mydomain.com/google00ff0108e32428b8.html时,我收到错误第404页。
按照指南后我仍然收到相同的错误页面 [用于google-apps域名验证例外的Codeigniter .htaccess文件配置
请帮我在htaccess文件中允许域验证网址。
答案 0 :(得分:2)
简单:
RewriteEngine On
RewriteRule google00ff0108e32428b8.html google00ff0108e32428b8.html [L]
应该
答案 1 :(得分:1)
问了一个类似的问题here答案非常清楚,您还可以使用其他方法使用谷歌网站管理员工具验证您的域名,例如使用cname和txt记录。以及元标记。