これが私のコードです:
<files contacts.html>
order allow,deny
deny from all
Allow from access.php
</files>
URL から直接 contact.html にアクセスしたくありません。アクション access.php を持つフォームを持つ index.html ページにフォームがあります。確認すると、ヘッダー関数を使用してcontacts.htmlにリダイレクトします。
これが私のコードです:
<files contacts.html>
order allow,deny
deny from all
Allow from access.php
</files>
URL から直接 contact.html にアクセスしたくありません。アクション access.php を持つフォームを持つ index.html ページにフォームがあります。確認すると、ヘッダー関数を使用してcontacts.htmlにリダイレクトします。