Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Jun 2008, 19:49
yuriy yuriy is offline
 
Join Date: Oct 2006
Please help:)

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
Reply With Quote
  #2  
Old 18 Jun 2008, 19:58
soundbarrierpro soundbarrierpro is offline
 
Join Date: Dec 2007
Originally Posted by yuriy View Post
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.
Reply With Quote
  #3  
Old 18 Jun 2008, 19:59
yuriy yuriy is offline
 
Join Date: Oct 2006
The thing is, he wants to reopen it later on, just wants it off for the time hes away..
Reply With Quote
  #4  
Old 18 Jun 2008, 20:01
soundbarrierpro soundbarrierpro is offline
 
Join Date: Dec 2007
Originally Posted by yuriy View Post
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.
Reply With Quote
  #5  
Old 18 Jun 2008, 20:07
yuriy yuriy is offline
 
Join Date: Oct 2006
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..
Reply With Quote
  #6  
Old 18 Jun 2008, 20:17
RLShare RLShare is offline
 
Join Date: Jun 2008
Add this to .htaccess

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

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

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

Layout Options | Width: Wide Color: