rejetto forum
May 25, 2012, 07:44:33 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: File Link redirects. code 301  (Read 497 times)
0 Members and 1 Guest are viewing this topic.
jack_2000
Experienced poster
***
Offline Offline

Bulgaria Bulgaria

Posts: 63



View Profile WWW
« on: September 11, 2010, 07:46:04 PM »

Is it possible to make the links that you can place in the file list be accessible like files.
For example http://Http://your_site.com/Newlink   people would be able to enter that url into their address bar and hfs will use a http code 301 ( moved permanently ) to redirect their browser to the actual link of that address.

I'm talking about achieving the same redirect that is possible with .htaccess.
Can i do that in HFS now? Because when i tried i couldn't. If possible can you add this in the future?


Thanks in advance.
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #1 on: September 11, 2010, 07:59:41 PM »

right click on the vfs and select "New Link"  Wink
Logged
jack_2000
Experienced poster
***
Offline Offline

Bulgaria Bulgaria

Posts: 63



View Profile WWW
« Reply #2 on: September 11, 2010, 08:04:37 PM »

I know how to make those. I want them to be accessible by url.
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #3 on: September 13, 2010, 12:53:22 AM »

you can with version 2.3
but i suggest you to wait for build #270 because it will support this much easier way, with current build it would be trickier.
that's how you will do it with #270

you make an empty virtual folder with this content for the diff template
{.redirect|http://google.com.}
« Last Edit: September 13, 2010, 12:56:34 AM by rejetto » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 19, 2012, 09:11:01 AM
anything