Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 2068 invoked by uid 500); 26 Jan 2003 23:59:47 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 2057 invoked from network); 26 Jan 2003 23:59:47 -0000 Received: from imo-d03.mx.aol.com (205.188.157.35) by daedalus.apache.org with SMTP; 26 Jan 2003 23:59:47 -0000 Received: from Prpltchkv@aol.com by imo-d03.mx.aol.com (mail_out_v34.13.) id e.1e3.5e13b4 (4230) for ; Sun, 26 Jan 2003 18:59:50 -0500 (EST) From: Prpltchkv@aol.com Message-ID: <1e3.5e13b4.2b65d075@aol.com> Date: Sun, 26 Jan 2003 18:59:49 EST To: users@httpd.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_1e3.5e13b4.2b65d075_boundary" X-Mailer: AOL 7.0 for Windows AU sub 10501 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] help with directory accesses --part1_1e3.5e13b4.2b65d075_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I did , as you told me to do, but I am getting into the loop (it redirects from nonsecure to secure address and then keeps redirecting the same page). "Original message" On Sun, 26 Jan 2003 Prpltchkv@aol.com wrote: > I have 5 dirs inside my DocumentRoot, 2 of them suppose to have > encrypted security (implemented using OpenSSL ) and 3 don't. > What is the directive for my "main" host to recognise that this > particular directory shall be secure or unsecure and to change ports and > toggle SSLEngine accordingly: > eg. choose from http://.../root/dir:80 > and https://.../root/dir:443 > > the actual problem is that both hosts have same DocumentRoot,which is > /user/apache2/htdocs, > > eg htdocs > | | | | > dir1 dir2 dir3 dir4 > > dir1 and dir3 must be secure and dir 2 and dir4 must be unsecure. > There 2 ports: > 5800 non-secure port > 4800 secure port > > if I am now at http://www... :5800/dir2 and want to get to dir 1 I > have to switch to SSL and change ports , the request should be > https://www... :4800/dir1 > How can I achieve this ? SSL is not on or off per directory, but per port, as you seem to already recognize. Probably the easiest way to accomplish what you seem to be trying is just with a redirect. Redirect /path/dir2/ https://servername:4800/path/dir2/ You really should think of them, not as the same server, but as different web servers. -- And everyone said, "If we only live, We too will go to sea in a Sieve - To the hills of the Chankly Bore!" (The Jumblies, by Edward Lear) --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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 --part1_1e3.5e13b4.2b65d075_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: 7bit I did , as you told me to do, but I am getting into the loop (it redirects from nonsecure to secure address and then keeps redirecting the same page).

"Original message"

On Sun, 26 Jan 2003 Prpltchkv@aol.com wrote:

> I have 5 dirs inside my DocumentRoot, 2 of them suppose to have
> encrypted security (implemented using OpenSSL ) and 3 don't.
> What is the directive for my "main" host to recognise that this
> particular directory shall be secure or unsecure and to change ports and
> toggle SSLEngine accordingly:
> eg.  choose from  http://.../root/dir:80
>                    and  https://.../root/dir:443
>
> the actual problem is that both hosts have same DocumentRoot,which is
> /user/apache2/htdocs,
>
> eg                             htdocs
>     |         |        |         |
>                  dir1      dir2    dir3      dir4
>
> dir1 and dir3  must be secure and dir 2 and dir4 must be unsecure.
> There 2 ports:
> 5800 non-secure port
> 4800 secure port
>
> if  I am now at http://www... :5800/dir2    and want to get to dir 1 I
> have to switch to SSL and change ports , the request should be
> https://www... :4800/dir1
> How can I achieve this ?

SSL is not on or off per directory, but per port, as you seem to already
recognize.

Probably the easiest way to accomplish what you seem to be trying is
just with a redirect.

Redirect /path/dir2/ https://servername:4800/path/dir2/

You really should think of them, not as the same server, but as
different web servers.

--
And everyone said, "If we only live,
We too will go to sea in a Sieve -
To the hills of the Chankly Bore!"
(The Jumblies, by Edward Lear)


---------------------------------------------------------------------
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


--part1_1e3.5e13b4.2b65d075_boundary--