服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. apache 2.2 configuration redirect
  3. 使用httpd.conf(apache)进行URL解码和redirect
Intereting Posts
从域删除Windows服务器时,它是空气? Apache mod_proxy 你会推荐使用Mac OS X Server内置VPN或Open VPN吗? Ubuntu生产服务器访问configuration恢复选项 使用iptables进行非路由器机器的带宽监视 如何追踪因特网连接丢失的原因 如何configuration一个AD DC来响应ldaps上的LDAP绑定://? 如何手动恢复Windows 2000域 AWS-EC2,如何设置多个公共站点只有一个实例? DC发生故障时,强制服务器find备用DC pipe理区域文件 在Fedora 16上降级httpd iptables规则只对某个端口有效 Windows远程桌面连接 如何使Ubuntu的useradd行为像Centos的useradd?

使用httpd.conf(apache)进行URL解码和redirect

我正在使用apache2.2

http://my.site.com/redirect?url=http%3A%2F%2Fwww.google.com -> Redirect 301 http://www.google.com 

  • inotify支持不可用
  • AWStats结果在一个单一的HTML文件?
  • FreeNX是否与Nomachine Web Companion一起使用?
  • apache chmod 777在单一用户环境中存在风险
  • Web服务器之间的文件同步

也许你需要PHP并做redirect。

 <?php header("Location: {$_GET['redirection']}"; ?> 

你也可以使用

  RewriteEngine on RewriteRule ^/(.*) http://www.askdavetaylor.com/$1 [L,R=301] 

如dave网站上所述: http : //www.askdavetaylor.com/how_do_i_add_a_301_redirect_to_my_apache_httpdconf.html

  • 拒绝访问svn目录
  • 我怎样才能使一个高可用性的tomcat集群没有单点故障?
  • 用TomcatreplaceApache实例6
  • 哪个Linux文件系统最适合一个庞大的Apache mod_disk_cache分区?
  • 错误500消息 – 但仅限于某些页面/操作
  • 防止恶意爬虫/垃圾邮件和DDoS攻击的方法
  • dynamic反向代理与Apache 2
  • 安装了APC,但没有在Gentoo上运行
  • Apache HTTP-Basicauthentication不起作用
  • 可扩展的服务器configuration,用于dynamic增长的社交网站

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