Welcome! Log In Create A New Profile

Advanced

Re: How To Redirect http request to ftp

November 28, 2009 08:14AM
2009/11/28 Edho P Arief <edhoprima@gmail.com>:

> no, you can't do this.
>

hm.. ic ic.. i try another method

rewrite ^.+\.(iso)$ ftp://10.10.2.73/iso/$1 permanent;

and i still got error, because any request iso files only redirect to
ftp://192.168.1.1/iso

fallen:~$ wget http://10.10.3.243:8080/iso/ubuntu/karmic/ubuntu-9.10-alternate-i386.iso
--2009-11-28 20:08:12--
http://10.10.3.243:8080/iso/ubuntu/karmic/ubuntu-9.10-alternate-i386.iso
Connecting to 10.10.3.243:3128... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: ftp://10.10.2.73/iso/iso [following]
--2009-11-28 20:08:12-- ftp://10.10.2.73/iso/iso
Connecting to 10.10.3.243:3128... connected.
Proxy request sent, awaiting response... 404 Not Found
2009-11-28 20:08:13 ERROR 404: Not Found.


--
udienz (Mahyuddin Susanto)
site = http://blog.udienz.net

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How To Redirect http request to ftp

udienz November 28, 2009 06:06AM

Re: How To Redirect http request to ftp

Maxim Dounin November 28, 2009 06:50AM

Re: How To Redirect http request to ftp

udienz November 28, 2009 07:52AM

Re: How To Redirect http request to ftp

edogawaconan November 28, 2009 08:00AM

Re: How To Redirect http request to ftp

udienz November 28, 2009 08:14AM

Re: How To Redirect http request to ftp

edogawaconan November 28, 2009 10:02AM

Re: How To Redirect http request to ftp

udienz November 28, 2009 10:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready