V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Mayuri  ›  全部回复第 7 页 / 共 7 页
回复总数  125
1  2  3  4  5  6  7  
本来想说点什么,看完之后。。。
2018-11-08 11:08:11 +08:00
回复了 luoway 创建的主题 随想 手机 QQ 有种沦为弃子的感觉,自己革自己的命
都是一种趋势。。
2018-11-08 09:02:37 +08:00
回复了 Mayuri 创建的主题 问与答 http 与 https 所指向的站点目录不同?
@PressOne 是的,Let's Encrypt 免费证书
2018-11-08 09:02:11 +08:00
回复了 Mayuri 创建的主题 问与答 http 与 https 所指向的站点目录不同?
@Vhc 并不是电脑中毒了。。在手机上,别的电脑上访问也是如此,各种浏览器也是如此
2018-11-08 09:01:09 +08:00
回复了 Mayuri 创建的主题 问与答 http 与 https 所指向的站点目录不同?
@also24 aa.com 不太好看 我换成 example.com 。。
```httpd-vhost.conf ``` 配置如下
```
<VirtualHost *:80>
ServerAdmin [email protected]
#php_admin_value open_basedir "/var/www/html/a:/tmp/:/var/tmp/:/proc/"
DocumentRoot "/var/www/html/a"
ServerName a.example.com
ErrorLog "/home/wwwlogs/a.example.com-error_log"
CustomLog "/home/wwwlogs/a.example.com-access_log" combined
<Directory "/var/www/html/a">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.php
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin [email protected]
#php_admin_value open_basedir "/home/wwwroot/example.com:/tmp/:/var/tmp/:/proc/"
DocumentRoot "/home/wwwroot/example.com"
ServerName example.com
ErrorLog "/home/wwwlogs/example.com-error_log"
CustomLog "/home/wwwlogs/example.com-access_log" combined
<Directory "/home/wwwroot/example.com">
SetOutputFilter DEFLATE
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.php
</Directory>
</VirtualHost>
```
1  2  3  4  5  6  7  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1012 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 19:13 · PVG 03:13 · LAX 12:13 · JFK 15:13
Developed with CodeLauncher
♥ Do have faith in what you're doing.