osCmax v2.5 User Manual
Results 1 to 2 of 2

need help with . htaccess files

This is a discussion on need help with . htaccess files within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hello, i really need help from someone who knows to deal with htaccess files. for some reason my website stop ...

      
  1. #1
    Lurker
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0


    Question need help with . htaccess files

    Hello, i really need help from someone who knows to deal with htaccess files.
    for some reason my website stop working and shows 500 error. after a little bit research i realize its might be . htaccess file. i erase it from the server and i got my website back but no images and look really ugly.

    i also realize that after few hours my server creating new . htaccess file and then i loose my website again to this 500 error.

    i think that i need to edit this .htaccess file the right way and use the right commands,
    the only thing i don't know what to put inside the code. here i need your help.

    i also realize that i have manny .htaccess files on the server in manny of my website folders.

    Please help i really don't know what to do.

    Thanks!
    Tal.

    PS: Website host with godaddy.

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Post Re: need help with . htaccess files

    The standard file is well documented, remove the # on lines that you wish to activate:
    Code:
    # $Id: .htaccess  1 2003/06/12 10:53:20 Michael Sasek$
    #
    # This is used with Apache WebServers
    #
    # For this to work, you must include the parameter 'Options' to
    # the AllowOverride configuration
    #
    # Example:
    #
    # <Directory "/usr/local/apache/htdocs">
    #   AllowOverride Options
    # </Directory>
    #
    # 'All' with also work. (This configuration is in the
    # apache/conf/httpd.conf file)
    
    # The following makes adjustments to the SSL protocol for Internet
    # Explorer browsers
    
    # BOF: Mod RC2A
    #<IfModule mod_setenvif.c>
    #  <IfDefine SSL>
    #    SetEnvIf User-Agent ".*MSIE.*" \
    #             nokeepalive ssl-unclean-shutdown \
    #             downgrade-1.0 force-response-1.0
    #  </IfDefine>
    #</IfModule>
    # EOF: Mod RC2A
    
    # If Search Engine Friendly URLs do not work, try enabling the
    # following Apache configuration parameter
    
    # AcceptPathInfo On
    
    # Fix certain PHP values
    # (commented out by default to prevent errors occuring on certain
    # servers)
    
    #<IfModule mod_php4.c>
    #  php_value session.use_trans_sid 0
    #  php_value register_globals 1
    #</IfModule>
    # BOF: MOD - Ultimate SEO URLs
    ## SEO Url's .htaccess file
    ## If you want to use the Apache Mod-Rewrite method for SEO URL's
    ## NOTE: This requires that you are on an apache web server with mod_rewrite enabled.
    
    #<IfModule mod_rewrite.c>
    #Options +FollowSymLinks
    #RewriteEngine On
    
    # Change "catalog" to your catalog directory name:
    #RewriteBase /catalog/
    ## If installed to the base home/root directory, uncomment the below code only:
    #RewriteBase /
    
    #RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
    #RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
    #</ifModule>
    # EOF: MOD - Ultimate SEO URLs
    I should imagine that GoDaddy can advise you on why you are experiencing issues.
    Last edited by ridexbuilder; 01-25-2011 at 10:52 PM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. Ban IP htaccess
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-22-2008, 04:00 AM
  2. Ban IP htaccess
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-21-2008, 01:00 PM
  3. .htaccess question
    By cupido in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 06-25-2004, 05:09 PM
  4. htaccess
    By nisse in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-12-2003, 03:35 PM

Bookmarks

Posting Permissions

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