Deny access to certain pages based on date [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 3 years ago. Improve this question Is it possible to deny access to certain pages using .htaccess based on current date? Here’s the deal. I’ve implemented April Fool’s system … Read more

How to redirect the root URL of parked domains, using a variable

I need 1000 parked domains to redirect to a corresponding page. For example, if one of the parked domains is “parkeddomain.com”, then it must be redirected to http://example.com/landingpage/parkeddomain-com Conditions: Only the root URL of the parked domains must be redirected, not example.com The browser url address must stay the same “parkeddomain.com” The purpose is to … Read more

My homepage wont go through HTTPS

So my domain is www.urtina.com and as u can see whenever you go on that link it will get HTTP (without padlock) but if you go to any other link it will be HTTPS. Only my homepage goes through HTTP. Important things to mention is that I use Apache. Every my attempt to edit .htaccess … Read more

Convert this .htaccess directive to nginx for me [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question <Files urllist.txt> order allow,deny Allow from xx.xx.91.29 </Files> Answer This will translate to following in nginx config: location = /path/to/urllist.txt { allow xx.xx.91.29; … Read more

Where is .htaccess? and should I do it server wide or per cpanel account? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question I want to do this? http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/ # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType … Read more

Will Apache load and process .htaccess file during every request [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question … or there is an optimization which reduces operation cost to single stat() call in case file is unmodified? Please provide a reference … Read more

pingdom sacking my site’s resources [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question It appears that somebody created a pingdom account to ping my site once a minute, and since my website isn’t hosted on a … Read more

How do I prevent access on the web to a txt file on my server? i want it to still work, as its for a wizard. But i dont want people to access my code

I’m wondering if anyone can help me please. I have some text files on my server, which run with a Wizard. The issue I am having is that I’m unable to hide the text files on the web browser. I’ve managed to hide the other folders needed, but these are compressed folders. I have worked … Read more

.htaccess and PHP redirect hack on GoDaddy Website [duplicate]

This question already has answers here: Closed 9 years ago. Possible Duplicate: My server’s been hacked EMERGENCY A friend is experiencing a random redirect to an RU domain for two of her websites, along with a malicious cookie attack, as per a Norton pop-up everytime I load a page on her site. I checked out … Read more