.htaccess problem?

Discussion in 'Site & Server Administration' started by Jboo, Oct 19, 2007.

  1. #1
    Hi,

    I seem to have a problem on my site with any pages that appear below a url folder called "myarticles" and one called "category". I'm guessing it must be a .htaccess error because whenever I try and view a page that falls under either of these "folders" the url in the browser appears correct but the actual page shown is a copy of the index.

    Could anyone point out whether there is in fact a problem with my .htaccess file as i'm a bit clueless about it unfortunately!

    Thanks in advance for any help.

    # -FrontPage-
      
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
      
    <Limit GET POST> 
    order deny,allow 
    deny from all 
    allow from all 
    </Limit> 
    <Limit PUT DELETE> 
    order deny,allow 
    deny from all 
    </Limit> 
    
    
    RewriteEngine On 
    
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST}  !^www\. [NC]
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1  [R,L]
      
    RewriteRule ^profile\/([^\/]+)/([0-9]+)     publicprofile.php?name=$1&id=$2     
    RewriteRule ^Category\/[^\/]+/([0-9]+)      index.php?catid=$1&mode=category    
    RewriteRule ^Article/[^\/]+/([0-9]+)/?(.*)  article.php?id=$1&act=$2            
    RewriteRule ^rss/[^\/]+/([0-9]+)            rssarticle.php?id=$1                
    RewriteRule ^myarticles/(.*)$               index.php?mode=myarticles 
    
    RewriteRule ^(.*)topauthorslist/	  topauthors.php?orderby=$1&ordertype=$2&namelike=$3&page=$4
    RewriteRule ^(.*)popularlist/	      populararticles.php?page=$2
    RewriteRule ^(.*)searchresult/	      indexser.php?page=$2
    Code (markup):
     
    Jboo, Oct 19, 2007 IP