LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-10-2005, 03:46 AM   #1
collen
Member
 
Registered: Jun 2003
Location: /
Distribution: Fedora/Debian
Posts: 86

Rep: Reputation: 15
apache 2 + ssl + authtype


well i'm trying to setup apache with ssl for accessing our intranet.

i use authtype to get username and password..
it all works fine on the normal port 80 without SSL.

now i would like for our users to surf to the site, klick a button.
go into https mode, and then get the auth-popupbox..

here is a part of my conf.:
## INDEX/BEGIN #################################
<VirtualHost *>
ServerName server.name.org:80
#Options +Indexes MultiViews
DocumentRoot "/DATA/intranet"
DirectoryIndex index.html index.htm default.html default.htm index.php
### INTRANET ###################################
<Directory "/DATA/intranet/Web">
DirectoryIndex index.html index.htm Default.html index.php
Options Indexes FollowSymLinks MultiViews
SSLVerifyClient require
SSLVerifyDepth 1
SSLOptions +FakeBasicAuth
SSLRequire %{SSL_CIPHER_USEKEYSIZE} >= 128
AuthType Basic
AuthName "MLHJ Intranet Beta 1.4"
AuthUserFile /DATA/etc/passwd
AuthGroupFile /DATA/etc/group
Require group MLHJ
</Directory>
</VirtualHost>
######################

the idea is that assoon the server access the "/Data/intranet/Web" (server.name.org/Web) it should switch automaticly into https mode.. so the must not be anny http mode after the /Web part..
also auth. is required..

now i get "object not found", and no auth box ?? from apache.
but it is still accesseble with http, not with https ??

anny clue's

Greetings
Collen
 
  


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
Apache 1.3.33 (debian built) and Apache SSL does not respond to the proper ports lqorg_user Linux - Networking 0 11-06-2005 04:11 PM
AuthType Basic using Virtual Hosts rioguia Linux - Security 3 06-08-2005 11:52 PM
apache and apache-ssl questions merana Debian 4 03-10-2005 10:10 AM
AuthType Digest Issue in CUPS ananthn Debian 0 08-11-2004 12:09 AM
Apache 2.0 and SSL harlow400 Linux - Software 8 03-10-2004 02:56 AM


All times are GMT -5. The time now is 02:54 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