-1
votes
1answer
62 views

https version of website being redirected to some random website [closed]

My website http://www.scoredragon.com/, when accessed with https i.e (https://www.scoredragon.com/) instead of http is being redirected to book-your-driving-test-online.co.uk. I have searched for the ...
6
votes
9answers
1k views

Successfully, permanently ban a user from a website? [closed]

I have a social networking website and I want to ban a user from the website. I've added his IP address to the ban list in the .htacess file and to the php level for banning that user, but he keeps ...
-1
votes
3answers
188 views

How can a website recover from code injection especially the domain name?

My website was recently hacked that apparently it came under code injection vulnerability not SQL injection. At least that's what Google is telling me and even gave me a possible iframe codes. That ...
0
votes
2answers
315 views

multiple domain name pointing to same place that need www before domain

I have 3 domain names that point to the same website. domain1.com, domain2.com, domain3.com I would like to add in the .htaccess file a way that if someone is trying to reach domain2.com the server ...
0
votes
4answers
611 views

Blocking non UK visitors to my website

I want to block all non UK visitors to my website, does anyone know how I would achieve this? I think I need to have a .htaccess file with all the IPs listed next to a deny command but how do I find ...
0
votes
2answers
330 views

List directory contents on website hosted by LiteSpeed

I have a website (say www.website.com) being hosted on a LiteSpeed web server. I've created a directory at www.website.com/media but I'm unable to list the contents and get a 404 error. How can I fix ...
0
votes
2answers
850 views

My php homepage downloads index.php instead of being processed on Gandi.net

if I go to the homepage of my website http://www.website.com (on a brand new server) the index.php gets donwloaded instead than processed. I don't have the same problem on other folders. my .htaccess ...
0
votes
2answers
2k views

prevent the browser from downloading doc docx and pdf

i have some indexed document files ( .doc , .docx and .pdf ) stored in a folder in the website. when i type the full address of the file ( ex http://www.website.com/folder1/folder2/1.doc ) the ...
0
votes
1answer
56 views

.htaccess to return one page for any URL?

I would like to put up a "Site under maintenance" page, so that every URL request is shown this page. What is the correct way to write a .htaccess file to do this?
0
votes
2answers
941 views

How to password protect the domain with htaccess?

This is not the usual request. I need to protect a domain while keeping the inner files accessible. So my HTACCESS file at the domain's root FTP folder is as follows: AuthType basic AuthName ...
0
votes
1answer
4k views

.htaccess rewrite rule for CSS request

Good Morning, I am trying to create RewriteRule for all request for css file within my website to css/filename.css. The procedure is all css files within my website store only in ...