Fedora Linux Support Community & Resources Center
  #1  
Old 6th September 2005, 09:08 PM
harryguy082589 Offline
Registered User
 
Join Date: Aug 2005
Posts: 5
.htaccess error

I'm trying to a .htaccess file and i keep getting the following error:'


------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.0.54 (Fedora) Server at www.hdanforth.com Port 80
-----------------

This is my .htaccess file:

UserFile /var/www/.htpasswd
AuthGroupFile /dev/null
AuthName ByPassword
AuthType Basic

require user personal

--------------------

I'm not sure what other info to give, I'm useing FC4 and apache 2.0.54

I checked that my apache config file, and it set to let me use .htaccess files and it is. Any other sugestions?

Thanks in advance,

Dan
Reply With Quote
  #2  
Old 7th September 2005, 03:45 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
Posts: 7,909
Any errors in /var/log/httpd/ ?
Reply With Quote
  #3  
Old 7th September 2005, 04:24 AM
Spoon! Offline
Registered User
 
Join Date: Aug 2005
Location: Hell
Posts: 758
I already responded to your question on LinuxForums.org; for reference, I said:

You probably want something like this for your .htaccess file:
Code:
AuthType Basic
AuthName "ByPassword"
AuthUserFile /var/www/.htpasswd
Require user personal
Read this tutorial for more information: http://httpd.apache.org/docs/2.0/howto/auth.html
Reply With Quote
Reply

Tags
error, htaccess

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
htaccess Jeff Sadowski Guides & Solutions (No Questions) 0 24th May 2007 05:05 PM
.htaccess-any help on this? fareen Servers & Networking 4 22nd January 2006 02:51 PM
htaccess Lyessou Security and Privacy 3 1st September 2004 08:23 AM


Current GMT-time: 15:45 (Wednesday, 23-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat