On Tue, Oct 11, 2011 at 2:03 PM, Paul Spicer <[email protected]> wrote:
> I have an apache server presently setup to redirect all http traffic to
> https. Problem is, I want to allow SOME http traffic through, but requests
> made to access / should route to https... I'm currently using:
>
> Redirect permanent / https://server.com/
>
> And this works well enough for accessing the site from the WAN, but it's
> preventing me from accessing phpmyadmin from the LAN... (It keeps
> redirecting me to https://server.com/ whenever I try the local IP.)
>
> I'm sure there's something to do with segregating internal traffic from
> external as to who gets redirected, but I'm not entirely sure where... Can
> anyone provide some insight?
>

I can think of a couple of solutions, an easy one is to setup a name
based vhost for local access and one for 'public' access.  Use the
local vhost for phpmyadmin (and etc.) and everything else through the
public one.

Or... and apache rewrite rule that checks if the url includes
phpmyadmin and works appropriately based on the url requested.

Either of those should work for you.

--Donald

-- 
Donald Cowart
http://www.rdex.net/

---------------------------------------------------------------------
Archive      http://marc.info/?l=jaxlug-list&r=1&w=2
RSS Feed     http://www.mail-archive.com/[email protected]/maillist.xml
Unsubscribe  [email protected]

Reply via email to