What's going on with my .htaccess??

Discussion in 'Site & Server Administration' started by taktikz, Nov 1, 2008.

  1. #1
    I've been trying to upgrade to a newer version of Scripteen Image Hosting Script, but ever since I tried, my site has been giving me Internal Server Error 500...
    Here's my site: www.IMG*Lab.c0m (remove * and replace 0 for o)

    Any idea what could fix this problem? (already tried re-installing)
     
    taktikz, Nov 1, 2008 IP
  2. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Can you paste your error log (or the most recent lines)?

    Jay
     
    jayshah, Nov 2, 2008 IP
  3. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #3
    Here's the log... I currently have 3 sites under this host...

    [Sun Nov 02 21:26:31 2008] [error] [client 72.91.109.254] File does not exist: /home/mujeresd/public_html/404.shtml
    [Sun Nov 02 21:26:31 2008] [error] [client 72.91.109.254] File does not exist: /home/mujeresd/public_html/favicon.ico
    [Sun Nov 02 21:26:28 2008] [error] [client 72.91.109.254] File does not exist: /home/mujeresd/public_html/404.shtml
    [Sun Nov 02 21:26:28 2008] [error] [client 72.91.109.254] File does not exist: /home/mujeresd/public_html/favicon.ico
    [Sun Nov 02 21:09:39 2008] [alert] [client 201.163.76.135] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.namepros.com/design-contests/524723-30-logo-contest.html
    [Sun Nov 02 21:09:39 2008] [alert] [client 201.163.76.135] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.namepros.com/design-contests/524723-30-logo-contest.html
    [Sun Nov 02 19:45:29 2008] [alert] [client 66.249.66.36] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 19:45:29 2008] [alert] [client 66.249.66.36] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 19:44:45 2008] [alert] [client 91.143.219.92] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 19:44:45 2008] [alert] [client 91.143.219.92] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 19:44:42 2008] [alert] [client 91.143.219.92] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 19:44:42 2008] [alert] [client 91.143.219.92] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 19:44:41 2008] [alert] [client 91.143.219.92] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 19:44:41 2008] [alert] [client 91.143.219.92] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
    [Sun Nov 02 17:53:00 2008] [alert] [client 78.53.76.238] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.website.com
    [Sun Nov 02 17:53:00 2008] [alert] [client 78.53.76.238] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.website.com
    [Sun Nov 02 17:42:28 2008] [error] [client 200.1.171.138] File does not exist: /home/mujeresd/public_html/404.shtml, referer: http://mujeresdivina.com/
    [Sun Nov 02 17:42:28 2008] [error] [client 200.1.171.138] File does not exist: /home/mujeresd/public_html/Wordpress/wp-content/uploads, referer: http://mujeresdivina.com/
    [Sun Nov 02 17:42:27 2008] [error] [client 200.1.171.138] File does not exist: /home/mujeresd/public_html/404.shtml, referer: http://mujeresdivina.com/
    [Sun Nov 02 17:42:27 2008] [error] [client 200.1.171.138] File does not exist: /home/mujeresd/public_html/Wordpress/wp-content/uploads, referer: http://mujeresdivina.com/
    [Sun Nov 02 17:42:27 2008] [error] [client 200.1.171.138] File does not exist: /home/mujeresd/public_html/404.shtml, referer: http://mujeresdivina.com/
    [Sun Nov 02 17:42:27 2008] [error] [client 200.1.171.138] File does not exist: /home/mujeresd/public_html/Wordpress/wp-content/uploads, referer: http://mujeresdivina.com/
    [Sun Nov 02 17:10:34 2008] [alert] [client 88.114.228.167] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.website.com
    [Sun Nov 02 17:10:34 2008] [alert] [client 88.114.228.167] /home/mujeresd/public_html/imglab.com/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://www.website.com
     
    taktikz, Nov 2, 2008 IP
  4. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #4
    Your host may not support you changing the PHP flags in your .htaccess file. Put a # before every line that begins with php_ and that should fix your problem.

    Jay
     
    jayshah, Nov 2, 2008 IP
  5. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #5
    Only one line :
    #php_value allow_url_fopen On

    Is that what you mean?
     
    taktikz, Nov 5, 2008 IP
  6. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #6
    Yes. Did it work?
     
    jayshah, Nov 6, 2008 IP
  7. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #7
    That didn't work.... I get the same error.... It's been almost 2 weeks with this same issue...
     
    taktikz, Nov 6, 2008 IP
  8. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #8
    Please paste your full .htaccess file.
     
    jayshah, Nov 7, 2008 IP
  9. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #9
    Here's my .htaccess file

    <FilesMatch "\.(html|htm|php|js|css)$">
    FileETag None
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
    </FilesMatch>

    RewriteEngine On

    Options +FollowSymlinks
    RewriteRule view-(.*) view.php?filename=$1

    # php_value allow_url_fopen On
     
    taktikz, Nov 7, 2008 IP
  10. root1987

    root1987 Peon

    Messages:
    33
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    chmod 755 your htaccess file
     
    root1987, Nov 7, 2008 IP
  11. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #11

    Just did this, and still the same error....
     
    taktikz, Nov 7, 2008 IP
  12. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #12
    Backup that one, and replace it with this:
    
    RewriteEngine On
    Options +FollowSymlinks
    RewriteRule view-(.*) view.php?filename=$1
    Code (markup):
    Might work, might not ;)
     
    jayshah, Nov 8, 2008 IP
  13. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #13
    Didn't work :(

    WTF is going on? Not even my host or the script creator know whats going no...
     
    taktikz, Nov 8, 2008 IP
  14. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #14
    Sounds like you don't have Mod rewrite installed. Clear your .htaccess file and try again.

    Jay
     
    jayshah, Nov 8, 2008 IP
  15. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #15
    How do you clear the .htaccess file?
     
    taktikz, Nov 8, 2008 IP
  16. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #16
    Delete everything in it, keep your backup though.
     
    jayshah, Nov 9, 2008 IP
  17. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #17
    Once I clear it, what am I supposed to do ? :confused:
     
    taktikz, Nov 9, 2008 IP
  18. jayshah

    jayshah Peon

    Messages:
    1,126
    Likes Received:
    68
    Best Answers:
    1
    Trophy Points:
    0
    #18
    See if the pages load as normal?
     
    jayshah, Nov 9, 2008 IP
  19. taktikz

    taktikz Active Member

    Messages:
    692
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #19
    Same exact error....
     
    taktikz, Nov 9, 2008 IP