+ Reply to Thread
Results 1 to 3 of 3

Thread: help with .htpasswds not working,without use cpanel feature, cause i want paypal IPN

  1. #1
    im0theros31 is offline x10Hosting Member im0theros31 is an unknown quantity at this point
    Join Date
    Feb 2011
    Posts
    5

    Question help with .htpasswds not working,without use cpanel feature, cause i want paypal IPN

    hello im tryng to protect a directory on my web,

    i wrote a .htacces file with this lines

    AuthName "locked"
    AuthType Basic
    AuthGroupFile /dev/null
    require valid-user
    AuthUserFile "/home/i0theros/locked/.htpasswds"

    and i wrote in the .htpasswds file

    user:pass

    as an example and try if everything is working but it doesnt work

    i need help because im gonna integrate paypal to my website (a suscription system)

    but if this doesnt work obviously paypal wont .

    i think the path is ok because i wrote it wrong once and that gave me a 500 server error and now just ask me for the user and password several times.

    i dont want to use the cpanel feature because paypal writes the user and password athomaticaly and with its own encryption system .


    if someone can help me to integrate paypal service that would be awesome cause i never did it before.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: help with .htpasswds not working,without use cpanel feature, cause i want paypal

    Did you write the password in plain text, or hash it? Basic authentication requires passwords to be hashed using crypt or a specially modified version of MD5. It doesn't matter what hash mechanism PayPal uses, it matters what the server uses.
    Last edited by misson; 02-23-2011 at 11:28 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    im0theros31 is offline x10Hosting Member im0theros31 is an unknown quantity at this point
    Join Date
    Feb 2011
    Posts
    5

    Re: help with .htpasswds not working,without use cpanel feature, cause i want paypal

    i used MD5 ,just write "pass" as an example ,the problem is that paypal couldnt write over my file even with the right permissions, but i solved my problem, i just stoped trying with the paypal.pl file that paypal gave me and wrote my own file on PHP and works fine

+ Reply to Thread

Similar Threads

  1. Cpanel FTP quota feature gone
    By ThermalX in forum Free Hosting
    Replies: 0
    Last Post: 12-06-2010, 06:47 PM
  2. cpanel feature missing
    By zynischen in forum Free Hosting
    Replies: 4
    Last Post: 02-14-2009, 09:14 AM
  3. PHP generate .htpasswds
    By thezone1 in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 03-15-2008, 05:45 PM
  4. I got paypal phishing email from paypal.pcriot.com
    By yorije in forum Feedback and Suggestions
    Replies: 5
    Last Post: 10-03-2007, 02:47 PM
  5. newbie can't access "branding" feature on Cpanel
    By ShellyJo in forum Free Hosting
    Replies: 1
    Last Post: 09-15-2007, 08:20 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers