服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. apache 2.2 configuration redirect
  3. 使用httpd.conf(apache)进行URL解码和redirect
Intereting Posts
如何防止用户复制或打印文件? 需要批量语音邮件供应商与API的应用程序 Ubuntu 16有不明原因的第二个IP 用户PC名称/访客login失败 openldap代理授权 Exchange 2013带有两个通配符证书的服务 没有多播的JBoss? ARC公钥被存储在哪里? 内核Printk:xx消息被抑制 对于IIS7,输出caching没有为.aspx文件添加任何规则时的默认行为是什么 有log4net模式格式日志查看器? 如何创build任务来重置虚拟硬盘设置? 如何在Ubuntu 10.10中为grub2添加引导参数? 为什么是REDIRECT header_check创build一个CC Ubuntu – 完成FTP复制后执行批处理脚本

使用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