LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-07-2006, 02:53 AM   #1
rubella
Member
 
Registered: Sep 2005
Location: Europe
Distribution: debian sarge
Posts: 65

Rep: Reputation: 15
apache2 + htaccess + ssl


does someone know a good link with information howto configure htaccess with ssl on apache2... i thought it was similar with the usual http-shizzle, but it won't work...

now i add to my /etc/apache2/sites-enabled/test.cfg:

IndexIgnore *
AuthUserFile /var/safedir/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require valid-user

and create the htpasswd-file... restarting the webserver has no result. :s
Then, i added the same thing to ssl.conf, restart the thing, but again, no result...

the ssl-stuff already works fine...
 
Old 02-07-2006, 05:17 AM   #2
rubella
Member
 
Registered: Sep 2005
Location: Europe
Distribution: debian sarge
Posts: 65

Original Poster
Rep: Reputation: 15
ok, i've found the solution, thx to my bofh.

there's no difference between a ssl-secure (port 443) and non-ssl-secure site (port 80) in case of htaccess...

i was just editing the wrong config-file... i edited the files in the default apache2 installation, but there was another installation living on this computer... stupid from me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 09:07 AM
Apache2 and SSL problems Malibyte Linux - Software 1 07-09-2005 04:14 PM
SSL + htaccess belorion Linux - Security 1 01-18-2005 05:03 AM
Apache2 .htaccess - Unable To Get Password Prompt. magestic Linux - Software 2 10-27-2004 08:49 AM
Apache2 + SSL for the first time ridertech Linux - Newbie 0 02-14-2004 03:36 AM


All times are GMT -5. The time now is 12:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration