服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. .htaccess 环境variables apache 2.2
  3. 如何访问.htaccess中的httpd.conf环境variables?
Intereting Posts
无法使用authconfig错误报告select多个LDAP服务器 用Apache与Apache WSGI并行运行Docker Active Directory userAccountControl修改权限 像AD一样的Kerberos SSH / PAMlogin SQL 2005 SP3事务复制 在apache2.4上为每个用户分开反向代理 接口/静态IP问题 – Debian (Eucalyptus,KVM)为什么我们需要将虚拟机分割成内核映像,虚拟盘映像和磁盘映像? krenew命令不工作:权限被拒绝 Supermicro X8DT3上lm_sensors报告温度错误? Nginx密码保护目录下载源代码 在Jetty 9上https到http反向代理 客户端通过接入点连接时如何获得分配的IP地址? 无法在CentOS 6.0 x64上安装GIT sendmail:SMTP主机名称查找失败

如何访问.htaccess中的httpd.conf环境variables?

这似乎不工作在.htacces:

SetEnv FOO %{ENV:BASH} 

  • 为什么PHP不能从别名目录运行?
  • 使用htaccess从远程服务器提供文件
  • 将旧的.htaccess规则转换为IIS重写规则
  • 重写规则的apache错误日志
  • Linux使用.htaccess将wwwredirect到非www

这取决于你想要做什么。

为了将它们传递给CGI脚本,可以使用PassEnv访问环境variables。

用mod_rewrite ,你可以用%{ENV:blah}forms访问它们。

没有其他方法可以访问Unix环境variables。

要操纵Apache环境variables,您可能需要检查文档

  • 在符号目录上的urlrewrite htaccess
  • Apache允许或redirect用户
  • Apache错误日志; Php错误文件不存在; 认为这与mod_rewrite有关
  • 黑客的WordPress博客
  • 帮助在htaccess中的variables
  • .htaccessconfiguration问题
  • 通配符子域设置…要更改主机IP抛出客户端Alogging…该怎么做
  • 保护服务器上的PHP包
  • .htaccess修改规则,并redirect,如果URL中有.php
  • 从包含网站的文件夹redirect

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