Forum Moderators: phranque

Message Too Old, No Replies

.htaccess code help

help to add code to a .htaccess file

         

lauren11

1:17 pm on Oct 10, 2011 (gmt 0)

10+ Year Member



Hi,

I have been getting a 401 error code from Google Checkout, that is "Failed to Get Basic Authentication Headers". I have been told that if I set in the value cgi.rfc2616_headers = 0
into the .htaccess file within the httpdocs folder then this should remedy this error with the Google Checkout.

The only problem is I don't really know how to this? I don't know whether I just add that value cgi.rfc2616_headers = 0 as it is or do I need to add anything else with it? Also there are two .htaccess files in the httpdocs folder, one named .htaccess and the other named .htaccess.bbf, but both containing the same info. And so I don't know which one I should even set the above value into, just one of them or the both of them?

Any help with this issue would be really appreciated as I am not very tech savvy.

g1smd

1:20 pm on Oct 10, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



The .bbf is presumably a backup.

Use FTP to download the file. Use a text editor (NOT a wordprocessor) to edit the file. Use FTP to upload the new file.

lucy24

3:04 pm on Oct 10, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



When you put the htaccess on your hard drive to edit, save it without the leading dot or it may become invisible. (You can find it, but it's a pain.) Be sure to restore the dot when uploading, and also make sure it hasn't picked up an extension like .txt.

lauren11

4:52 pm on Oct 10, 2011 (gmt 0)

10+ Year Member



Thanks for your answers, they're a great help.

Can you tell me, though, do I just directly add the value cgi.rfc2616_headers = 0 into the file without adding anything like RewriteRule or RewriteCond or anything other?

Thanks for any help.