Again, running Apache 1.3.x, with mod_ssl installed, I probably need
to create an SSL certificate.  What other directives do I need to put
in there?

When I look at the standard ssl.conf file, I see all sorts of
directives.  Would the standard way to configure a virtual host with a
SSL server to place those directives within the ssl.conf file instead
of the httpd.conf file?

Or could I place this within httpd.conf:

<VirtualHost *>
      ServerName www.foo.com
      ServerAdmin [EMAIL PROTECTED]

      ProxyRequests Off
      ProxyPass /directory https://server.bar.com:1234/directory/
      ProxyPassReverse /directory https://server.bar.com:1234/directory/
</VirtualHost>

And then within ssl.conf do this?
<VirtualHost *>
      ServerName www.foo.com
     [some SSL certificate directives]
</VirtualHost>

Thanks.
   === Al


----- Original Message ----
From: chris <[EMAIL PROTECTED]>
To: users@httpd.apache.org
Sent: Wednesday, November 21, 2007 6:32:05 PM
Subject: Re: [EMAIL PROTECTED] Redirect in httpd.conf


RedirectMatch ^/$    http://www.foo.com/directory

chris

Al Sparks wrote:
> Here's a partial in my httpd.conf:
> <VirtualHost *>
>       ServerName www.foo.com
>       ServerAdmin [EMAIL PROTECTED]
>
>       ProxyRequests Off
>       ProxyPass /directory http://server.bar.com:1234/directory/
>       ProxyPassReverse /directory
 http://server.bar.com:1234/directory/
> </VirtualHost>
>
> Running Apache 1.3.x.  So I've got this to work so that when you type
 in:
>    http://www.foo.com/directory
> it reverse proxies to http://server.bar.com:1234/directory/
>
> I'd also like to redirect so that if you try to go to:
>    http://www.foo.com
>
> it redirects to http://www.foo.com/directory.
>
> How exactly would I do a redirect command?
>     === Al
>
>
>
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>   


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to