I've a problem with mod_rewrite

Discussion in 'Installation and Updates' started by jck, May 8, 2006.

  1. jck

    jck New Member

    Good Morning,
    i've installed a free version of eSyndaCat, 1.5 version.
    i've created a category but in the public version if i click in one of category i receive not found page.
    mod_rewrite is active on my server and .htaccess is configurated
    i've installed the script in /directory folder
    the address is http://www.staffinformatico.it/directory
    where is the problem?
    my .htaccess is write in this mode_

    # enable mod_rewrite
    RewriteEngine on
    RewriteBase / i try also /directory but not found

    # mod_rewrite rules for categories pages
    RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L]
    RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L]

    # mod_rewrite rules for new links page
    RewriteRule ^new-links.html$ new-links.php [QSA,L]
    RewriteRule ^new-links([0-9]+).html$ new-links.php?page=$1 [QSA,L]

    # mod_rewrite rules for top links page
    RewriteRule ^top-links.html$ top-links.php [QSA,L]
    RewriteRule ^top-links([0-9]+).html$ top-links.php?page=$1 [QSA,L]

    # mod_rewrite rules for popular links page
    RewriteRule ^popular-links.html$ popular-links.php [QSA,L]
    RewriteRule ^popular-links([0-9]+).html$ popular-links.php?page=$1 [QSA,L]

    # mod_rewrite rules for editors links page
    RewriteRule ^editor-links/index.html$ editor-links.php [QSA,L]
    RewriteRule ^editor-links/index([0-9]+).html$ editor-links.php?page=$1 [QSA,L]

    # mod_rewrite rules for view link page
    RewriteRule ^(.*)/(.*)-l([0-9]+).html$ view-link.php?cat=$1&title=$2&id=$3 [QSA,L]

    # mod_rewrite rules for news page
    RewriteRule ^news.html$ news.php [QSA,L]
    RewriteRule ^(.*)-n([0-9]+).html$ news.php?title=$1&id=$2 [QSA,L]
  2. Nick Collins

    Nick Collins Guest

    Hello jck, try to add the following line after "# enable mod_rewrite":
    Code:
    Options +FollowSymLinks

Share This Page