[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Solution htaccess problem raq550 after update
- Subject: Re: [cobalt-users] Solution htaccess problem raq550 after update
- From: "John D. Gorena" <Support@xxxxxxxxxxxxxxxxxxx>
- Date: Sat Nov 23 16:55: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>
Bas,
GREAT WORK IN SOLVING THIS PROBLEM. But I want to add a step by step
procedure for newbies so they can also fix this problem.
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]#
THANKS AGAIN TO BAS!
John
Bas van Ecke wrote:
>
> Hi all,
>
> Like others, we have had the same problem that after the latest update,
> .htaccess did not function well. At least not if you're using the PAM
> authentication. This is the case eg in Webalizer but I use it as well in
> my own htaccess files.
>
> The solution which has been posted on "the other list" has proven to work
> (for me).
>
> During the update the httpd.conf is changed.
> Another directive has been added: ClearModuleList
> This causes the problem because the LoadModule pam_external_auth_module
> modules/mod_auth_pam_external.so is defined on top of the page.
>
> So, the solution is to move this to beneath the ClearModuleList and !!
> beneath the AddModule mod_so.c part.
>
> Then just reload apache ( /etc/init.d/httpd reload )
>
> This was the solution of Sun support in the Netherlands.
>
> Questions rise why Sun hasn't this made public by themselves?
> Or have I been missing it ( in which case I apoligize for posting things
> double )?
>
> Kind regards, Bas
>
> -----------------------------------------
> This email was sent using SquirrelMail.
> "Webmail for nuts!"
> http://squirrelmail.org/
>
> _____________________________________
> 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