Using Aliases and SSL

Using Aliases and SSL

am 18.09.2002 21:38:31 von Matias Silva

This is a multi-part message in MIME format.

------=_NextPart_000_00F3_01C25F10.4BFE07D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Can anybody assist me, in using Aliases with ssl?. =20

I placed several Alias directives within the ssl.conf file specifically =
where the virtual host is defined. =20
This was to help assist in organizing the Apache server. Of course its =
not working.

Where should I place Alias Directives that need to be included in the =
ssl area of the server ?
or Does SSL even work with Aliases?

Cheers
-Matt

------=_NextPart_000_00F3_01C25F10.4BFE07D0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




Can anybody assist me, in using Aliases =
with=20
ssl?. 

 

I placed several Alias directives =
within=20
the ssl.conf file specifically where =
the virtual=20
host is defined. 

This was to help assist in =
organizing the=20
Apache server.  Of course its not working.

 

Where should I place Alias =
Directives that=20
need to be included in the ssl area of the server ?

or Does SSL even work with =
Aliases?

 

Cheers

-Matt


------=_NextPart_000_00F3_01C25F10.4BFE07D0--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: Using Aliases and SSL

am 19.09.2002 10:19:52 von John.Airey

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C25FB5.543194D0
Content-Type: text/plain;
charset="iso-8859-1"

Do I take it that you mean "ServerAlias"? If you do, then provided the alias
name matches the same IP address that your secure host is listening to, it
should work. I use it here myself.

If on the other hand you mean the Alias command that aliases directories, I
know of no reason why this shouldn't work. Can you post an example please?

-
John Airey, BSc (Jt Hons), CNA, RHCE
Internet systems support officer, ITCSD, Royal National Institute of the
Blind,
Bakewell Road, Peterborough PE2 6XU,
Tel.: +44 (0) 1733 375299 Fax: +44 (0) 1733 370848 John.Airey@rnib.org.uk

Reality TV - the ultimate oxymoron

-----Original Message-----
From: Matias Silva [mailto:mpsilva@storagecommander.com]
Sent: 18 September 2002 20:39
To: User Group mod_ssl
Subject: Using Aliases and SSL


Can anybody assist me, in using Aliases with ssl?.

I placed several Alias directives within the ssl.conf file specifically
where the virtual host is defined.
This was to help assist in organizing the Apache server. Of course its not
working.

Where should I place Alias Directives that need to be included in the ssl
area of the server ?
or Does SSL even work with Aliases?

Cheers
-Matt


-

NOTICE: The information contained in this email and any attachments is
confidential and may be legally privileged. If you are not the
intended recipient you are hereby notified that you must not use,
disclose, distribute, copy, print or rely on this email's content. If
you are not the intended recipient, please notify the sender
immediately and then delete the email and any attachments from your
system.

RNIB has made strenuous efforts to ensure that emails and any
attachments generated by its staff are free from viruses. However, it
cannot accept any responsibility for any viruses which are
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email
and any attachments are those of the author and do not necessarily
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk

------_=_NextPart_001_01C25FB5.543194D0
Content-Type: text/html;
charset="iso-8859-1"










Do I
take it that you mean "ServerAlias"? If you do, then provided the alias name
matches the same IP address that your secure host is listening to, it should
work. I use it here myself.

size=2> 

If on
the other hand you mean the Alias command that aliases directories, I know
of no reason why this shouldn't work. Can you post an example
please?

size=2> 


-
John Airey,
BSc (Jt Hons), CNA, RHCE

Internet systems
support officer, ITCSD, Royal National Institute of the Blind,

face=Tahoma size=1>Bakewell Road, Peterborough PE2 6XU,
face=Tahoma size=1>Tel.: +44 (0) 1733 375299 Fax: +44 (0) 1733 370848
John.Airey@rnib.org.uk


Reality TV - the ultimate oxymoron


style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
size=2>-----Original Message-----
From: Matias Silva
[mailto:mpsilva@storagecommander.com]
Sent: 18 September 2002
20:39
To: User Group mod_ssl
Subject: Using Aliases and
SSL


Can anybody assist me, in using Aliases with
ssl?. 

 

I placed several Alias directives within
the ssl.conf file specifically where the
virtual host is defined. 

This was to help assist in organizing the
Apache server.  Of course its not working.

 

Where should I place Alias Directives that
need to be included in the ssl area of the server ?

or Does SSL even work with Aliases?

 

Cheers

-Matt




-





NOTICE: The information contained in this email and any attachments is



confidential and may be legally privileged. If you are not the



intended recipient you are hereby notified that you must not use,



disclose, distribute, copy, print or rely on this email's content. If



you are not the intended recipient, please notify the sender



immediately and then delete the email and any attachments from your



system.





RNIB has made strenuous efforts to ensure that emails and any



attachments generated by its staff are free from viruses. However, it



cannot accept any responsibility for any viruses which are



transmitted. We therefore recommend you scan all attachments.





Please note that the statements and views expressed in this email



and any attachments are those of the author and do not necessarily



represent those of RNIB.





RNIB Registered Charity Number: 226227





Website: http://www.rnib.org.uk



------_=_NextPart_001_01C25FB5.543194D0--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

Re: Using Aliases and SSL

am 20.09.2002 23:42:38 von Matias Silva

This is a multi-part message in MIME format.

------=_NextPart_000_01F2_01C260B3.F78BEC30
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks John for your reply..... Yes I want to alias directories. =
Basically I have a directory structure n deep and I have to reference =
common directories, but I don't want to do this relatively (e.g =
.../.../../TargetDirectory). I want to use absolute
directories using the Alias command/directive (e.g /TargetDirectory) =
under the SSL environment.

Below is a partial copy from my ssl.conf file minusing the comments and =
all the ssl stuff. I picked up
an Apache 2.0 book today so .... I'm going to keep trying. Any =
suggestions would be appreciated.

Cheers
Matt=20





# General setup for the virtual host
DocumentRoot "/NetCommander/MainStreetStorageCorp/nc"
ServerName new.host.name:443
ServerAdmin you@your.address
ErrorLog logs/error_log
TransferLog logs/access_log

Alias /images/ "/NetCommander/MainStreetStorageCorp/nc/images/"


Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all


Alias /include/ "NetCommander/MainStreetStorageCorp/nc/include/"


Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all


Alias /styles/ "NetCommander/MainStreetStorageCorp/nc/styles/"


Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all


Alias /javascript/ "/NetCommander/MainStreetStorageCorp/nc/javascript/"


Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all


:
:
:
SSL Directives
:
:
:



SSLOptions +StdEnvVars


SSLOptions +StdEnvVars


:
:
:
More SSL Directives
:
:
:

=20






----- Original Message -----=20
From: John.Airey@rnib.org.uk=20
To: modssl-users@modssl.org=20
Sent: Thursday, September 19, 2002 1:19 AM
Subject: RE: Using Aliases and SSL


Do I take it that you mean "ServerAlias"? If you do, then provided the =
alias name matches the same IP address that your secure host is =
listening to, it should work. I use it here myself.

If on the other hand you mean the Alias command that aliases =
directories, I know of no reason why this shouldn't work. Can you post =
an example please?

-=20
John Airey, BSc (Jt Hons), CNA, RHCE=20
Internet systems support officer, ITCSD, Royal National Institute of =
the Blind,=20
Bakewell Road, Peterborough PE2 6XU,=20
Tel.: +44 (0) 1733 375299 Fax: +44 (0) 1733 370848 =
John.Airey@rnib.org.uk=20

Reality TV - the ultimate oxymoron=20

-----Original Message-----
From: Matias Silva [mailto:mpsilva@storagecommander.com]
Sent: 18 September 2002 20:39
To: User Group mod_ssl
Subject: Using Aliases and SSL


Can anybody assist me, in using Aliases with ssl?. =20

I placed several Alias directives within the ssl.conf file =
specifically where the virtual host is defined. =20
This was to help assist in organizing the Apache server. Of course =
its not working.

Where should I place Alias Directives that need to be included in =
the ssl area of the server ?
or Does SSL even work with Aliases?

Cheers
-Matt


-=20



NOTICE: The information contained in this email and any attachments is =


confidential and may be legally privileged. If you are not the=20

intended recipient you are hereby notified that you must not use,=20

disclose, distribute, copy, print or rely on this email's content. If=20

you are not the intended recipient, please notify the sender=20

immediately and then delete the email and any attachments from your=20

system.



RNIB has made strenuous efforts to ensure that emails and any=20

attachments generated by its staff are free from viruses. However, it=20

cannot accept any responsibility for any viruses which are=20

transmitted. We therefore recommend you scan all attachments.



Please note that the statements and views expressed in this email=20

and any attachments are those of the author and do not necessarily=20

represent those of RNIB.



RNIB Registered Charity Number: 226227



Website: http://www.rnib.org.uk=20


------=_NextPart_000_01F2_01C260B3.F78BEC30
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



charset=3Diso-8859-1">




Thanks John for your reply..... =
Yes I want to=20
alias directories.  Basically I have a directory structure n deep =
and I=20
have to reference common
directories, =
but I don't=20
want to do this relatively (e.g ../.../../TargetDirectory).  I want =
to use=20
absolute

directories using the Alias =
command/directive (e.g=20
/TargetDirectory) under the SSL environment.

 

Below is a partial copy from my =
ssl.conf file=20
minusing the comments and all the ssl stuff.  I picked =
up

an Apache 2.0 book today so .... =
I'm going to=20
keep trying.  Any suggestions would be =
appreciated.

 

Cheers

Matt

 

 

 

<VirtualHost =
_default_:443>

 

#  General setup for the virtual=20
host
DocumentRoot =
"/NetCommander/MainStreetStorageCorp/nc"
ServerName=20
new.host.name:443
ServerAdmin href=3D"mailto:you@your.address">you@your.address
ErrorLog=20
logs/error_log
TransferLog logs/access_log


 

Alias /images/=20
"/NetCommander/MainStreetStorageCorp/nc/images/"

 

<Directory=20
"/NetCommander/MainStreetStorageCorp/nc/images/">
   =
Options=20
Indexes MultiViews
   AllowOverride None
   =
Order=20
allow,deny
   Allow from =
all
</Directory>

 

Alias /include/=20
"NetCommander/MainStreetStorageCorp/nc/include/"

 

<Directory=20
"/NetCommander/MainStreetStorageCorp/nc/include/">
   =
Options=20
Indexes Multiviews
   AllowOverride None
   =
Order=20
allow,deny
   Allow from =
all
</Directory>

 

Alias /styles/=20
"NetCommander/MainStreetStorageCorp/nc/styles/"

 

<Directory=20
"/NetCommander/MainStreetStorageCorp/nc/styles/">
   =
Options=20
Indexes Multiviews
   AllowOverride None
   =
Order=20
allow,deny
   Allow from =
all
</Directory>

 

Alias /javascript/=20
"/NetCommander/MainStreetStorageCorp/nc/javascript/"

 

<Directory=20
"/NetCommander/MainStreetStorageCorp/nc/javascript/">
   =
Options=20
Indexes Multiviews
   AllowOverride None
   =
Order=20
allow,deny
   Allow from =
all
</Directory>

 

size=3D2>        =20
:

size=3D2>        =20
:

size=3D2>        =20
:

SSL Directives
         =
:

         :

         :

 


<Files ~ =
"\.(cgi|shtml|phtml|php3?)$">
   =20
SSLOptions +StdEnvVars
</Files>
<Directory=20
"/usr/local/apache2/cgi-bin">
    SSLOptions=20
+StdEnvVars
</Directory>

 

        :

        :

        :

More SSL Directives

        :

        :

        :

 

</VirtualHost>        =
            &=
nbsp;           &n=
bsp;=20

 

</IfDefine>

 

 
size=3D2>


style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
----- Original Message -----

style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black">From:=20
href=3D"mailto:John.Airey@rnib.org.uk">John.Airey@rnib.org.u k =

To: title=3Dmodssl-users@modssl.org=20
href=3D"mailto:modssl-users@modssl.org">modssl-users@modssl. org
=

Sent: Thursday, September 19, =
2002 1:19=20
AM

Subject: RE: Using Aliases and =
SSL



color=3D#0000ff size=3D2>Do I=20
take it that you mean "ServerAlias"? If you do, then provided the =
alias name=20
matches the same IP address that your secure host is listening to, it =
should=20
work. I use it here myself.

color=3D#0000ff=20
size=3D2>
 

color=3D#0000ff size=3D2>If=20
on the other hand you mean the Alias command that aliases directories, =
I know=20
of no reason why this shouldn't work. Can you post an example=20
please?

color=3D#0000ff=20
size=3D2>
 


-
size=3D1>John Airey,=20
BSc (Jt Hons), CNA, RHCE

size=3D1>Internet systems=20
support officer, ITCSD, Royal National Institute of the Blind,
=20

Bakewell Road, Peterborough PE2 =
6XU,
=20

Tel.: +44 (0) 1733 375299 Fax: +44 =
(0) 1733=20
370848 John.Airey@rnib.org.uk


Reality TV - the ultimate =
oxymoron
=20


style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
face=3DTahoma=20
size=3D2>-----Original Message-----
From: Matias Silva=20
[mailto:mpsilva@storagecommander.com]
Sent: 18 September =
2002=20
20:39
To: User Group mod_ssl
Subject: Using =
Aliases and=20
SSL


Can anybody assist me, in using =
Aliases with=20
ssl?. 

 

I placed several Alias directives =
within=20
the ssl.conf file specifically =
where the=20
virtual host is defined. 

This was to help assist in =
organizing the=20
Apache server.  Of course its not working.

 

Where should I place Alias =
Directives that=20
need to be included in the ssl area of the server =
?

or Does SSL even work with=20
Aliases?

 

Cheers

-Matt


-



NOTICE: The information contained in =
this email=20
and any attachments is


confidential and may be legally =
privileged. If=20
you are not the


intended recipient you are hereby =
notified that=20
you must not use,


disclose, distribute, copy, print or =
rely on=20
this email's content. If


you are not the intended recipient, =
please=20
notify the sender


immediately and then delete the =
email and any=20
attachments from your


system.



RNIB has made strenuous efforts to =
ensure that=20
emails and any


attachments generated by its staff =
are free from=20
viruses. However, it


cannot accept any responsibility for =
any viruses=20
which are


transmitted. We therefore recommend =
you scan all=20
attachments.



Please note that the statements and =
views=20
expressed in this email


and any attachments are those of the =
author and=20
do not necessarily


represent those of =
RNIB.



RNIB Registered Charity Number:=20
226227



Website: =
http://www.rnib.org.uk
=20



------=_NextPart_000_01F2_01C260B3.F78BEC30--

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org