mod_rewrite with godaddy hosted site

Discussion in 'Apache' started by seolion, May 31, 2006.

  1. #1
    Hi I am facing an issue with my godaddy hosted site..
    Just tried installing an article script at --http://articles.seolion.com which uses articlems script.. The links are not working because of the mod_rewrite issue

    Godaddy support says its enabled.. I have a custom php.ini file..

    What can be done? Do anybody else have experience with godaddy and mod_rewrite ?
     
    seolion, May 31, 2006 IP
  2. ENVLA

    ENVLA Guest

    Messages:
    10
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I had the same problem, emailed the support, they solved it in 15minutes (lins working)
     
    ENVLA, Jun 25, 2006 IP
  3. user51564

    user51564 Guest

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} !^(TRACE|TRACK|GET|POST|HEAD)$
    RewriteRule .* - [F]

    this should do the trick
     
    user51564, Jun 25, 2006 IP
  4. ENVLA

    ENVLA Guest

    Messages:
    10
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    some details for an alternative way can be found here :

    http://forum.joomla.org/index.php/topic,1094.0.html
     
    ENVLA, Jun 25, 2006 IP
  5. seolion

    seolion Active Member

    Messages:
    1,495
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    90
    #5
    Oops.. thanks for the replies.. But I acted little early.. I cancelled my hosting account with them as I had no clue. Even the support didn't help me much.

    But no loss as such and I got the refund after deducting one months price.

    Thank you again.. Maybe when I think of them again it will be useful.
     
    seolion, Jun 25, 2006 IP
  6. ronaldec7

    ronaldec7 Peon

    Messages:
    89
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Hey that turn off trace script worked.
    Excellant
     
    ronaldec7, May 8, 2007 IP
  7. SomniOne

    SomniOne Well-Known Member

    Messages:
    136
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #7
    The following helped me:

    RewriteBase /
     
    SomniOne, Aug 4, 2007 IP
  8. Venalicium

    Venalicium Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I added the "RewriteBase /" as well and that helped me.


    <IfModule mod_php4.c>
    php_value session.use_only_cookies 1
    php_value session.use_trans_sid 0
    </IfModule>

    <IfModule mod_rewrite.c>
    Options +FollowSymLinks

    RewriteEngine on

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l

    RewriteRule .* index.php [QSA,L]
    </IfModule>

    RewriteBase /
     
    Venalicium, Oct 26, 2007 IP
  9. webmaster_TSU

    webmaster_TSU Peon

    Messages:
    449
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #9
    That worked for me with making Wordpress have a permalink structure. Thank you!
     
    webmaster_TSU, Oct 26, 2007 IP
  10. seolion

    seolion Active Member

    Messages:
    1,495
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    90
    #10
    Maybe that one month account I had with godaddy , I face the stated issue (thread start). I have an account with godaddy now and I dont have any issue now. They had taken my feedbacks when I opted out of the initial account and its really good work by them to make things work.
     
    seolion, Nov 3, 2007 IP
  11. rocoso

    rocoso Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #11
    To enable mod_rewrite on go daddy i did the following

    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /


    then my rewrite rules.

    That worked :)
     
    rocoso, Oct 25, 2008 IP
  12. valiik

    valiik Well-Known Member

    Messages:
    190
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #12
    RewriteBase / worked for me!! thank you so mucho!!
     
    valiik, May 13, 2009 IP
  13. DLE-Support

    DLE-Support Peon

    Messages:
    62
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    RewriteBase / worked for me too

    thank u very much
     
    DLE-Support, Sep 25, 2009 IP
  14. king master

    king master Active Member

    Messages:
    101
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #14
    works great now in godaddy ,thanx
     
    king master, Nov 11, 2009 IP
  15. SpankMarvin

    SpankMarvin Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    I browsed to this site in complete dispair at what I was assuming was a .htaccess issue. This post did it, and has rescued my evening and marriage. Thank you, works like a charm on Godaddy.

    John
     
    SpankMarvin, Nov 18, 2010 IP
  16. Nevis1

    Nevis1 Member

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #16
    Worked for me too! Ta very much
     
    Nevis1, Feb 3, 2011 IP
  17. Zwilla

    Zwilla Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Hi Guys,

    i had the same problem: "Server Error 500" on godaddy hosting.

    I added the lines at the end of an Joomla 1.5.2.2:

    ###################################################

    RewriteCond %{REQUEST_METHOD} !^(TRACE|TRACK|GET|POST|HEAD)$
    RewriteRule .* - [F]

    <IfModule mod_rewrite.c>
    Options +FollowSymLinks

    RewriteEngine on

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l

    RewriteRule .* index.php [QSA,L]
    </IfModule>

    RewriteBase /

    #and it works perfect!!
    ###################################################

    I found an other thing in joomla documentation to test rewrite and i modified by
    my self. The feature is, that I test to redirect to an external website which is
    working, so i use for every path an other website. See here:

    ###################################################

    Options +FollowSymLinks
    Redirect /home/content/09/767453/html/subdomain/SubDomainName/apache-test html http://www.zwilla-research.com
    Redirect /subdomain/SubDomainName/apache-test html http://geely.zwilla-research.com
    Redirect /SubDomainName/apache-test html http://www.zwilla-park.com

    Redirect /apache-test html http://www.tinyca.com

    ###################################################
    And on Godaddy it ist working the last one:
    Redirect /apache-test html http://www.tinyca.com

    And i found out, that on an original Joomla 1.5.2.2 Installation and JooSEF added
    lines, there was missing one line:

    RewriteCond %{REQUEST_FILENAME} !-l

    Thankx for this helping Thread here on digitalpoints.com

    Zwilla
     
    Zwilla, Apr 8, 2011 IP
  18. makeit easy

    makeit easy Active Member

    Messages:
    2,067
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #18
    Try this to move these to the top then let's know if it's working for you


    Options +FollowSymLinks

    RewriteEngine on
    RewriteBase /
     
    makeit easy, Apr 10, 2011 IP