You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Chris Dagnon <ch...@isthmusgroup.com> on 2006/08/26 00:43:39 UTC

[users@httpd] Alias/RewriteRule/ProxyPass/SSL - how do they coexist?

Here is hopefully a succinct re-statement of my current problem:

I had a website setup and it was working fine using VirtualHost ProxyPass
to forward to another port and a server-level Alias+Directory pair to
forward all image requests to a concrete, common directory.

Now that I've added SSL into the mix, and the Alias never seems to be
triggered for that site, though it is for a non-SSL site.  My newest
question is wondering if it is because there is one VirtualHost *:80 with
a RewriteRule with [R,L].  That should be fine since it is forwarding on
to the VirtualHost *:443 rules.  But again, the Alias isn't getting
triggered.

I did try replacing [R,L] with variations including PT as mod_rewrite's
docs suggest, but saw no changes after restarting Apache2.  I also tried
moving and copying the Alias w/wo Directory into VirtualHost *:443 and
before it, with no change seen.

Is there anyway I can have Apache2 and/or it's mods do some painfully
detailed logging so I can determine just what logic and what order
everything is being processed?  I'm down to it being an interaction with
SSL but that doesn't make sense to me.  Of course there are a couple
warnings in the console on Apache2 startup, but nothing in the logs about
those problems.

  -      apache2: Could not determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
  -      [Fri Aug...] [warn] NameVirtualHost *:80 has no VirtualHosts


Thanks for ideas on where to look or how to resolve this!

-Chris

---------------------------------------------------------------------
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/RewriteRule/ProxyPass/SSL - how do they coexist?

Posted by Devraj Mukherjee <de...@gmail.com>.
UseCanonicalNames Off

On 8/26/06, Chris Dagnon <ch...@isthmusgroup.com> wrote:
> Here is hopefully a succinct re-statement of my current problem:
>
> I had a website setup and it was working fine using VirtualHost ProxyPass
> to forward to another port and a server-level Alias+Directory pair to
> forward all image requests to a concrete, common directory.
>
> Now that I've added SSL into the mix, and the Alias never seems to be
> triggered for that site, though it is for a non-SSL site.  My newest
> question is wondering if it is because there is one VirtualHost *:80 with
> a RewriteRule with [R,L].  That should be fine since it is forwarding on
> to the VirtualHost *:443 rules.  But again, the Alias isn't getting
> triggered.
>
> I did try replacing [R,L] with variations including PT as mod_rewrite's
> docs suggest, but saw no changes after restarting Apache2.  I also tried
> moving and copying the Alias w/wo Directory into VirtualHost *:443 and
> before it, with no change seen.
>
> Is there anyway I can have Apache2 and/or it's mods do some painfully
> detailed logging so I can determine just what logic and what order
> everything is being processed?  I'm down to it being an interaction with
> SSL but that doesn't make sense to me.  Of course there are a couple
> warnings in the console on Apache2 startup, but nothing in the logs about
> those problems.
>
>   -      apache2: Could not determine the server's fully qualified domain
> name, using 127.0.0.1 for ServerName
>   -      [Fri Aug...] [warn] NameVirtualHost *:80 has no VirtualHosts
>
>
> Thanks for ideas on where to look or how to resolve this!
>
> -Chris
>
> ---------------------------------------------------------------------
> 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
>
>

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