Tag Info

Hot answers tagged

2

This occurs because the .htaccess will be inherited in all child directories. This is a common issue when using add-on domains because each domain shares the same path environment. This can be resolved by any of the following: Use more secure hosting with jailed accounts Use a .htaccess in each add-on domain child directory Use %{HTTP_HOST} ...


2

Well first of all SNI is a server setting not a cert setting. A bit of background here might help: When a browser connects to a https website, it converts the website name to an IP address and then initiates a SSL connection to that IP address (without the address name) and checks the cert returned by the server. Then it sends encrypted web requests ...


1

Time for an official answer. What I learned is that hackers like to try to exploit the shell shock bug with variants. They like to try to use lines containing (){} and ( ){:;} and similar, where the only differences for the most part are the number of spaces between each character. It's a matter of when apache writes data to the system's environment table ...


1

First I would adjust the code slightly so that its more like this: RewriteCond %{HTTP_REFERER} !^(|(http(|s):\/\/))(mySite1|mySite2|ask|bing|duckduckgo|google|ixquick|msn|startpage|yahoo)\.com$ [NC,OR] RewriteCond %{HTTP_REFERER} ^$ RewriteCond %{REQUEST_URI} ^.*\.(bmp|gif|ico|jpg|jpeg|pdf|png|svg|svgz|swf)$ [NC] RewriteRule ^(.*)$ ...


1

I know this is an old question, but it shows up early on google so I thought I would answer it. You can now enable gzip on GoDaddy by adding the following to the .htaccess in your root directory. AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript Source - GoDaddy Support


1

If the UA is Mozilla only, then this should work: RewriteCond %{HTTP_USER_AGENT} ^Mozilla$ [NC,OR] This should not block any other UA string. However, I am not in favor of blocking by such a common UA string. It could possibly block a valid user. I would prefer to block by IP address or IP address block. Block by IP Address: Apache .htaccess File ...


1

If the /account subfolder is intended to be outside of WordPress then you can do something like closetnoc suggests, however, you also need to enable the rewrite engine to prevent the WordPress rewrites in the parent .htaccess from taking over. So, in /account/.htaccess: ErrorDocument 404 /error.php # Enable the rewrite engine in the subdirectory to ...


1

Yes. Add a robots.txt file that disallows either all robots or just the Google bot.



Only top voted, non community-wiki answers of a minimum length are eligible