域名解析问题 如何将 www.a.com 解析到 /m/a/index.html的路径啊?服务器上用的是WAMP5工具 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_URI} ^/$ RewriteRule .* /m/a/index.html [L]</IfModule> 你搞到哪一步了?现在www.a.com是到哪儿? 修改 Apache mod_rewrite 有两个网址都指向了一个网站www.aaaa.com已经解析到 网站根目录/index.html现在要将 www.a.com 解析到 /m/a/index.html不会弄 我初次接触PHP大家说详细点儿 查apache(你用的是apache吗?)的VirtualHost的文档或网上的例子即可 正解,只需要google“虚拟主机”即可,指定下ServerName之类的就行了... 用记事本打开Apache2.2/conf/httpd.conf 添加<VirtualHost *:80> DocumentRoot /m/a/index.html ServerName www.a.com </VirtualHost> 谁有php 发送邮件 的代码! 我的能发送邮件但是无法发送内容 网页中直接插入.flv视频文件播放问题 现在还用php_pdf.dll吗 请教高手PHP编写单点登陆程序 2年开发经验找PHP私活 反向关键词查询的问题 中国图书网的网站无法访问 log4php 求帮助 linux 中php-fpm的问题 如何利用CutyCapt插件截图登陆后的网页? php类文件如何访问别的文件中的变量 SQL语法急求
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteRule .* /m/a/index.html [L]
</IfModule>
www.aaaa.com已经解析到 网站根目录/index.html现在要将 www.a.com 解析到 /m/a/index.html不会弄
大家说详细点儿
正解,只需要google“虚拟主机”即可,指定下ServerName之类的就行了...
<VirtualHost *:80>
DocumentRoot /m/a/index.html
ServerName www.a.com
</VirtualHost>