0

<link href="http://miads.in/oc-content/themes/modern/style.css" rel="stylesheet" type="text/css" /> たとえば、ユーザーごとにビュー ページ ソースのパスhttp://miads.in/oc-content/themes/modern/style.cssを偽造する必要があります (Web サイトを右クリックしてソース コードを表示する) http://miads.in/pc-content/style/look/style.css

htaccess に書いてみました。

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^oc-content/(themes)/(modern)/([a-z]+)\.(css)$ /pc-content/style/look/$4.$5 [L]
</IfModule>

しかし、ビューアポイント(ソースを表示)のパスは変更されず、ソースにはcssファイルの元のパスが表示されますが、私のページのスタイルはなくなり、テキストだけが残ります.

4

0 に答える 0