|
 |
|
 |
08-25-2004, 11:58 AM
|
#1 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,505
|
apache .htaccess
is there anything besides: AccessFileName .htaccess that i need to do in the apache config to make it recognize .htaccess files? i'm working on a red hat server and it doesn't seem to acknowledge the file.
__________________
Mike
|
|
|
08-25-2004, 01:38 PM
|
#2 (permalink)
|
|
$_['Your_Mom'];
Join Date: May 2002
Location: Santee
Posts: 627
|
from my httpd.conf
Quote:
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride All
|
'All' might be a security problem, I am the only person using my machine so I don't worry about it.
|
|
|
08-26-2004, 08:06 AM
|
#3 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,505
|
thanks matt, .. something is still preventing this from working .. I think it is because they have webmin installed and it's doing something funky.
__________________
Mike
|
|
|
08-26-2004, 09:44 AM
|
#4 (permalink)
|
|
$_['Your_Mom'];
Join Date: May 2002
Location: Santee
Posts: 627
|
what is webmin? are you getting any errors, or just not working?
try 'tail -f /var/log/apache/error_log' (i think that is the path) then hit the page again.
|
|
|
08-26-2004, 09:59 AM
|
#5 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,505
|
no errors, just not working .. well, i will check apache later.. can't get in right now.
thanks.
__________________
Mike
|
|
|
08-26-2004, 10:14 AM
|
#6 (permalink)
|
|
$_['Your_Mom'];
Join Date: May 2002
Location: Santee
Posts: 627
|
hmmm... error logs probably won't tell you much if you aren't getting any errors... the only time i have ever had problems with .htaccess i was getting 500 errors, so i am not much help with it just not working... sorry dude.
|
|
|
08-26-2004, 11:48 AM
|
#7 (permalink)
|
|
Java fanboy
Join Date: Aug 2003
Posts: 1,166
|
Webmin is a web-based system administration panel for *nix systems. I even got it to work with Cygwin once.
|
|
|
08-26-2004, 11:55 AM
|
#8 (permalink)
|
|
Centurion Nova Prime
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 287
|
sde, with no errors, assuming Apache was restarted, it sounds like AllowOverride is set to None. "None" basically disables .htaccess files. This is mostly a vague memory, but I confirmed that at apache.org. If you haven't seen it already, check out the .htaccess Tutorial
|
|
|
08-26-2004, 11:59 AM
|
#9 (permalink)
|
|
Centurion Nova Prime
Join Date: May 2002
Location: Oak Park, IL (USA)
Posts: 287
|
Nevermind. I just saw your post in another forum where you posted the same link. Ignore my previous post. 
|
|
|
08-26-2004, 12:13 PM
|
#10 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,505
|
 yes, i definately set it to ALL just to see if it would work. restarted too. Since it doesn't, I think that webmin is somehow hijacking that parameter, or forcing it's own .htaccess userfile. i can get webmin access, i just didn't want to have to deal with that crap.
__________________
Mike
|
|
|
08-27-2004, 07:21 AM
|
#11 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,505
|
Quote:
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig
|
that was my problem .. the .htaccess file was in my /home/*/public_html directory. i was editing the allowoverride in the wrong place.
__________________
Mike
|
|
|
08-27-2004, 07:46 AM
|
#12 (permalink)
|
|
PHP Pilgrim
Join Date: Aug 2004
Location: London
Posts: 170
|
I could av told you that 
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
|
|
|
08-27-2004, 07:49 AM
|
#13 (permalink)
|
|
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,505
|
your timing is a little off. hah
__________________
Mike
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 03:58 PM.
|
Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
|
 |
|