httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Hart <tomh...@coopfed.org>
Subject Re: [users@httpd] port 80 redirect with vhost problem
Date Fri, 12 Oct 2007 18:39:15 GMT
Note to self: ctrl-enter != ctrl-v
Try number 2, here's httpd.conf

ServerName che:443

NameVirtualHost *:80

<VirtualHost *:80>
ServerName che
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/nonssl"
</VirtualHost>

DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs"
Alias /spooldir "C:/data/SPOOLDIR/"
Alias /database "C:/data/Finops/Database/Data/Current"
Alias /nonssl    "C:/Program Files/Apache Software 
Foundation/Apache2.2/nonssl"

Tom Hart wrote:
> Hi again everybody. I've got this kind of set up and working, there's 
> just a couple loopholes I'd like to close up.
>
> I have ssl set up, and a vhost redirect setup so that http://server 
> goes to a "please use ssl" page. However I also have a couple aliases 
> and http://server/alias does not redirect properly. I'm doing ldap 
> authentication on all the directories except the non-ssl page, because 
> I don't want ldap passwords to go in plain text to the server, so this 
> is a bit of a hole. Here's the relevant bits of httpd.conf
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message