| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Feb 2004
Posts: 650
![]() | .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 |
| |
| | #3 (permalink) |
| Senior Member Join Date: Jun 2003 Location: UK
Posts: 3,547
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 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.
|
| |
| | THREAD STARTER #4 (permalink) | ||||
| NamePros Regular Join Date: Feb 2004
Posts: 650
![]() |
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 | ||||
| |
![]() |
| 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 |