.htaccess 使用htaccess从其他域读取映像
htaccess中是否有转换的方法: 图片/图书馆/旅游预览/布拉尼城堡7.jpg?f=png&w=250&h=190&far=0 致: phpThumb/phpThumb.php?src= 所以基本上: 1) “theimages”被phpThumb/phpThumb.php?src替换= 2) 那这个呢?在原来的链接将被替换为,.htaccess 使用htaccess从其他域读取映像,.htaccess,.htaccess,htaccess中是否有转换的方法: 图片/图书馆/旅游预览/布拉尼城堡7.jpg?f=png&w=250&h=190&far=0 致: phpThumb/phpThumb.php?src= 所以基本上: 1) “theimages”被phpThumb/phpThumb.php?src替换= 2) 那这个呢?在原来的链接将被替换为, 非常感谢您可以在文档\u ROOT/.htaccess文件中使用此代码: RewriteEngine On RewriteBase / RewriteRule ^
非常感谢您可以在
文档\u ROOT/.htaccess
文件中使用此代码:
RewriteEngine On
RewriteBase /
RewriteRule ^theimages/(.+)/?$ phpThumb/phpThumb.php?src=http://example.com/$1 [L,NC,QSA,NE]