Results 1 to 4 of 4

Thread: help with a .htaccess file

  1. #1
    Join Date
    Jul 2006

    help with a .htaccess file


    i was using this .htaccess file in my old server and worked fine. But as i moved server, its returning a 500 error.

    php_flag mbstring.encoding_translation "On"
    php_flag session.use_trans_sid "On"
    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteBase /
    	RewriteCond %{HTTP_USER_AGENT} !^DoCoMo/
    	RewriteCond %{HTTP_USER_AGENT} !^UP\.Browser/
    	RewriteCond %{HTTP_USER_AGENT} !^KDDI-
    	RewriteCond %{HTTP_USER_AGENT} !^J-PHONE/
    	RewriteCond %{HTTP_USER_AGENT} !^Vodafone/
    	RewriteCond %{HTTP_USER_AGENT} !^SoftBank/
    	RewriteCond %{HTTP_USER_AGENT} !^emobile/
    	RewriteRule ^(.*)$ http://www.vip.net/$1 [R,L]
    Is there any alternative code for this? my new server is not accepting it for some reason.


  2. #2
    Join Date
    Jul 2006
    Any answer please?

  3. #3
    What are the exact details of the 500 error?
    Different servers have different settings as far as allowing/not allowing rewrites, etc.

  4. #4
    Join Date
    Jul 2006
    There is no details, only this message

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, root@page.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    and the server is so sh!tty that there is no error log available.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center