IIS and PHP how to redirect different requests to one file

This is a discussion on IIS and PHP how to redirect different requests to one file within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi! i have an IIS6 with PHP and would like to redirect all requests to files (not existing) like: /documents/...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2004
tri10o@siat.pl
 
Posts: n/a
Default IIS and PHP how to redirect different requests to one file

Hi!

i have an IIS6 with PHP and would like to redirect all requests to
files
(not existing) like:
/documents/2004/11/04/welcome.html
/documents/friends/girl.html

to one file
/documents/index.php
in which, some variable would hold real request path, to let me
display proper information.

As I'm writing this post, I've found that I could specify my own
error404
handling page to 'documents/index.php' but maybe there is some better
solution?

thanks in advance
Jack

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0