Jump to content

cw4908

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by cw4908

  1. I'd add the following to ".htaccess" file directly inside your "public_html" folder. It stops download of PHP files anywhere on site (like homepage, or even config files), and shows an error message to user instead. Just remove it once you see from forum that they got this fixed: ErrorDocument 403 "Sorry, but the website is down for server maintenance. Please, check back later :-}" <Files ~ ".php"> Order allow,deny Deny from all </Files> ------------> You can change the last part if you wish to the following, where "#.#.#.#" is replaced with your actual IP#. That way others see message and can't download file, but your IP# can access it. When your site is back up for you, instead of "downloading, remove this from .htaccess so others can then regain access to the then (hopefully soon for all of us) fuctioning website. <Files ~ ".php"> Order allow,deny Deny from all Allow from #.#.#.# </Files> <------ Remember, change "#.#.#.#" (no quotes to your actual IP#
×
×
  • Create New...