Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.

Register Today on DNForum IT'S FREE!

Results 1 to 8 of 8
  1. #1
    Platinum Lifetime Member
    Steen's Avatar
    Join Date
    Mar 2003
    Location
    White Rock, BC
    Posts
    4,892
    DNF$
    2,042
    Bank
    0
    Total DNF$
    2,042
    Donate  

    Help with CHMOD plz

    hello,

    THis is the 2nd time I have encountered this problem.

    When installing a script (PHP) and after install

    When I go to the admin section of script It says access denied.

    I CHMOD the permissions IDENTACALLY to what the readme files say and I double check the permissions both in FTP program and in the File Managaer in User CP.

    Then to see if the file permissions are the problem, I will set a file to 777 and I still cant see it. It says forbiden.

    How do I get to be able to see htese files?

    They are not in a protected directory.

    THank you sooo much.

    Sorry if in wrong forum..

    Get an eNom resellers account free and instantly,
    click here - Automated Signup!

  2. #2
    DNF Addict
    Rocket2Uranus's Avatar
    Join Date
    Nov 2002
    Location
    Grand Rapids, MI
    Posts
    2,176
    DNF$
    3,441
    Bank
    0
    Total DNF$
    3,441
    Donate  
    Those permissions are tricky business...

    You said it was not in a protected directory, does that mean it is not in the cgi-bin?

  3. #3
    Platinum Lifetime Member
    Steen's Avatar
    Join Date
    Mar 2003
    Location
    White Rock, BC
    Posts
    4,892
    DNF$
    2,042
    Bank
    0
    Total DNF$
    2,042
    Donate  
    no its in httpdocs

    on my host, if you put an item in /HTTPdocs like /httpdocs/buy.htm

    the adress will be domainname.com/BUY.HTM

    I believe httpdocs is the same as VAR/www/ on other hosts.

    CGI-BIN is a completely different directory, which is above httpdocs

    And I have tried many combinations of CHMOD (permissions).

    Could it be that I cant get it to reconize me as the owner/group or even anyone?

    If you have a file set to owner or group access ONLY (i dont) how do you get it to reconize you as the owner?

    I dont even know if thats my probem, but rhis is the 2nd time (and 2nd host) that this has happened to me. The first, RJ was able to fix for me but i dont know how he did..

    Get an eNom resellers account free and instantly,
    click here - Automated Signup!

  4. #4
    a.k.a. Nameslave
    Anthony Ng's Avatar
    Join Date
    May 2002
    Location
    Toronto, ON
    Posts
    4,985
    Country

    Canada Follow Anthony Ng On Twitter Add Anthony Ng on Facebook
    DNF$
    4,530
    Bank
    0
    Total DNF$
    4,530
    Donate  
    When you said "CGI-BIN is a completely different directory, which is above httpdocs", does it mean that it's hierarchically on top of HTTPDOCS (which I don't think so)? It's actually a more host-specific question. Some hosts ask that scripts be installed in the CGI-BIN sub-directory; some hosts even do NOT allow 777 CHMOD at all. You might want to ask your host or check out their FAQ.
    Profoundly influenced by #Bauhaus, @Nameslave unrepentantly embraces #Minimalism in his #multimedia portfolio. His early works include an experimental adaptation of Chekhov’s Cherry Orchard inspired at least partly by Robert Fripp. His totally irrelevant M.Ed. dissertation examines Organizational Culture and Change Management.

  5. #5
    Platinum Lifetime Member
    Steen's Avatar
    Join Date
    Mar 2003
    Location
    White Rock, BC
    Posts
    4,892
    DNF$
    2,042
    Bank
    0
    Total DNF$
    2,042
    Donate  
    NS, thank you for your informative post.

    Screen shot of the what I see when I enter the file manager:

    http://www.123-freestuff.com/untitled.bmp

    Do you think if I install the PHP script not in the CGI bin it would do what its doing? Also do oyu think if I tryed to 777 and my host wont let me, it would do what its doing?

    The readme for the script is saying 777 the folders. What would a safe bet be to do ALL the files that the script uses? 666? 644?

    Thanks, my host live support is offline right now :(

    Get an eNom resellers account free and instantly,
    click here - Automated Signup!

  6. #6
    Gold Lifetime Member

    Join Date
    May 2002
    Location
    New York
    Posts
    360
    DNF$
    1,249
    Bank
    0
    Total DNF$
    1,249
    Donate  
    Assuming unix/linix operating system?

    Make sure you are launching the script as the same owner as the script.

    chown username scriptname
    chgrp groupname scriptname

    Check to be sure your definitions file is pointing at /usr/local/htdocs as your document directory,
    or whatever you have defined.

  7. #7
    Platinum Lifetime Member
    Steen's Avatar
    Join Date
    Mar 2003
    Location
    White Rock, BC
    Posts
    4,892
    DNF$
    2,042
    Bank
    0
    Total DNF$
    2,042
    Donate  
    Originally posted by DNS Kidd
    Assuming unix/linix operating system?

    Make sure you are launching the script as the same owner as the script.

    chown username scriptname
    chgrp groupname scriptname

    Check to be sure your definitions file is pointing at /usr/local/htdocs as your document directory,
    or whatever you have defined.
    Yes I believe it is a unix server.

    About your 2nd point

    HOW DO I DO THAT

    were do I go to luanch them as owner? How do I get it to reconize me as owner?

    about 3.


    I do not understand.. The main directory for unsecure (not HTTPS) is httpdocs.

    it goes / (root) --> httpdocs/ ---> poll (its a poll script)

    anything in the directory /poll I cannot get into

    www.123-FREEstuff.com/poll/active.gif (777 file)

    I cannot view it for some reason.

    Screenshot of httpdocs (if needed)

    www.123-freestuff.com/untitled2.bmp

    and the script folder (POLL)

    www.123-freestuff.com/untitled3.bmp

    Should I try installing script in CGI bin?

    Do you put PHP scripts in the CGI bin?

    Get an eNom resellers account free and instantly,
    click here - Automated Signup!

  8. #8
    Platinum Lifetime Member
    Steen's Avatar
    Join Date
    Mar 2003
    Location
    White Rock, BC
    Posts
    4,892
    DNF$
    2,042
    Bank
    0
    Total DNF$
    2,042
    Donate  
    thanks tips

    Here is my FULL .htaccess for the folder I was installing script. LoL I think we may have located the problem


    deny from all


    Thats all folks..

    What do I change this to? Or do I just delete the line?

    Get an eNom resellers account free and instantly,
    click here - Automated Signup!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com