NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page .htaccess redirection slow

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 12-16-2005, 01:39 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Feb 2004
Posts: 650
teclance is on a distinguished road
 



.htaccess redirection slow


Hi guys,

I am trying to set up a couple redirections using .htaccess and I have the following set up:

Redirect /signup.php https://www.domainishere.com/signup.php

Ignore the link part as I replaced my domain name with a false one.

Basically what I am trying to do is have anyone going to the unsecure page be automatically redirected to the secure page.

The problem I am running into is slowness. It takes a minimum of 2 minutes to redirect and I only have 1 set up.

Does any one have an idea of my problem?

thanks a bunch!
__________________
Sincerely
Mike Kelly
teclance is offline  
Old 12-16-2005, 02:37 PM   #2 (permalink)
jdk
Senior Member
 
jdk's Avatar
Join Date: Jul 2004
Location: Florida
Posts: 1,492
jdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond repute
 



You sure it isn't your server? You want to PM me the link to see if it is slow on my end?
__________________
All offers are valid for 12 hours unless otherwise stated.
jdk is offline  
Old 12-16-2005, 04:43 PM   #3 (permalink)
Senior Member
 
Scott's Avatar
Join Date: Jun 2003
Location: UK
Posts: 3,547
Scott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond repute
 

Member of the Month
February 2005

Are you sure it's not entering a loop?
????: NamePros.com http://www.namepros.com/programming/148667-htaccess-redirection-slow.html
You're redirecting http(or)https://www.domain.com/signup.php to https://www.domain.com/signup.php.

Try this in your .htaccess (and remove the current Redirect you have):

Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^signup.php$ https://www.domain.com/signup.php$1
Last edited by Scott; 12-16-2005 at 04:48 PM.
Scott is offline  
Old 12-18-2005, 01:28 PM THREAD STARTER               #4 (permalink)
NamePros Regular
Join Date: Feb 2004
Posts: 650
teclance is on a distinguished road
 



Originally Posted by Scott
Are you sure it's not entering a loop?
You're redirecting http(or)https://www.domain.com/signup.php to https://www.domain.com/signup.php.

Try this in your .htaccess (and remove the current Redirect you have):

Code:
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^signup.php$ https://www.domain.com/signup.php$1
Hi,

I gave your method a shot and it worked aswell but it still redirects slow. I am confused

ok, I did some test and it appears to be only a couple pages causing the problem.
????: NamePros.com http://www.namepros.com/showthread.php?t=148667

I changed to the redirect to another https:// off the site and it worked perfect so now I am assuming there is a code on the actuall page I am trying to redirect.
__________________
Sincerely
Mike Kelly
teclance is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess expert/url redirection dotcommakers Web Development Wanted 6 10-02-2005 03:00 AM
Using mod_rewrite and a .htaccess to do some redirection... 25 NP$ REWARD mholt Programming 0 09-21-2005 03:15 PM
.htaccess + Domain Parking wistow Programming 15 07-04-2005 09:46 AM
CE7.net - Free phpBB & IPB forums, blogs, hosting & redirection! No banners/popups! ppx Web Hosting Offers 0 05-14-2005 01:49 AM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 11:33 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger