You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2004/05/04 01:25:25 UTC
[users@httpd] Re: {SPAM 03.0} [users@httpd] Alias doesnt work with SSL ?
On Tue, 4 May 2004, adwinwijaya wrote:
> but if i use SSL, it will call filename.php directly so it wont
> display correctly.
> note: home.php is the main template that I used for every page.
Either place all the alias directives outside the <VirtualHost>, or repeat
them inside the <VirtualHost ...:443>. At the moment, you have
specifically limitted that configuration to only port 80 -- the non-ssl
host.
Joshua.
---------------------------------------------------------------------
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
Re[2]: [users@httpd] Alias doesnt work with SSL ?
Posted by adwinwijaya <ad...@yahoo.com.au>.
Hello Joshua,
Tuesday, May 4, 2004, 11:45:25 AM, you wrote:
JS> I mean you need a single <virtualhost ...:443> section. Since you already
JS> had ssl working, you must have already had such a section. So you
JS> shouldn't have added a new one, simply adjusted the configuration of the
JS> existing virtual host.
JS> Joshua.
Thanks for your help :) .. now my ssl works very well :)
--
Best regards,
adwin
---------------------------------------------------------------------
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
Re: [users@httpd] Alias doesnt work with SSL ?
Posted by Joshua Slive <jo...@slive.ca>.
On Tue, 4 May 2004, adwinwijaya wrote:
> Hello Joshua,
> Tuesday, May 4, 2004, 9:52:08 AM, you wrote:
>
> JS> You can't simply create a second virtual host. If SSL is already working,
> JS> that means you have an existing virtual host for it someplace that is
> JS> serving the requests. Perhaps it is in ssl.conf? You need to find that
> JS> and add the relevant directives.
> JS> Joshua.
>
> Do you mean I need to put those VirtualHost (that contain Aliases)
> inside ssl.conf ?
> and should i remove <virtualhost *:443> inside the httpd.conf ?
> thx
I mean you need a single <virtualhost ...:443> section. Since you already
had ssl working, you must have already had such a section. So you
shouldn't have added a new one, simply adjusted the configuration of the
existing virtual host.
Joshua.
---------------------------------------------------------------------
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
Re[2]: [users@httpd] Alias doesnt work with SSL ?
Posted by adwinwijaya <ad...@yahoo.com.au>.
Hello Joshua,
Tuesday, May 4, 2004, 9:52:08 AM, you wrote:
JS> You can't simply create a second virtual host. If SSL is already working,
JS> that means you have an existing virtual host for it someplace that is
JS> serving the requests. Perhaps it is in ssl.conf? You need to find that
JS> and add the relevant directives.
JS> Joshua.
Do you mean I need to put those VirtualHost (that contain Aliases)
inside ssl.conf ?
and should i remove <virtualhost *:443> inside the httpd.conf ?
thx
--
Best regards,
adwin
---------------------------------------------------------------------
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
Re: [users@httpd] Alias doesnt work with SSL ?
Posted by Joshua Slive <jo...@slive.ca>.
On Tue, 4 May 2004, adwinwijaya wrote:
> It still doesnt work :(
>
> I created 2 VirtualHost :
You can't simply create a second virtual host. If SSL is already working,
that means you have an existing virtual host for it someplace that is
serving the requests. Perhaps it is in ssl.conf? You need to find that
and add the relevant directives.
Joshua.
---------------------------------------------------------------------
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
Re: [users@httpd] Re: {SPAM 03.0} [users@httpd] Alias doesnt work with SSL ?
Posted by adwinwijaya <ad...@yahoo.com.au>.
Hello Joshua,
Tuesday, May 4, 2004, 9:25:25 AM, you wrote:
JS> Either place all the alias directives outside the <VirtualHost>, or repeat
JS> them inside the <VirtualHost ...:443>. At the moment, you have
JS> specifically limitted that configuration to only port 80 -- the non-ssl
JS> host.
JS> Joshua.
It still doesnt work :(
I created 2 VirtualHost :
<VirtualHost *:80>
-- still same --
</VirtualHost>
and
<VirtualHost *:443>
-- same as above --
</VirtualHost>
but the ssl mode ignoring
Alias / "/var/www/html/awillr/home.php"
so the home.php never called
--
Best regards,
adwinwijaya
mailto:adwinwijaya@yahoo.com.au
---------------------------------------------------------------------
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