Closed Thread
Results 1 to 5 of 5

Thread: Server Error

  1. #1
    sunjava1194 is offline x10Hosting Member sunjava1194 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    22

    Server Error

    I got
    Server Error


    when visiting my site from google
    "keyword: vubscs" => Result www.vubscs.tk
    Then, I removed www and it works. I want to know why I am getting this error? as my site is indexed on google with www.

    I am a newbie, and dont know much about x10hosting.
    P.S help

  2. #2
    calistoy's Avatar
    calistoy is offline Free Support Volunteer calistoy is just really nice
    Join Date
    Aug 2008
    Location
    USA
    Posts
    5,598

    Re: Server Error

    Could you check your .htaccess file and post it's contents here? Also check the advanced dns zone settings in your cPanel to see if there is a cname listed with www for your domain.
    Last edited by calistoy; 08-26-2011 at 06:26 AM.

  3. #3
    sunjava1194 is offline x10Hosting Member sunjava1194 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    22

    Re: Server Error

    yes in cpanel it is:-
    Name--------------------------------Record
    www.vubscs.tk. IN CNAME vubscs.tk

    and here is the htaccess, i setup redirect when the issue comes. but didnt work
    Code:
    RewriteBase /
    
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.(.*) [NC]
    RewriteRule ^(.*) http://%1/$1 [R=301,L]
    
    RedirectMatch ^/forum/(.*)$ http://vubscs.tk/$1
    
    ErrorDocument 404 /error.php
    
    
    
    Options -MultiViews +FollowSymlinks -Indexes
    
    #
    # If mod_security is enabled, attempt to disable it.
    # - Note, this will work on the majority of hosts but on
    #   MediaTemple, it is known to cause random Internal Server
    #   errors. For MediaTemple, please remove the block below
    #
    <IfModule mod_security.c>
    	# Turn off mod_security filtering.
    	SecFilterEngine Off
    
    	# The below probably isn't needed, but better safe than sorry.
    	SecFilterScanPOST Off
    </IfModule>
    
    #
    # MyBB "search engine friendly" URL rewrites
    # - Note, for these to work with MyBB please make sure you have
    #   the setting enabled in the Admin CP and you have this file
    #   named .htaccess
    #
    <IfModule mod_rewrite.c>
    	RewriteEngine on
    	RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    	RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]
    
    	RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    	RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    	RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    	RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    	RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    	RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    	RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
    
    	RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]
    
    	RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]
    
    	RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]
    
    	RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
    	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    	RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    	RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]
    
    	RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]
    
    	<IfModule mod_env.c>
    		SetEnv SEO_SUPPORT 1
    	</IfModule>
    </IfModule>
    
    #
    # If Apache is compiled with built in mod_deflade/GZIP support
    # then GZIP Javascript, CSS, HTML and XML so they're sent to
    # the client faster.
    #
    <IfModule mod_deflate.c>
    	AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
    </IfModule>
    RewriteCond %{HTTP_HOST} ^vubscs\.tk$ [OR]
    RewriteCond %{HTTP_HOST} ^www\.vubscs\.tk$
    RewriteRule ^forum$ "http\:\/\/vubscs\.tk\/" [R=301,L]

  4. #4
    GtoXic is offline x10 Lieutenant GtoXic is an unknown quantity at this point
    Join Date
    Apr 2010
    Posts
    447

    Re: Server Error

    Hi there, I stuck your .htaccess in a validator and got 20 errors, anything with (152) is what you want to look at.
    line 21:<IfModule mod_security.c>
    line 222) # Turn off mod_security filtering.
    line 23:SecFilterEngine Off
    line 24:
    line 252) # The below probably isn't needed, but better safe than sorry.
    line 26:SecFilterScanPOST Off
    line 36:RewriteEngine on
    line 37152) RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    line 38152) RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]
    line 39:
    line 40152) RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    line 41152) RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    line 42152) RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    line 43152) RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    line 44152) RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    line 45152) RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    line 46152) RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]
    line 47:
    line 48152) RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]
    line 49:
    line 50152) RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]
    line 51:
    line 52152) RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]
    line 53:
    line 54152) RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    line 55152) RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
    line 56152) RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    line 57152) RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&mo nth=$3&day=$4 [L,QSA]
    line 58152) RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]
    line 59:
    line 60152) RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]
    line 61:
    █ x10 Lieutenant
    █ If I have helped, please click the star in the bottom left of my post.

    █ Free Hosting support volunteer 410 posts from Community Advocate (This is NOT live!)


  5. #5
    sunjava1194 is offline x10Hosting Member sunjava1194 is an unknown quantity at this point
    Join Date
    Aug 2011
    Posts
    22

    Re: Server Error

    Well this is nothing, Its just re write rule for mybb forum, I used it with my old host. and when you install mybb. They give you this htaccess if you want to gzip your forum. So I think this is not the problem,

    ---------- Post added at 07:10 PM ---------- Previous post was at 06:58 PM ----------

    Any one here to solve the issue, I am affecting very much by this

Closed Thread

Similar Threads

  1. 500 Internal Server Error in BORU server
    By titoleon29 in forum Free Hosting
    Replies: 0
    Last Post: 08-14-2011, 05:51 AM
  2. 500 Internal Server Error On Stoli Server
    By computergeek5000012 in forum Free Hosting
    Replies: 1
    Last Post: 02-16-2011, 07:07 PM
  3. Replies: 7
    Last Post: 07-28-2010, 01:56 AM
  4. Replies: 11
    Last Post: 06-24-2010, 03:53 PM
  5. Replies: 2
    Last Post: 01-09-2008, 12:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers