.htaccess

  • ray8902033
  • Novice
  • Novice
  • ray8902033
  • Posts: 29

Post 3+ Months Ago

I have an .htaccess file already create but it does not work.

The location
\var\www\private

Code:

AuthUserFile /var/www/private/.htpasswd
AuthGroupFile /dve/null
AuthName "CVS Admin"
AuthType Basic

<Limit GET POST>
require vaild-user
</Limit>


... Please Help


Thank you
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ray8902033
  • Novice
  • Novice
  • ray8902033
  • Posts: 29

Post 3+ Months Ago

Do you I need to do anything in the httpd.conf for this work
  • theak
  • Proficient
  • Proficient
  • User avatar
  • Posts: 438
  • Loc: Taipei, Taiwan

Post 3+ Months Ago

Yes, you need to to change your <Directory> entry to allow overrides.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 45 guests
  • 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 post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.