rejetto forum
Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: guest on April 27, 2008, 10:58:39 PM
-
i searched the forum to find this but nothing makes sense to me. I wanna have a page when someone types in my url that i can have an enter here button. making the page isnt my problem, it is having the page appear first then linking my button to enter the file server. more or less a download at your own risk yes i agree button if ya know what i mean.
-
there is not a specific guide for what you ask but it is possible.
basically to do it, use an if statement that test if the refer field of the http header(use header macro) matches your domain/ip.
if it is true, include the main section.
if it is false, include the message.
-
ok im confused
-
METHOD #1 - EASIER
1. put all your stuff inside a folder called "stuff"
2. create a file index.html with content similar to
<a href='/stuff'>Enter at your own risk</a>
4. put this file in the root of the virtual file system
METHOD #2 - HARDER
1. switch to expert mode
2. menu -> other options -> enable ~nodefault
3. create a file index.html with content similar to
<a href='/~nodefault'>Enter at your own risk</a>
4. put this file in the root of the virtual file system