LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2003, 02:53 PM   #1
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 58
.htaccess and cgi-bin (apache of course)


This is with Apache 1.3.27

I can't get Apache to pay attention to the presence of an .htaccess file within the cgi-bin itself. I figure there must be some simple setting in httpd.conf, but google and the apache manual are being mean to me, and evidently this behavior is rather new so I'm pulling up a lot of arcana.

I know the file perms on the .htaccess and .htpasswd are right, I just copied them to outside of the cgi-bin and all was fine.

BTW, this is in order to get IDS to function: ids.sourceforge.net (crappy FAQ)

Cheers,

Finegan
 
Old 05-01-2003, 02:55 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Make sure the "AllowOverride" value in httpd.conf allows the service you want to use .htaccess for. Values could eb "All" "AuthConfig" etc.
 
Old 05-01-2003, 03:01 PM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I should have said that is for the directories you want to allow the AllowOverride values to be configured. It is not advised to change the root directories values as this will take precedence over all other virtual hosts etc.
 
Old 05-01-2003, 05:04 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Original Poster
Rep: Reputation: 58
Thanks man, all of the commented explination of that was up by the DocumentRoot section, I didn't even think to scan up there. I applied it just to the cgi-bin itself, which is seperate in and of itself, works brilliantly.

Thanks again,

Finegan
 
Old 05-01-2003, 05:21 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
No problem - glad to help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configuring cgi-bin in apache gtgoku Linux - General 1 01-19-2004 07:22 AM
Redhat 9 / Apache / cgi-bin ???? jeff0628 Linux - General 16 10-18-2003 07:50 AM
Apache server and cgi-bin? WorldBuilder Linux - Networking 15 09-18-2003 01:13 PM
Apache cgi-bin in Mandrake 9.1 Edgemaster Linux - Newbie 1 08-14-2003 02:15 PM
apache cgi-bin roadie Linux - General 6 06-16-2001 08:15 PM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration