[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: raq550 .htaccess & custom 404 page



I need to use an htaccess file to set a custom 404 and to set php to parse .htm files:
AddType application/x-httpd-php .htm
ErrorDocument 404 http://www.domain.com/404.htm This works on our raq4, but throws an error 500 on the raq550.

I have worked around the above problem by putting those settings in /etc/httpd/conf/vhosts/site3 instead of in a .htaccess file. But another site now needs htaccess/htpasswd password protection. I have tried the suggestion posted here (moving the LoadModule pam_external_auth_module modules/mod_auth_pam_external.so line in httpd.conf) but that line was commented out to start with, and if I uncomment it, it doesn't help. Any further suggestions please?
Thanks, Julian