Hi, well I was wondering how to do a site shut down like P2L did for hammer time so that you couldn't get on the forums, home page, images etc. Is there an easy way to do this?
Thanks,
dEcade
Shuting Site Down
Started by dEcade, Oct 01 2006 06:06 PM
8 replies to this topic
#1
Posted 01 October 2006 - 06:06 PM
#2
Posted 01 October 2006 - 06:13 PM
Dunno, never really had this problem. If you dont have alot of files you could back them up.
#3
Posted 01 October 2006 - 07:24 PM
dEcade, on Oct 2 2006, 12:06 PM, said:
Hi, well I was wondering how to do a site shut down like P2L did for hammer time so that you couldn't get on the forums, home page, images etc. Is there an easy way to do this?
Thanks,
dEcade
Thanks,
dEcade
No help to you but when Dan done that he allowed us in via our IP address, unsure how he done it, thought it was pretty neat as we could see everything whilst you guys were out in the hallway.
#4
Posted 01 October 2006 - 08:15 PM
decade if its just you seeing the site, maybe you can just set it so no admin and stuff can read so set all folders to 000 or something...with permissions, I think its 000 or is it 111 XD I forget but yea just set permissions to none. Easiest way to do it. Dunno if you will be able to see the site yourself though lol.
Or have a test directory?...and when everything is setup in the test directory just reupload to the main directories or something.
Or have a test directory?...and when everything is setup in the test directory just reupload to the main directories or something.
#5
Posted 01 October 2006 - 10:16 PM
We did it using .htaccess. As Donna said, we denied everyone from the website apart from admins IPs.
unless you are using a sub-directory for your new site, users will get a 403 Forbidden error because even the 403.htm file is blocked. But you can add the 403 html directly into the .htaccess file like we did for Hammertime.
unless you are using a sub-directory for your new site, users will get a 403 Forbidden error because even the 403.htm file is blocked. But you can add the 403 html directly into the .htaccess file like we did for Hammertime.
#6
Posted 02 October 2006 - 01:38 AM
On lostphotograph I currently have setup an array of 'allowed' IP addresses. Check their IP, if it matches do nothing, if the IP isn't in the array move them to a page. I tried doing it with .htaccess but then had issues with all of the mod rewrite links I have.
Matt
Matt
#7
Posted 02 October 2006 - 06:50 PM
Thanks, this really helps
I will just have to figure out how to use .htaccess to do this. Also I noticed I spelt shutting wrong lol.
dEcade
dEcade
#8
Posted 03 October 2006 - 07:48 AM
Simple really if you don't want people to view the site place a .htaccess file in the main directory and simply allow only your I.P address or others I.P's too. Give users an error like Site Under Construction so they don't think the sites down!
If you have a custon 403 error page, it is a good idea to have it stored off your site. Because when the blcoked party tries to access your site, it will redirect him/her to the 403 error page. Now if that page is stored on the same server that the person is blocked there will be some confliction. If you want to deny all users and allow just certain ips do this: deny from all allow from 00.000.00.00 allow from 00.000.00.00Hope that helps.
#9
Posted 04 October 2006 - 04:49 PM
Thanks, I figured it out already. I guess you guys can close this 
dEcade
dEcade
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
