Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 01-10-2006, 02:33 AM   #1 (permalink)
 
Monster Techie

Join Date: Nov 2002

Posts: 1,368

shan

Send a message via AIM to shan
Default apache .htaccess stopped working

hahah i was going thru "stopping some services" lol, and i shut down something that i need to use .htaccess files....i enabled and and a few other things, but i don't know what the **** i did...:rolleyes: so, now i want it reenabled....anyone know what service needs to be started?

i forgot what all serverices i shut down, btw...thanks
__________________
<center><h2><font color=\"red\">C:\\ Is the root of all evil</font></h2>
<hr width=\"50%\">
phiber@sysdum.com
spam this account, it's fun.
shan is offline  
Old 01-12-2006, 03:53 AM   #2 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 74

philg

Default

Exactly what are you using .htaccess files for, what software is using them. You need to put this into some sort of context.

Apache uses .htaccess to control access to the current directory and all sub directories, so saying
Quote:
i shut down something that i need to use .htaccess files
doesn't make much sense, to me anyway
__________________
www.pdgaskell.co.uk
philg is offline  
Old 01-12-2006, 04:00 AM   #3 (permalink)
 
Monster Techie

Join Date: Nov 2002

Posts: 1,368

shan

Send a message via AIM to shan
Default

yea exactly. apache uses the config in .htaccess to to modify the security permissions on that parent folder and any other subfolder, ie...limiting access to view the directory contents of a folder without an index.*whatever file in it. or what i'm using it for, authentication. it is setup in colation with an .htpasswd file store on my local machine outside the relm of the /var/www/* folder.

so back to my original topic, is there a second service that works with apache for authentication? if so do you know what it is? becuase i seemed to have stop some service that works with apache to do simple auth...

thanks,
shan
__________________
<center><h2><font color=\"red\">C:\\ Is the root of all evil</font></h2>
<hr width=\"50%\">
phiber@sysdum.com
spam this account, it's fun.
shan is offline  
Old 01-12-2006, 04:55 AM   #4 (permalink)
 
Junior Techie

Join Date: Nov 2005

Posts: 74

philg

Default

Not normally, for authentication against a simple .htpasswd file that is handled by a module (mod_auth) directly compiled into a loaded into apache. No additional daemon is needed.

When you try and access this protected folder does it just let you in, or is there an error? If there is an error what is it?

Check the permissions for both the .htaccess and .htpasswd files, they should be readable by the user apache runs as.

Could you give us a list of all the services on your system indicating which ones are running and I'll try and work out if any of the others should be running

You are using Apache 2.0.54 on Fedora right?
PS: I'm not stalking you, honest; I got your link from your other post, and looked at the http headers from the page given
__________________
www.pdgaskell.co.uk
philg is offline  
Old 01-13-2006, 12:34 AM   #5 (permalink)
 
Newb Techie

Join Date: Jan 2006

Posts: 13

JasonMichael

Default

Maybe you had apache setup to use ldap? Check if you have LDAP on your system, and running. I just noticed that Apache creates a mod_ldap, if you ask it to configure all the modules, even if you don't have ldap loaded or setup.
JasonMichael is offline  
 
Closed Thread

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
Trackbacks are On
Pingbacks are On
Refbacks are On