You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sv...@web.de on 2002/06/06 18:24:09 UTC

Alias in http.conf, Apache+SSL

Hello!

I'll be appreciate, if anybody can help me with my question.

I use Apache+mod_ssl+OpenSSL, WinNT. I'd like to work with aliases, that I can desribe in httpd.conf file. F.e.

Alias /XXXX/ "D:/YYYY/"
	<Directory "D:/TestTTT">
	    AllowOverride None
	    Order allow,deny
	    Allow from all
	</Directory>

When I describe it between <IfModule mod_alias.c> and </IfModule>, I see the files only through the http://localhost/. But I don't see them through the https.
When I describe it like in http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html (SSL via Apache), I don't see it at all.

Where is the mistake? Is it possible in general to work with aliases through the https?

Thanks in advance.
______________________________________________________________________________
All inclusive! 100 MB Speicher, SMS 50% günstiger, 32 MB Attachment-Größe, 
Preisvorteile und mehr unter http://club.web.de/?mc=021104


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Alias in http.conf, Apache+SSL

Posted by Michal Bachorik <ba...@frpd.utcpd.sk>.
----- Original Message -----
From: <sv...@web.de>
To: <us...@httpd.apache.org>
Sent: Thursday, June 06, 2002 6:24 PM
Subject: Alias in http.conf, Apache+SSL


> Hello!
>
> I'll be appreciate, if anybody can help me with my question.
>
> I use Apache+mod_ssl+OpenSSL, WinNT. I'd like to work with aliases, that I
can desribe in httpd.conf file. F.e.
>
> Alias /XXXX/ "D:/YYYY/"
> <Directory "D:/TestTTT">
>     AllowOverride None
>     Order allow,deny
>     Allow from all
> </Directory>
>
> When I describe it between <IfModule mod_alias.c> and </IfModule>, I see
the files only through the http://localhost/. But I don't see them through
the https.
> When I describe it like in
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html (SSL
via Apache), I don't see it at all.
>
> Where is the mistake? Is it possible in general to work with aliases
through the https?

yes, it is possible ... just add the same alias somewhere in SSL virtual
host definition .. eg:

<VirtualHost _default_:443>
.
.
.
Alias /XXXX/ "D:/YYYY/"
 <Directory "D:/TestTTT">
     AllowOverride None
     Order allow,deny
     Allow from all
 </Directory>
.
.
.
</VirtualHost>


if you want to use both HTTP and HTTPS, then you should have 'alias'
definition in 'alias section'  (<IfModule mod_alias.c> ...) and also in SSL
virtual host section ..




>
> Thanks in advance.
>
____________________________________________________________________________
__
> All inclusive! 100 MB Speicher, SMS 50% günstiger, 32 MB Attachment-Größe,
> Preisvorteile und mehr unter http://club.web.de/?mc=021104
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org