sorry to all!My English is poor,I dont know if anybody can understand me,but i hope it will help other people.
I have resolved the story and category problem. maybe about the file .htaccess
I got beta 5 ,RH Linux 9, apache 2.0.46
like others ,the /category/1/ return 404 eeror
I find the file .htaccess in beta 5 does not work ,so I copy it into the end of file httpd.conf , And "RewriteBase /" does not work either.
so i modify them like the following text
RewriteEngine On
Options +FollowSymlinks
Options Indexes FollowSymLinks
#RewriteBase /
RewriteRule ^/story/([0-9]+)/?$ /story.php?id=$1 [L]
RewriteRule ^/category/([0-9]+)/?$ /index.php?category=$1 [L]
RewriteRule ^/category/([0-9]+)/digg/?$ /shakeit.php?category=$2 [L]
RewriteRule ^/story/([0-9]+)/editcomment/([0-9]+)?$ /edit.php?id=$1&commentid=$2
RewriteRule ^/story/([0-9]+)/edit/?$ /editlink.php?id=$1
RewriteRule ^/story/([0-9]+)/modify/([a-z]+)/?$ /linkadmin.php?id=$1&action=$2
RewriteRule ^/user/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ /user.php?login=$1&view=$2
RewriteRule ^/user/([a-zA-Z0-9-]+)/?$ /user.php?login=$1
RewriteRule ^/search/([a-zA-Z0-9-]+)/?$ /index.php?search=$1
RewriteRule ^/login/?$ /login.php
RewriteRule ^/login/([a-zA-Z0-9-]+)/?$ /login.php?return=$1
RewriteRule ^/login/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ /login.php?return=$1/$2
RewriteRule ^/register/?$ /register.php
RewriteRule ^/user/?$ /user.php
RewriteRule ^/topusers/?$ /topusers.php
RewriteRule ^/topstories/?$ /topstories.php
RewriteRule ^/about/([a-zA-Z0-9-]+)/?$ /faq-$1.php
RewriteRule ^/shakeit/?$ /shakeit.php
RewriteRule ^/submit/?$ /submit.php
RewriteRule ^/bugreport/?$ http://www.pligg.com/forum/forumdisplay.php?f=13
RewriteRule ^/rss2/?$ /rss2.php
RewriteRule ^/rss2/([a-zA-Z0-9-]+)/?$ /rss2.php?status=$1
RewriteRule ^/trackback/([0-9]+)/?$ /trackback.php?id=$1
RewriteRule ^/profile/?$ /profile.php
RewriteRule ^/logout/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ /login.php?op=logout&return=$1/$2
and now it works!
hope it will help others.





Linear Mode




