vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=182876

Please help:)
by yuriy
18 Jun 2008 19:49

Hey guys..I was wondering how I can make a html page for example: closed.html
and I want to close down my old friends website, since he wont be using it for sometime(moving back to europe) and he wants it off while he moves..but he asked me to make a page for him, whenever someone goes to lets say www.website.com/index.php or www.website.com/forum.php or anything after the "/" it would display the message that is written in closed.html..
i know you can shutdown the forum but he doesnt want anyone to know its there..so he wants one page to be displayed in all directories..

how would i do that? is it something in .htaccess?

thanks:)

soundbarrierpro 18 Jun 2008 19:58

Quote:

Originally Posted by yuriy (Post 1552778)
Hey guys..I was wondering how I can make a html page for example: closed.html
and I want to close down my old friends website, since he wont be using it for sometime(moving back to europe) and he wants it off while he moves..but he asked me to make a page for him, whenever someone goes to lets say www.website.com/index.php or www.website.com/forum.php or anything after the "/" it would display the message that is written in closed.html..
i know you can shutdown the forum but he doesnt want anyone to know its there..so he wants one page to be displayed in all directories..

how would i do that? is it something in .htaccess?

thanks:)

Clear the root and put a single index file in there.

yuriy 18 Jun 2008 19:59

The thing is, he wants to reopen it later on, just wants it off for the time hes away..

soundbarrierpro 18 Jun 2008 20:01

Quote:

Originally Posted by yuriy (Post 1552789)
The thing is, he wants to reopen it later on, just wants it off for the time hes away..

the tables will still be stored in the database. As long as he removes the forum folder and saves it somewhere locally he can easily upload it later and nothing changes, the forum is exactly as it was when he left it. If anybody has links to his forum directories they won't be able to get to them.

yuriy 18 Jun 2008 20:07

Yeah but most users have the /index.php and /forum/index.php directories as their favorites, It just would be alot more easier to just make htaccess file or something to block all directories and display a page..

RLShare 18 Jun 2008 20:17

Add this to .htaccess

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 13:42.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.