服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. Apache的2.4
  3. 如何否定Apache 2.4中的RewriteCond expr“-R'192.168.1.0/24'”?
Intereting Posts
大量的DNS查找 无法再在Google Apps用户的帐户中添加电子邮件别名 LAMP服务器映像权限 当网关位于不同的子网中时,如何将IPv6添加到Window Server 2008? Dell T7500上的96 GB RAM在Ubuntu Server 11.04中显示为78 GB 绕过/ etc / services查找xinetd 在脚本中使用密码安全地备份远程服务器的数据库吗? 如何设置虚拟机群集以承载具有故障转移冗余的Web应用程序? 导出NFS共享时,哪个匹配优先? WatchGuard身份validation等同于Cisco ASA X系列 VMware View和DRS 用于WinPE的Dell T5810 SCCM驱动程序 不同大小的子网在同一个系统上 禁用viewgit下载选项 星号:用“ast_yyerror”

如何否定Apache 2.4中的RewriteCond expr“-R'192.168.1.0/24'”?

我无法弄清楚如何否定匹配客户端IP的rewritecond:

RewriteCond expr "-R '192.168.1.0/24'"

假设我想匹配,如果远程IP地址不是这个。 什么语法?

我读了Apache HTTP Server中的expression式,但没有find它。 谢谢!

  • 默认文档根目录和根目录
  • Apache如何“build议”孩子停下来优雅地停下来
  • 是不推荐使用mod_xsendfile吗?
  • Mod重写错误填充Apache错误日志
  • Apache 2.4:要求IP不能按预期工作

  • Apache2不能正确redirect
  • httpd.conf文件中的Apache区分大小写的语法
  • 如何将一个子目录redirect到根目录
  • 为什么不`httpd2 -S`抓住SSL证书问题,而`systemctl restart apache2.service`呢?
  • Apache是​​否将所有请求发送到PHP进行处理?

find了!

 RewriteCond expr "! -R '12.345.678.90/28'" 
  • 为什么要在Apacheconfiguration中监听特定的IP地址?
  • 为什么Apache产生这么多的进程?
  • 在Apache 2.4中使用Require指令允许多个IP
  • Apache 2.4基于Web的控制台
  • Apache 2.4.3 php-fpm mod_fast_cgi和mod_cache
  • mod_auth_form和跨域authentication
  • 如何在子域上运行PHP-FPM?
  • Apache别名与<Location />
  • 如何在Ubuntu 14.04上启用Apache 2.4的自定义日志logging?
  • 在Apache 2.4 vhostconfiguration中默认为“全部授予”?

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy