| Quote: |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang='en'> <head> <title>Redirecting...</title> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Cache-Control" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <meta name="robots" content="noindex,nofollow" /> <meta http-equiv="refresh" content="0; url=http://www.yourphpldsite.com/index.php" /> </head> <body> </body> </html> |
| Code: |
| # Protect template files <Files ~ "\.(inc|inc.php|tpl)$"> Order deny,allow Deny from all </Files> |
| Code: |
| Deny from all |
| Quote: |
| RedirectMatch permanent ^/directory/(admin(/.+)?|backup|images|include|install(/.+)?|lang|libs(/.+)?|templates)/?$ http://www.yourphpldsite.com/directory/ |
| Code: |
| find /your_path -name "*~*" -exec rm -f '{}' \; |