List Info

Thread: port 80 redirect with vhost problem




port 80 redirect with vhost problem
country flaguser name
United States
2007-10-12 13:36:31
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://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: port 80 redirect with vhost problem
country flaguser name
United States
2007-10-12 13:39:15
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://htt
pd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
>   "   from the digest:
users-digest-unsubscribehttpd.apache.org
> For additional commands, e-mail: users-helphttpd.apache.org
>


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


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )