Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts

    htaccess, works in folders but not in cgi-bin.

    I am confused why my htaccess files work perfectly in all the folders that I have added to my site but not in, the cgi-bin. htaccess makes absolutely no difference at the mo.

    I have asked the ISP if there are any probelms to which they replied 'that it appears that the htaccess file was uploaded in binary. we have now changed this by copying one of your working files and so it should work OK now'. It wasn't in binary and even after they changed it, it won't work however, the same file in all other folders works fine.

    If any of you could help me to know if there could be set-up issues in connection with the server which the ISP may not have addressed.

    Any tips welcome

    Bazz.
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #2
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    Probably because the directive telling apache to use .htaccess files is in the DocumentRoot entry.

    I would imagine that if you edit your httpd.conf file to include the access line in the cgi-bin entry, it should work.

  • #3
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Thanks for the reply.

    I know where to make the change (to my own server) but not what "access line" means. If you could explain that more for me.

    Then I'll have to chase up the ISP again to ensurte that it works when uploaded.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

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