


| category | articles | ||||
AdsenseAdwordsArticleBlogCMSCSS StyleDatacenterDesign GraphicsFlash AnimationInternet RadioMessengerProgrammingProviderSearch EngineSecuritySecurity WebSEFSEOSoftwareSoftware Web |
Prevent htaccess From Hack 2 redirect for different domain name code: Redirect 301 / http://www.newdomain.com Require the www code: RewriteCond %{HTTP_HOST} !^www\.example\.com$ Redirect everyone to different site except 1 IP address (useful for web-development) code: ErrorDocument 403 http://www.someothersite.com CHMOD your files chmod .htpasswd files 640 chmod .htaccess files 644 chmod php files 600 chmod files that you really don't want people to see as 400 NEVER chmod 777, if something requires write access use 766 Variable (mod_env) Magic Set the Timezone of the server: code: SetEnv TZ America/Indianapolis Set the Server Administrator Email: SetEnv SERVER_ADMIN webmaster@htaccesselite.com Turn off the ServerSignature code: ServerSignature Off Add a "en" language tag and "text/html; UTF-8" headers without meta tags code: AddDefaultCharset UTF-8 Use a custom php.ini Detailed instructions for doing this whether you are using php as a cgi or the apache module mod_php OTHER ARTICLES htaccess at WindowsCGICommandArgs directivePassing value from child window to parentContentDigest directiveAuthName directive for ApacheBS2000Account directiveAddModule directive for ApacheAcceptFilter for ApacheAllowOverride directive for ApacheAuthAuthoritative directive |
||||
| © 2001 - 2012 Tatamedia Solusindo | Link Partner: akomodasi.net, indoproduk.com, satria.com, idee-online.net, gptkk.org, maniak belanja, hotels68 | |||||