vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Please help:) (https://vborg.vbsupport.ru/showthread.php?t=182876)

yuriy 06-18-2008 05:49 PM

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:)

soundbarrierpro 06-18-2008 05:58 PM

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 06-18-2008 05:59 PM

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

soundbarrierpro 06-18-2008 06:01 PM

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 06-18-2008 06:07 PM

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 06-18-2008 06:17 PM

Add this to .htaccess
HTML Code:

RewriteEngine on
RewriteCond %{REQUEST_URI} !\.(gif|jpe?g|png|bmp|css|js)$
RewriteRule (.*) closed.html



All times are GMT. The time now is 01:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00951 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete