|
Author |
Message |
su_jump
Junior WebHelper
Joined: 18 Nov 2004
Posts: 5
Location: Austin, Tx
|
Posted:
Tue Jan 11, 2005 8:04 pm (19 years, 3 months ago) |
|
Hello all,
I’ve used htaccess successfully before with no problems. Now I changed web host (using FreeBSD) which should work with htaccess. Created new directory to be protected and added the htaccess file to the root of that directory. Also added the htpasswd file outside of the root directory to be protected. Okay, you’d think everything would work great. Well, when I go to the protected page…..nothing happens, it just goes directly to the page I’m trying to protect with no login box or anything. What gives?
Thanks for the help.
Quote: | AuthUserFile /home/aapff/public_html/_private/.htpasswd
AuthGroupFile /dev/null
AuthName "Members Only Area"
AuthType Basic
authPAM_enabled off
ErrorDocument 401 /Sorry.html
<Limit GET POST>
require valid-user
satisfy all
</Limit> |
|
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Tue Jan 11, 2005 9:04 pm (19 years, 3 months ago) |
|
Does your new web host use Apache? |
________________________________
|
|
|
|
su_jump
Junior WebHelper
Joined: 18 Nov 2004
Posts: 5
Location: Austin, Tx
|
Posted:
Tue Jan 11, 2005 10:17 pm (19 years, 3 months ago) |
|
This is what I found.
Operating system:
FreeBSD 4.10-SATA-RELEASE
AnyDBM_File
Apache
Apache::AuthDBI
Apache::Connection
Apache::Constants
Apache::Constants::Exports
Apache::DBI
Apache::Debug
Apache::ExtUtils
Apache::FakeRequest
Apache::File
Apache::httpd_conf
Apache::Include
Apache::Leak
Apache::Log
Apache::ModuleConfig
Apache::MyConfig
Apache::Opcode
Apache::Options
Apache::PerlRun
Apache::PerlRunXS
Apache::PerlSections
Apache::RedirectLogFix
Apache::Registry
Apache::RegistryBB
Apache::RegistryLoader
Apache::RegistryNG
Apache::Resource
Apache::RPC::Server
Apache::RPC::Status
Apache::Server
Apache::SIG
Apache::SizeLimit
Apache::SOAP
Apache::src
Apache::StatINC
Apache::Status
Apache::Symbol
Apache::Symdump
Apache::Table
Apache::test
Apache::URI
Apache::Util
Apache::XMLRPC::Lite |
|
|
|
|
Daniel
Team Member
Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Wed Jan 12, 2005 6:18 am (19 years, 3 months ago) |
|
Have you asked your host if they've disabled the use of .htaccess files? |
________________________________
|
|
|
|
su_jump
Junior WebHelper
Joined: 18 Nov 2004
Posts: 5
Location: Austin, Tx
|
Posted:
Wed Jan 12, 2005 6:50 am (19 years, 3 months ago) |
|
I checked before I started all this. But its always good to recheck. I called them to confirm and yes .htaccess files can be used on the server. |
|
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.167804 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |