Re: Apache and redirecting...

Rafael Troncoso <[email protected]>
Newsgroups gmane.org.user-groups.jaxlug
Message-ID <CAB+ciumBngKdY-MRQt0gOpMs4gHYz69PgUh0ko=rXawcSRyhiA@mail.gmail.com>
I don't know if the .htaccess file and the mod_rewrite module will do it for you

Good luck


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



-- 
If you have freedom to choose, choose freedom, use GNU/Linux

---------------------------------------------------------------------
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.