Forum Moderators: coopster

Message Too Old, No Replies

Php Bot trap not writting in .htaccess (Allow Override?)

Enabling what directives in order to work?

         

silverbytes

3:31 pm on May 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Uploaded a bot trap that use a blacklist file and then writes on .htaccess the ip of bots violating robots.txt.
It works fine on other servers but I have one site where is not writting actually on .htaccess.

Somebody told me I must enable Allow Override directive (asking the hosting company to do so).

The hosting company sent me a page "Configuration
PHP Core" at top indicates PHP Version 4.4.3

The document goes like this:

Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On

And so on.

I don't see any "allow override" directive there in whole document...

I'm pretty lost. Is there a new name for that?
I can post the url to check out all directives listed (sticky)

Any help please?

jd01

9:00 pm on May 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I would check for AllowOverride using <?php php_info();?>.
You need AllowOverride FileInfo or All.

It's an Apache setting, not php.
You might also double check the permissions of the file you are writing to.

Justin

silverbytes

1:25 pm on May 10, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You might also double check the permissions of the file you are writing to.

What permissions should I have there? I have 666 actually for .htaccess and blacklist.dat

And 755 for the bottrap folder...