PDA

View Full Version : htaccess, works in folders but not in cgi-bin.


bazz
12-06-2004, 03:33 PM
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.

bcarl314
12-07-2004, 05:33 PM
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.

bazz
12-09-2004, 12:05 PM
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