2017-05-29 11 views

答えて

0

なぜ質問に否定的な点があるのか​​わかりません!そして、私はなぜ答えが無関係なのか分かりません。とにかく、私は本当の答えを自分で見つけました。

このパスにファイルを作成するか、そのファイルを編集します。私が使用したい

sudo service apache2 restart 
0

urlの内容を保存します。次に、apacheサーバーにindex.htmlページをアップロードし、apacheサーバーを起動します。

+0

mod-:

sudo nano /var/www/html/.htaccess 

ファイルフィル:

RewriteEngine On # avoids recursive rewrite of scripts RewriteCond %{HTTP_REFERER} ^http://xxx\.example\.com/.*$ RewriteRule ^yyy/.* - [L] # rewrites scripts and css files RewriteCond %{HTTP_REFERER} ^http://xxx\.example\.com/.*$ RewriteRule ^(.*)$ yyy/$1 [QSA] RewriteRule ^resource/([^\/]*)$ yyy/zzz/vvv.html?subject=http://xxx.example.com/resource/$1 [QSA] 

をし、Apacheサービスを再起動します書き直すと、6000000のURLをすべてHTMLファイルに保存できません。 –

+0

mod_rewriteは、URLの書き換えに使用されます。例えば、** www.xyz.com/login/sahil **は** www.xyz.com/login.htmlに変換されますか?name = sahil ** –

関連する問題