[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Problems with htaccess not working
- Subject: Re: [cobalt-users] Problems with htaccess not working
- From: "John D. Gorena" <Support@xxxxxxxxxxxxxxxxxxx>
- Date: Mon Nov 25 11:45:02 2002
- Organization: http://www.JMG-Enterprises.com
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
1) Login as root
2) Use editor to edit httpd.conf file like
"pico /etc/httpd/conf/httpd.conf"
The top line of httpd.conf has the following line since the update:
LoadModule pam_external_auth_module modules/mod_auth_pam_external.so
In pico, go to this line with your cursor and kut it out by pressing
Ctrl-K
Move down to the ClearModuleList section and place it in the section so
that it looks:
ClearModuleList
AddModule mod_so.c
AddModule mod_perl.c
LoadModule pam_external_auth_module modules/mod_auth_pam_external.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
Press Ctrl-x to exit and save the file.
3) Type the following on the command line:
/etc/init.d/httpd reload
And press enter.
You will get something like:
[root]# /etc/init.d/httpd reload
Reloading httpd: httpd ok
[root]#
John
rdkurth@xxxxxxxxxxxx wrote:
>
> I have read all the messages about .htaccess not working in the user
> group plus I have read every thing in the knowledge base .
>
> I have changed the line AllowOverride AuthConfig Indexes Limit to
> AllowOverride All under <Directory /home/sites/>
> yes I restarted the server with /etc/rc.d/init.d/httpd restart
>
> I still can not get the browser to access a directory with a .htaccess
> file in it. Viewing webalizer stats will not work.
> When I look at the access.log I see this in it
> www.waterreclaim.com 148.78.247.10 - - [23/Nov/2002:16:25:20 -0500] "GET /stats HTTP/1.0"
> 401 - "-" "Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; StarBand Version 1.0)"
> I don't get any errors in the error log
>
> Does anybody have any idea on what to do to fix this problem? Or what
> to look at to see way this is doing what it is doing?
>
>
>
> --
> Best regards,
> rdkurth mailto:rdkurth@xxxxxxxxxxxx
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users