Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: windows 2003 use ISAPI_Rewrite  (Read 5439 times)

0 Members and 1 Guest are viewing this topic.

kalvin

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
windows 2003 use ISAPI_Rewrite
« on: April 04, 2007, 03:27:59 pm »

windows 2003 can use ISAPI_Rewrite change urls,but i don't know how to set httpd.ini,Do you know?

Windows 2003可以使用ISAPI_Rewrite达到伪静态的功能,但是我不知道怎么设置httpd.ini,请大家帮助写一下规则,谢谢
« Last Edit: April 04, 2007, 08:35:48 pm by GauGau »
Logged

kalvin

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: windows 2003 use ISAPI_Rewrite
« Reply #1 on: April 04, 2007, 05:18:17 pm »

i have find it

###cpg
RewriteRule ^(.*)/index-([0-9]+)\.html$ $1/index\.php\?cat=$2
RewriteRule ^(.*)/index-([0-9]+)-page-([0-9]+)\.html$ $1/index\.php\?cat=$2&page=$3
RewriteRule ^(.*)/thumbnails-([a-z0-9]+)-([\-]?[0-9]+)\.html$ $1/thumbnails\.php\?album=$2&cat=$3
RewriteRule ^(.*)/thumbnails-([a-z0-9]+)-page-([0-9]+)\.html$ $1/thumbnails\.php\?album=$2&page=$3
RewriteRule ^(.*)/thumbnails-([a-z0-9]+)-([\-]?[0-9]+)-page-([0-9]+)\.html$ $1/thumbnails\.php\?album=$2&cat=$3&page=$4
RewriteRule ^(.*)/thumbnails-([0-9a-z]+)\.html$ $1/thumbnails\.php\?album=$2
RewriteRule ^(.*)/thumbnails-search-(.+)\.html$ $1/thumbnails\.php\?album=search&search=$2
RewriteRule ^(.*)/displayimage-([a-z0-9]+)-([\-]?[0-9]+)-([\-]?[0-9]+)\.html$ $1/displayimage\.php\?album=$2&cat=$3&pos=$4
RewriteRule ^(.*)/displayimage-([0-9]+)\.html$ $1/displayimage\.php\?pos=-$2
RewriteRule ^(.*)/displayimage-([a-z0-9]+)-([\-]?[0-9]+)\.html$ $1/displayimage\.php\?album=$2&pos=$3
RewriteRule ^(.*)/slideshow-([0-9]+)-([\-]?[0-9]+)-([0-9]+)\.html$ $1/displayimage\.php\?album=$2&pid=$3&slideshow=$4
RewriteRule ^(.*)/slideshow-([a-z]+)-([\-]?[0-9]+)-([0-9]+)-([0-9]+)\.html$ $1/displayimage\.php\?album=$2&cat=$3&pid=$4&slideshow=$5




demo: http://www.swmn.cn/
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.