View Full Version : Is there a way to prevent viewing of the index page ?
Hi,
i'm currently developping my site, and I don't want anyone to see what is on the index.shtml page.
Since we can't htacess the www.... (http://www....) is there a way to block anyone (except me) from viewing this page and any page in www while i'm developping ?
I know I could just rename the index page while I'm working, but I really need to have the index page of my site with some documents inside.
Thanks,
Benj
Since you are using a .shtml extension, try tossing a blank or "coming soon" index.html page in there.
.html and .htm will be shown by the server before a .shtml page will be.[nbsp][nbsp]This way someone going to domain.com/ will see the .html page while you can still enter from domain.com/index.shtml
Another option would be to password protect the directory...
Deb
[nbsp]- Knowledge of the path is the doorway to design.
THanks :)
Always pleasent to have a fast support :)
I'll use the first solution.
Benj
Justin
05-27-2000, 01:43 PM
Um, actually index.shtml is the first thing the server looks for... What I would recommend is adding the following line to an .htaccess file in your root directory:
</font><font face="Courier" size="3">DirectoryIndex comingsoon.html</font><font face="Verdana, Arial" size="2">
Then create a comingsoon.html page, and it will display instead of your index.shtml page.
Hope this helps :)
------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support
It works like a charm :)
Benj
Opppss, my bad, sorry about that...
The true order is as follows:
index.shtml
index.shtm
index.html
index.htm
index.php3
index.php
index.phtml
index.cgi
index.fquest
Reference: http://www.aota.net/HTML/homepage.php3
Deb
[nbsp]- I really should refer to the tutorials more often.
Dan Kaplan
05-27-2000, 03:16 PM
index.fquest Hey, how'd that one sneak in there?[nbsp][nbsp]It's not on the tutorial page![nbsp][nbsp]Looks like an inside job...
Dtective
Justin
05-27-2000, 03:29 PM
index.fquest was added for new accounts as the default page. Before it was index.html, and if you uploaded an index.htm page, you would still see the default page. Adding a .fquest lets us set that at the lowest priority (last in the search order) to prevent all the "why can't I see my page" questions :)[nbsp][nbsp]This way, any of the other index pages will take priority over the default page.
------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support
Yet another FQuest exclusive
[nbsp][nbsp] Brought to by the good guys at FutureQuest.
[nbsp][nbsp] (is that copyrighted?
[nbsp]Deb
[nbsp]- Ok.. I'll go back to my hole now
Terra
05-27-2000, 04:05 PM
good guys almost always finish last!
I am not a good guy, I am not a good guy, I am not a good guy!
Face it Deb, we are geeks...
heh, I'm not a geek, I am NOT a geek, not a geek!
I am a bad boy, yes, yes, yes - very bad!
--
Terra
--More Dnial--
FutureQuest
Justin
05-27-2000, 04:35 PM
Um... please tell me this doesn't make me a geek by association...
:P
------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support
Dan Kaplan
05-27-2000, 07:04 PM
Uh, Terra, didn't Deb ask you not to hang around the forums for awhile?[nbsp][nbsp]You couldn't have been let out of your cage so soon?!
Dungeon
p.s.[nbsp][nbsp]Thanks for the post in the other thread notifying us about the upgrades Monday night.[nbsp][nbsp]For anyone reading through the forums wondering if FQ is the place for you, where else would you receive public notification two and a half days in advance of minimal server downtime?[nbsp][nbsp]And where else would the sysAdmin proclaim geekiness in such a manner?[nbsp][nbsp]:)
Terra
05-27-2000, 08:07 PM
Ummmmm Dan, please review the following:
$perl -M'Date::Calc qw(Delta_DHMS)' -e 'print join ":", Delta_DHMS(2000,05,27,18,26,00,2000,05,29,1,0,0)'
;)
--
Terra
--Let's do the TimeWarp Agaaaaiiiiinnnnnn![nbsp][nbsp]After all, It's just a jump to the left!--
FutureQuest
Dan Kaplan
05-27-2000, 09:10 PM
Ok, so it's Monday morning and not Monday evening...[nbsp][nbsp]I'm a coast or two away, several time zones different, and on drugs![nbsp][nbsp]Give me a break.[nbsp][nbsp]:P
I take back all accolades.[nbsp][nbsp]:)
Duh
vBulletin® v3.6.8, Copyright ©2000-2013, Jelsoft Enterprises Ltd.