惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CERT Recently Published Vulnerability Notes
U
Unit 42
T
The Blog of Author Tim Ferriss
H
Hackread – Cybersecurity News, Data Breaches, AI and More
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Securelist
L
Lohrmann on Cybersecurity
Blog — PlanetScale
Blog — PlanetScale
Recorded Future
Recorded Future
D
DataBreaches.Net
Spread Privacy
Spread Privacy
T
Threat Research - Cisco Blogs
I
Intezer
P
Palo Alto Networks Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
I
InfoQ
宝玉的分享
宝玉的分享
Security Latest
Security Latest
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threatpost
Cisco Talos Blog
Cisco Talos Blog
P
Proofpoint News Feed
博客园 - 司徒正美
H
Hacker News: Front Page
Y
Y Combinator Blog
爱范儿
爱范儿
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
NISL@THU
NISL@THU
月光博客
月光博客
有赞技术团队
有赞技术团队
Cloudbric
Cloudbric
酷 壳 – CoolShell
酷 壳 – CoolShell
G
Google Developers Blog
A
Arctic Wolf
博客园 - 【当耐特】
W
WeLiveSecurity
V
Visual Studio Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
V
V2EX
C
Cyber Attacks, Cyber Crime and Cyber Security
S
SegmentFault 最新的问题
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Stack Overflow Blog
Stack Overflow Blog

Apache

请教下 Apache2 代理二级域名的问题 - V2EX Apache 错误:(20014)Internal error - V2EX 使用 Apache 反代 DuckDuckGo,如何处理 external-content.duckduckgo.com?反代 Google 时遇到 recaptcha 验证码又怎么解决? - V2EX 大佬们, apache 服务器配置虚拟主机,配置禁止所有非法域名时。 - V2EX flink 如何提高字符串解析性能 有没有哪位熟悉 apache httpd,有个离谱的事情问一下 部署个 apache/doris 怎么就这么复杂 - V2EX httpd 和其它 web server 的通信方式有哪些? - V2EX 使用 docker 安装 h5ai 后,直接访问文本文件乱码 关于 htaccess Redirect 301 问题,怎么去掉参数 - V2EX 反向代理配置 ip 可以访问,域名不行 - V2EX 「分布式系统前沿技术」专题 | Pulsar 的设计哲学 - V2EX 有在 macOS 配置 Apache 服务器的吗? - V2EX 大佬们求教: HttpClients.createDefault() LApache 虚拟主机设置.htaccess 实现全站 HTTPS Apache2 如何配置 SSL 证书啊 - V2EX 请教乐于助人、高手如云的 V2 朋友们! - V2EX 一个服务器分别运行 Apache2 子域名网站和 Nginx 主域名网站,子域名为何出现 400 Bad Request? - V2EX 个推基于 Apache Pulsar 的优先级队列方案 - V2EX Apache 2.4.38 在编译配置参数上,如何指定 apache 的配置文件安置到/etc 里面? - V2EX apache 下如何将 xxx.com www.xxx.com https://xxx.com 重定向 https://www.xxx.com 的 - V2EX Apache 的 Access Log 中老是出现 OPTIONS 访问,导致数据库连接中断,怎么处理? - V2EX 很灵异的 apache 伪静态规则偶尔会失效 大家遇到过吗?求解决方法 - V2EX flume 抓 TOMCAT 日志发 kafka,怎么按日志内容分段发送? - V2EX ubuntu16.04 搭建 wiki 求助 关于 apache 多域名多站点(http 和 https 都有)单服务器配置问题 配置好的 CentOS httpd SSL 服务,为什么不能网页不能自动重定向 https? - V2EX 请教一下在 Lightsail 部署 Python Flask project 时候遇到的问题 - V2EX 想问问大神, apache 搭建的反代,套了 CF 之后,被反代的网站出现 ERROR1000,应该如何解决 - V2EX Apache 可以通过路由配置让一个域名访问两个系统吗? - V2EX 解决了一个 Apache 拒绝服务的问题((OS 64)指定的网络名不再可用。AH00341: winnt_accept: Asynchronous AcceptEx failed.) - V2EX 请教一个 apache 虚拟主机配置的问题 - V2EX apache 2.4.16 + PHP 5.5.29 使用 fcgi 方式跑 wordpress,想用.htaccess 限制 wp-login. PHP 是不是就不管用了? - V2EX 如何利用 Apache rewrite 隐性跳转 - V2EX 请教 Apache 伪静态规则的 2 条规则 的请教 - V2EX apache2.4.10 configured -- resuming normal operations - V2EX 请问如何设置文件夹权限使 vsftpd 和 apache 目录并存 - V2EX 深夜请教一个 Apache 的 Rewrite 规则 - V2EX Apache 配置 Rewrite 重写规则问题 - V2EX 大家好,请问如何查看 Apache 向别的服务器发送了什么 URL 出去呢 - V2EX 请教一个重写规则问题 - V2EX 求教一个 htaccess 写法 - V2EX Apache rewrite 部分细节 - V2EX 菜鸡求助, apache 开启了 Rewrite 后, 静态文件就 403 了 - V2EX 请教一个.htaccess 的问题,规则导致 url 重复了 - V2EX 怎么让所有 HTTP 流量进过 APACHE?,(示意图) - V2EX 怎么样让 httpd 工作在网桥透传模式下,所有请求都能经过 httpd? - V2EX 困扰我好久的 Tomcat 管理页面 403 - V2EX 今天查看了下 access.log 发现一些奇怪的东西 - V2EX
线上正式环境中的 apache 怎么配置 - V2EX
scxiaoxu · 2017-10-24 · via Apache

这是一个创建于 3155 天前的主题,其中的信息可能已经有所发展或是发生改变。

请问线上环境中的 apache 怎么配置啊,比如我 a.com 访问默认 www 目录,我想做个二级域名 a.a.com 访问 a 目录,现在二级域名已经解析到服务器了,我 apache 怎么配置啊,求指点

tuding

1

tuding      2017 年 10 月 24 日

应该是在<VirtualHost>里面配置.

scxiaoxu

2

scxiaoxu      2017 年 10 月 24 日

是的,但是我现在在 vhost 里面配置了没用,这个是我现在配置的

scxiaoxu

3

scxiaoxu      2017 年 10 月 24 日

<VirtualHost *:8081>

ServerAdmin [email protected]

DocumentRoot "${SRVROOT}/htdocs/wechat"

ServerName gongzhonghao.tcgames.vip

ErrorLog "logs/gongzhonghao.log"

CustomLog "logs/gongzhonghao.log" common

<Directory "${SRVROOT}/htdocs/wechat">
Options -Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>

</VirtualHost>