Apacheの設定
<VirtualHost *:80><span style="color: #000000;"> ServerAdmin webmaster@dummy</span>-host2.example.<span style="color: #000000;">com ServerAdmin webmaster@dummy</span>-host.example.<span style="color: #000000;">com DocumentRoot </span>"e:/www/WapSources/01 code"<span style="color: #000000;"> ServerName wap</span>.weilan.<span style="color: #000000;">com </span><span style="color: #008000;">#</span><span style="color: #008000;">ServerAlias www.dummy-host.example.com</span> <span style="color: #008000;">#</span><span style="color: #008000;">ErrorLog "logs/dummy-host.example.com-error.log"</span> <span style="color: #008000;">#</span><span style="color: #008000;">CustomLog "logs/dummy-host.example.com-access.log" common</span> <Directory "e:/www/WapSources/01 code"><span style="color: #000000;"> Options Indexes FollowSymLinks AllowOverride all Order allow</span>,<span style="color: #000000;">deny Allow from all </span></Directory> <IfModule mod_rewrite.c><span style="color: #000000;"> RewriteEngine on RewriteCond </span>%{REQUEST_METHOD} ^(TRACE|<span style="color: #000000;">TRACK) RewriteRule </span>.* -<span style="color: #000000;"> [F] Rewriterule </span>^(.*)/(.*)/index.html$ $1/index.php?$2<span style="color: #000000;"> Rewriterule </span>^(.*)/(.*)/index(\d+).html$ $1/index.php?$2&page=$3<span style="color: #000000;"> Rewriterule </span>^(.*)/(.*)/a(\d+)\.html$ $1/index.php?$2/$3<span style="color: #000000;"> Rewriterule </span>^(.*)/u/(\d+)/(.*)$ $1/index.php?u&$2&$3<span style="color: #000000;"> Rewriterule </span>^(.*)/u/(\d+)/(.*)/$ $1/index.php?u&$2&$3<span style="color: #000000;"> Rewriterule </span>^(.*)/u/(\d+)$ $1/index.php?u&$2<span style="color: #000000;"> Rewriterule </span>^(.*)/u/(\d+)/$ $1/index.php?u&$2<span style="color: #000000;"> Rewriterule </span>^(.*)/(.*)/index.html\?(.*) $1/index.php?$2&$3<span style="color: #000000;"> Rewriterule </span>^(.*)/(.*)/index(\d+).html\?(.*) $1/index.php?$2&$3<span style="color: #000000;"> Rewriterule </span>^(.*)/index.action(.*) $1/index.php$3 </IfModule> </VirtualHost>
ログイン後にコピー
简洁版:
#指定自己的哪个网卡的哪个IP地址,可以访问虚拟主机
NameVirtualHost *:80
#指定虚拟主机的域名
ServerName yangzailu.com
#指定虚拟目录
DocumentRoot "e:/www/web1"
#指定目录权限
Options Indexes FollowSymLinks
AllowOverride All
Order Deny,Allow
Deny from all
Allow from all
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。

ホットAIツール

Undresser.AI Undress
リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover
写真から衣服を削除するオンライン AI ツール。

Undress AI Tool
脱衣画像を無料で

Clothoff.io
AI衣類リムーバー

Video Face Swap
完全無料の AI 顔交換ツールを使用して、あらゆるビデオの顔を簡単に交換できます。

人気の記事
アサシンのクリードシャドウズ:シーシェルリドルソリューション
3週間前
By DDD
Windows11 KB5054979の新しいものと更新の問題を修正する方法
2週間前
By DDD
アサシンクリードシャドウ - 鍛冶屋を見つけて武器と鎧のカスタマイズを解除する方法
1 か月前
By DDD
Atomfallのクレーンコントロールキーカードを見つける場所
3週間前
By DDD
<🎜>:Dead Rails-すべての課題を完了する方法
3週間前
By DDD

ホットツール

メモ帳++7.3.1
使いやすく無料のコードエディター

SublimeText3 中国語版
中国語版、とても使いやすい

ゼンドスタジオ 13.0.1
強力な PHP 統合開発環境

ドリームウィーバー CS6
ビジュアル Web 開発ツール

SublimeText3 Mac版
神レベルのコード編集ソフト(SublimeText3)

ホットトピック
Gmailメールのログイン入り口はどこですか?
7642
15


CakePHP チュートリアル
1392
52


Steamのアカウント名の形式は何ですか
91
11


NYTの接続はヒントと回答です
33
150

