域名解析问题 如何将 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> 分页按钮样式 通过ajax抓取不到数据 求一思路! 帮忙看一个正则表达式 gmail openid+Oauth php 怎么实现? google地图API的key由长的换成短的以后地图就无法正常使用了 lightintbox.com php电子商务模版在那下载啊,后者源码 PHP 谁介绍一个招聘和求职类的英文CMS 安卓运行项目报错,我只是个新手求解?? 这个json格式没错啊,但是回调函数不能执行 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>