vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   .htaccess for windows/iis (https://vborg.vbsupport.ru/showthread.php?t=136067)

bo0oost 01-10-2007 03:40 AM

.htaccess for windows/iis
 
I want to re-write the URLs for my members profile pages.

Is there something I can modify that is equivalent to htaccess for windows/iis/php?

Is there another way to do this?

I have PHP 5.5.5 running on Windows 2000 server and MySQL

thanks!

AWS 01-10-2007 01:58 PM

Isapi Mod Rewrite is what you want. You can get it at http://www.helicontech.com/. The free version is all you'll need. I bought a license to full version so I could use mod_proxy and per site rules. With the free version rules for all sites go into a global .ini file.

bo0oost 01-11-2007 03:15 AM

Quote:

Originally Posted by AWS (Post 1155485)
Isapi Mod Rewrite is what you want. You can get it at http://www.helicontech.com/. The free version is all you'll need. I bought a license to full version so I could use mod_proxy and per site rules. With the free version rules for all sites go into a global .ini file.

AWESOME!!! trying it out now :)

ok, installed and configured as such:

RewriteRule /f(\d+)/s /forums/forumdisplay.php\?forumid=$1 [L]
RewriteRule /t(\d+)/s\.html /forums/showthread.php\?threadid=$1 [L]
RewriteRule /s /forums/index.php
RewriteRule /f(\d+)/forumdisplay.php\?=s&forumid=(\d+) /index.php [L]
RewriteRule /t\d+/(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /t\d+/(attachments.php.*) /forums/$1 [L]
RewriteRule /f\d+/(showthread.php.*) /forums/$1 [L]
RewriteRule /f\d+/(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /f\d+/(attachments.php.*) /forums/$1 [L]
RewriteRule /f\d+/(index.php.*) /forums/$1 [L]

RewriteRule /forumdisplay.php\?=s&forumid=(\d+) /index.php
RewriteRule /(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /(attachments.php.*) /forums/$1 [L]
RewriteRule /(showthread.php.*) /forums/$1 [L]
RewriteRule /(forumdisplay.php.*) /forums/$1 [L]
RewriteRule /(attachments.php.*) /forums/$1 [L]
RewriteRule /(newthread.php.*) /forums/$1 [L]
RewriteRule /(newreply.php.*) /forums/$1 [L]
RewriteRule /(memberlist.php.*) /forums/$1 [L]
RewriteRule /(search.php.*) /forums/$1 [L]
RewriteRule /f(\d+)\.html /forums/forumdisplay.php\?forumid=$1 [L]
RewriteRule /t(\d+)\.html /forums/showthread.php\?threadid=$1 [L]
RewriteRule /forum.html /forums/index.php [L]

RewriteRule /archive.html /archive.php [L]


RewriteRule /t(\d+)--(\d+)\.html$ /forums/showthread.php\?threadid=$1&pagenumber=$3 [L]
RewriteRule /t(\d+)-(\d+)-(\d+)\.html$ /forums/showthread.php\?threadid=$1&pagenumber=$3 [L]
RewriteRule /f(\d+)-(\d+)\.html$ /forums/forumdisplay.php\?forumid=$1&daysprune=1000&sortor der=&sortfield=lastpost&perpag e=25&pagenumber=$2 [L]

RewriteRule /forums/t(\d+)-(\d+)&pagenumber=(\d+) /forums/showthread.php\?threadid=$1&pagenumber=$3 [L]
RewriteRule /forums/f(\d+)&pagenumber=(\d+) /forums/forumdisplay.php\?forumid=$1&pagenumber=$2 [L]


RewriteRule /forums/t(\d+)-(\d+)--(\w*)-&pagenumber=(\d+) /forums/showthread.php\?threadid=$1&highlight=$3&pagenumbe r=$4 [L]

But it's not doing anything at all??

Anyone know ? Thanks!


All times are GMT. The time now is 02:25 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01049 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete