[UPHPU] Passing more than one $_GET variable

Brandon Stout bms at mscis.org
Wed Sep 5 23:21:33 MDT 2007


Wade Preston Shearer wrote:
> Any idea why the redirect won't work?
I've been trying to find a reason why not, but have not found anything.  
I'll therefore post a few examples that work on a Verio VPS V3 with HTTP 
2.2.  It works with my browsers, and I'm fairly certain it'll work with 
everyone else's... please let me know if this does not redirect for any 
of you!

# This redirects all phpMyAdmin traffic to a secure URL

<VirtualHost 128.121.225.89:80>
    ServerName     pma.flfn.org
    RedirectPermanent / https://pma.flfn.org/
</VirtualHost>

# To test, try to go to http://pma.flfn.org - it will always redirect to 
https
# This redirects all requests for www.drupal.mscis.org to the no www URL

<VirtualHost 128.121.225.89:80>
    ServerName     www.drupal.mscis.org
    RedirectPermanent / http://drupal.mscis.org
</VirtualHost>

# To test, try to go to http://www.drupal.mscis.org
# This redirects requests for both listed URLs to the no www, short URL

<VirtualHost 128.121.225.89:80>
    ServerName     deltasevensports.com
    ServerAlias    www.deltasevensports.com
    RedirectPermanent / http://delta7sports.com
</VirtualHost>

# To test, try to go to http://deltasevensports.com or 
http://www.deltasevensports.com

As an FYI for bicycle fans, I'm doing the sports site for my cousin, who 
will make and sell a really cool BYU-patented ultra-light carbon-fiber 
bike called the Isotruss.  Info at these public links:

http://www.isotruss.org/
http://www.cyclingnews.com/photos/2004/tech/shows/?id=interbike/isotruss/isotruss1-iblv

Brandon Stout
http://mscis.org


More information about the UPHPU mailing list