Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 10th March 2008, 22:47
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default

ok now here's something might help as well. In the .htaccess file I also created custom error documents. But when I do something to create an error it isn't displaying those documents either.
Reply With Quote
Sponsored Links
  #12  
Old 10th March 2008, 22:55
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default

Ok, I put AllowOverride in the httpd.conf and I got a different error. When I clicked on the link I got a Forbidden Page.
Reply With Quote
  #13  
Old 11th March 2008, 06:31
zetnsh zetnsh is offline
Senior Member
 
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
Default

That's progress of some sort I suppose ;-)

Would you mind posting a) the appropriate slice of the error log and b) the contents of the .htaccess file?

I know you've sent these before, but they might have changed!
Reply With Quote
  #14  
Old 11th March 2008, 14:29
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default

You were right about one thing that when using .htaccess AuthConfig has to be utilized in the httpd.conf. Now I have the opposite problem as before. After working with it more I found out that I had to change the permissions on the parent folder that holds the two child directories. Now the problem is I have made so many changes I don't where to go from here.
Reply With Quote
  #15  
Old 11th March 2008, 16:38
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

I dont understand why you insist on using .htaccess files when you have access to modifying the httpd.conf file. The configuration i gave you works from within the httpd.conf file and should just work.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #16  
Old 11th March 2008, 23:19
pcburner pcburner is offline
Member
 
Join Date: Jan 2008
Location: Port Huron, MI
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
Send a message via AIM to pcburner
Default

Quote:
Originally Posted by topdog
I dont understand why you insist on using .htaccess files when you have access to modifying the httpd.conf file. The configuration i gave you works from within the httpd.conf file and should just work.
Because I didn't know that is what the code was for. Plus I have the understanding that in order for it to work you had to have the .htaccess file to work. TopDog I want you to know that I sincerely appreciate your help!!! I did try your coding that you sent, I wasn't sure if it was for the .htaccess file or the httpd.conf so I had tried it in both places and it wouldn't work and after each change I would restart httpd. But I got it now.

Last edited by pcburner; 11th March 2008 at 23:37.
Reply With Quote
  #17  
Old 12th March 2008, 10:08
zetnsh zetnsh is offline
Senior Member
 
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
Question

Worth mentioning here, I reckon that although .htaccess is probably the wrong place for <Directory> configurations, it tends to be considered as the right place for User authentication stuff, not least of which because you don't need a restart for it to see any changes!

So is it working now?

Thanks,

Neil
Reply With Quote
  #18  
Old 19th December 2012, 14:46
rama646 rama646 is offline
Junior Member
 
Join Date: Dec 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question I gor different error

Hi all,
I am getting different error in apache server log
[client ::1] (13)Permission denied: Could not open password file:

my
httpd.conf
<Directory "/srv/www/cgi-bin/testmaster">
AllowOverride AuthConfig
</Directory>

Alias /testmaster "/srv/www/htdocs/testmaster"
<Directory "/srv/www/htdocs/testmaster">
AllowOverride AuthConfig
</Directory>
Reply With Quote
  #19  
Old 20th December 2012, 12:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

What are the permissions of your password file?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Virtual Hosts - I have never gotten this right. DazzyB Server Operation 2 24th December 2007 13:37
Apache configuration file - Probleme bei Domain Einrichtung - Brauche dringend Hilfe knuddel Installation/Configuration 3 30th November 2006 09:40
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45
ispconfig and mambo shajazzi Installation/Configuration 70 28th March 2006 19:29


All times are GMT +2. The time now is 18:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.