I’ve a file in a quote deep path: i.e. instance.com/one/two/three/4/api/index.php (and I am unable to transfer it elsewhere)
This file will should be referred to as by exterior PHP scripts utilizing curl_exec, however I wooden like to make use of a easier path for it (i.e. instance.com/api/index.php as a substitute of instance.com/one/two/three/4/api/index.php
I attempted utilizing following rewriterule in .htaccess:
RewriteEngine On RewriteRule ^api/(.*)$ /one/two/three/4/api/$1 [R=301,NC,L]
The problem is that doing so the response I get from curl is mistaken: as a substitute of the specified string, the response I am getting is “Moved Completely – The doc has moved right here.”
Any trick to do it?
Best Quality Private Proxies by Proxyti:
100% anonymous and safe reliable private proxies
1,000 mb/s speed
Blazing fast proxy servers with up to 1,000 mb/s speed
Best quality proxies from world and USA locations
No limits of using your proxies - truly unlimited bandwidth
Buy Now - Get 2X More Proxies:
100 Private Proxies
200 Private Proxies
500 Private Proxies
1,000 Private Proxies
2,000 Private Proxies
5,000 Private Proxies
Our Unbeatable Proxy Features:
100% security with our proxies – anonymous and secure proxy experience
Ultra Fast Speed
Proxyti offers up to 1,000 mb/s ultra fast proxy speed – feel the real power!
No data limits for your proxies – truly unlimited proxy bandwidth for you!
We secure proxies with IP authentication – use your proxies with your own IP
Highest proxy quality guarantee with supported HTTP/HTTPS and SOCKS connections
Proxyti offers great proxies for great prices – this is what we call new proxy era!
You can choose USA or random proxies locations when ordering for free
We don’t have any limits – you can use your proxies with every software or program!
Lots Of Subnets
The more proxies you buy, the more subnets you get – it is worth ordering more!
Our proxies are shared with maximum of 5 users at a time, but they are still anonymous
We deliver your ordered proxies in your email in .txt file – this is simple as that
Have any questions or want more information – please contact us anytime!