Results 1 to 4 of 4
  1. #1

    Rewrite rule in .htaccess file takes too much process

    I have installed a forum named “WWWThreads” this is static forum . and its has rewrite rule in .htaccess file

    But I am getting 500 error to run this static version . This WWWThreads can also be used changing to dynamic url version option in admin panel and removing rewrite rule in .htaccess file and I see dynamic url version is working good ..

    But I see many people is using this static version and this forum is working good with no error .

    my hosting provider told me that you site is take to much process .We have a limit of 60 cpu seconds within a 3 minute window for any process to run, as well as a 20% limit that any process can use at any given time.

    After that I have tried by others static url scripts which has rewrite rule in .htaccess this also getting 500 error . So what does it mean all static site is taking to much process .

    Please Help any Idea ???

  2. #2
    What command do you added to .htaccess?
    Website Hosting by Rackset
    Professional, Affordable, Reliable

    Web Hosting Provider

  3. #3
    Join Date
    Mar 2004
    Odessa, Ukraine
    Show your .htaccess

  4. #4
    RewriteEngine on
    RewriteCond %{HTTP_HOST} www\.example\.info
    RewriteRule ^(.*)$1 [P]
    RewriteRule ^f([0-9]+)(.*).html$ view_forum.php?id=$1 [L]
    RewriteRule ^t([0-9]+)(.*).html$ view_topic.php?id=$1 [L]
    RewriteRule ^p([0-9]+)(.*).html$ view_topic.php?pid=$1 [L]
    RewriteRule ^l([0-9]+)(.*).html$ view_poll.php?pid=$1 [L]
    ####### extra
    RewriteRule ^(.*)-(.*)-(.*)-(.*)-(.*)-(.*)-(.*).html$ $1.php?$2=$3&$4=$5&$6=$7 [L]
    RewriteRule ^(.*)-(.*)-(.*)-(.*)-(.*).html$ $1.php?$2=$3&$4=$5 [L]
    RewriteRule ^(.*)-(.*)-(.*).html$ $1.php?$2=$3 [L]
    RewriteRule ^(.*).html$ $1.php [L]
    RewriteRule ^(.*).rss$ extern.php?action=$1&type=rss [L]
    RewriteRule ^blabla.html$ index.php [L]

Posting Permissions

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