Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2008, 11:56 AM
conexn conexn is offline
 
Join Date: May 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Hidden Redirect Problem

Hello everybody I have a big problem that I cannot figure out.

I run a site that I have recently moved to a new server, everything is working ok except I keep getting a redirect that removes the www from the address and my users are getting server busy. I have tried contacting the hosting company for help and they have been no help at all. Let me give you an example. If you were to type in: www.mywebpage.com/forums is will take you to: http://mywebpage.com/forums. I have looked threw my config files, .htaccess file (which is almost like greek to me) you name it. Now if you go and put the www back in the address bar it will keep it and work correctly. Somebody please help me... I have been working on this for 3 days.
Reply With Quote
  #2  
Old 02-21-2008, 12:00 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely cause is the .htaccess.
Reply With Quote
  #3  
Old 02-21-2008, 12:45 PM
conexn conexn is offline
 
Join Date: May 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have any ideal how I can fix this?
Reply With Quote
  #4  
Old 02-21-2008, 12:59 PM
GameWizard's Avatar
GameWizard GameWizard is offline
 
Join Date: Apr 2004
Location: Vancouver, BC
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Login to your ftp, in the main directory should be a file called .htaccess. Edit this file in notepad and see if there's any redirects setup. If so correct them to your new server, or simply remove the file altogether.
Reply With Quote
  #5  
Old 02-21-2008, 12:59 PM
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can rename the .htaccess file to something like .htaccessback and see if it is still doing it. If the problem doesn't occur anymore, you can post your .htaccess file here and we can see if we can find the problem.
Reply With Quote
  #6  
Old 02-21-2008, 03:52 PM
conexn conexn is offline
 
Join Date: May 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
suPHP_ConfigPath /home/ftaso0/public_html/forums/index.php

That is a copy of the .htaccess file.

--------------- Added [DATE]1203617721[/DATE] at [TIME]1203617721[/TIME] ---------------

My members are also getting server busy all the time. I can live without the www in the address bar as long as the site works. I figured the www being missing was causing the server busy problem. I do not know if I can post the site but it is ftasolutions.com. I am at the end of my rope, someone please help me before it is put around my neck. My members are leaving for other sites because of this and my hosting company will not do a thing to help. PLEASE help me...
Reply With Quote
  #7  
Old 02-21-2008, 08:26 PM
MoT3rror MoT3rror is offline
 
Join Date: Mar 2007
Posts: 423
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the "Server is too busy message" could be caused by this value being too low.
vBulletin Options -> Server Settings and Optimization Options -> *NIX Server Load Limit

If you are on a shared host, I suggest just leaving this value at 0.

Also you have this turn on.
vBulletin Options -> General Settings -> Add Template Name in HTML Comments
Reply With Quote
  #8  
Old 02-21-2008, 09:26 PM
conexn conexn is offline
 
Join Date: May 2007
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I changed it to 0 and the other setting was already at that, still getting server busy. I called the hosting company and they said it is not on their end. Either they are not telling me the truth or something is still not correct.
Reply With Quote
  #9  
Old 02-22-2008, 12:50 AM
GameWizard's Avatar
GameWizard GameWizard is offline
 
Join Date: Apr 2004
Location: Vancouver, BC
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make a backup copy of the .htaccess file and remove it. Now make sure this is the .htaccess in your public_html/ file directory, where your main index.php file is found.

Other than that, can you not access ANY page on the site, or just the index.php? Is it just PHP files, or do HTML files also not work? Play around and see what could be the root of the problem.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:35 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04264 seconds
  • Memory Usage 2,236KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete