1

私の現在の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 ドメインを確認したいと考えています。しかし、URL mydomain.com/google00ff0108e32428b8.html にアクセスすると、エラー ページ 404 が表示されます。

[Codeigniter .htaccess file config for google-apps domain validation exception のガイドラインに従っても、同じエラー ページが表示されます。

htaccess ファイルでドメイン検証 URL を許可する方法を教えてください。

4

2 に答える 2

2

単純:

RewriteEngine On
RewriteRule google00ff0108e32428b8.html google00ff0108e32428b8.html [L]

すべき

于 2016-09-28T10:36:15.190 に答える
1

同様の質問がここで尋ねられましたそして答えはかなり明確でした.cnameやtxtレコードを使用するなど、Googleウェブマスターツールを使用してドメインを確認するために他の方法を使用することもできます. メタタグも。

于 2013-12-24T03:57:42.670 に答える