Forum Moderators: phranque
Htaccess hijacked.
[edited by: incrediBILL at 7:01 am (utc) on Jan 13, 2013]
[edit reason] fixed URLS, use Example.com [/edit]
I did have a php contact form I believe.
I think I just backup the files on my hardrive, not actually the files stored on the server.
RewriteCond %{HTTP_REFERER} ^http://[w.]*([^/]+)
RewriteCond %{HTTP_HOST}/%1 !^[w.]*([^/]+)/\1$ [NC] {the present site}/{NAME-OF-REFERER} is not {SOME-RANDOM-TEXT}/{THE-SAME-RANDOM-TEXT} {the present site}/{NAME-OF-REFERER} is not {SOME-RANDOM-TEXT}/{NAME-OF-REFERER} But now I need to know how to secure this so it can't happen again.
In any event, you'll still need to locate and coorect the PHP vulnerability
I'd be looking for a new host as part of the solution. It's possible they came in through your site, but don't discount the fact that they came in through the host.
I got rid of the PHP files that they added which had the code that would rewrite the .Htaccess.
I have no idea what you guys are talking about because this certainly is not my area of expertise.
I mean not from your backups
...
If your pages are html, cut and paste the html code over from a 'view source' in your browser.
but what does "backups" mean?