Recent Topics

1 Dec 12, 2005 16:42    

Over the weekend, I did these things to fight spam based on tips from this page (http://randsco.com/index.php/2005/11/18/anti_spam_script:

- Renamed the HTSRV Directory (by hand, I didn't use the script)

- Changed the .htaccess file to blocks remote calls to my comments file

- Renamed the Comment File

I set it up with no problems at home. Today, I tried logging in to my blog at work, but when I click on Login I get this URL and a 404 error:

http://www.toptechwriter.us/weblog/login.php?redirect_to=%2Fweblog%2F%3Fblog%3D2%26amp%3Bpaged%3D1%26amp%3Bpage%3D1

If I shorten the URL to just http://www.toptechwriter.us/weblog/login.php, I get another 404 error.

I can't imagine what I did that caused this change. Any suggestions?

Thanks,
Chris

http://www.toptechwriter.us/weblog

2 Dec 12, 2005 17:23

login.php is located in the htsrv folder (which you've renamed). You'll have to take care to edit $htsrv_url in /conf/_advanced.php and perhaps other places, too.

There's at least one post in the forums about this (renaming htsrv), so please follow those instructions.

Also, setting PHP's error_reporting to E_ALL (and looking at the output or webserver error log (if you do not display_errors)) might help to trigger the error.

3 Dec 12, 2005 18:09

Thanks for your reply! I'll check for other files where the login appears and update them. I was worried that a spammer had somehow accessed my site because I've been seeing an uptick in referral spam in the last few days.

As for finding posts on renaming htsrv, that's what I thought I did! I followed a forum thread on fighting spam to the link I posted. It's hard sometimes when you're not familiar with the ins and outs of B2E to tell what's out of date or incorrect info in these forums.

Thanks again,
Chris

4 Dec 23, 2005 21:25

I made a mistake when I edited the htsrv section of the conf / _advanced.php file:

$htsrv_subdir = 'htsrvrenamed/'; // Subdirectory relative to base

$htsrv_dirout = '../'; // Relative path to go back to base

$htsrv_url = $baseurl.$htsrv_subdir; // You should not need to change this

The way it's shown above is correct now. My mistake was in changing the line $htsrv_url = $baseurl.$htsrv_subdir to $htsrv_url = $baseurl.$htsrvrenamed_subdir


Form is loading...