IIS Rewrite or Mod_Rewrite

This is a discussion on IIS Rewrite or Mod_Rewrite within the PHP General forums, part of the PHP Programming Forums category; Hi, I have created a website which is using the iis rewrite module to write the following: index.php?tn_id=...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-31-2006
Kevin
 
Posts: n/a
Default IIS Rewrite or Mod_Rewrite

Hi,

I have created a website which is using the iis rewrite module to write
the following:

index.php?tn_id=5&ln_id=4 to something like

/contact/directions.html and this works fine

however I have a link at the bottom which needs to pass another variable
through the query string before it would simply be:

index.php?tn_id=5&ln_id=4&ts=75

however if i run

/contact/directions.html?ts=75 it doesn't work and comes up with a 404
page not found error.

Is there anyway around this?

Thanks

Kevin
Reply With Quote
  #2 (permalink)  
Old 10-31-2006
Jochem Maas
 
Posts: n/a
Default Re: [PHP] IIS Rewrite or Mod_Rewrite

Kevin wrote:
> Hi,
>
> I have created a website which is using the iis rewrite module to write
> the following:
>
> index.php?tn_id=5&ln_id=4 to something like
>
> /contact/directions.html and this works fine
>
> however I have a link at the bottom which needs to pass another variable
> through the query string before it would simply be:
>
> index.php?tn_id=5&ln_id=4&ts=75
>
> however if i run
>
> /contact/directions.html?ts=75 it doesn't work and comes up with a 404
> page not found error.
>
> Is there anyway around this?


yes Apache, are you allowed/able to use apache?

>
> Thanks
>
> Kevin
>

Reply With Quote
  #3 (permalink)  
Old 10-31-2006
Kevin
 
Posts: n/a
Default Re: [PHP] IIS Rewrite or Mod_Rewrite

Jochem Maas wrote:
> Kevin wrote:
>
>> Hi,
>>
>> I have created a website which is using the iis rewrite module to write
>> the following:
>>
>> index.php?tn_id=5&ln_id=4 to something like
>>
>> /contact/directions.html and this works fine
>>
>> however I have a link at the bottom which needs to pass another variable
>> through the query string before it would simply be:
>>
>> index.php?tn_id=5&ln_id=4&ts=75
>>
>> however if i run
>>
>> /contact/directions.html?ts=75 it doesn't work and comes up with a 404
>> page not found error.
>>
>> Is there anyway around this?
>>

>
> yes Apache, are you allowed/able to use apache?
>
>
>> Thanks
>>
>> Kevin
>>
>>

no only allowed to use windows server
Reply With Quote
  #4 (permalink)  
Old 10-31-2006
Jochem Maas
 
Posts: n/a
Default [ACIDIC HUMOR] Re: [PHP] IIS Rewrite or Mod_Rewrite

Kevin wrote:
> Jochem Maas wrote:
>> Kevin wrote:
>>
>>> Hi,
>>>
>>> I have created a website which is using the iis rewrite module to write
>>> the following:
>>>
>>> index.php?tn_id=5&ln_id=4 to something like
>>>
>>> /contact/directions.html and this works fine
>>>
>>> however I have a link at the bottom which needs to pass another variable
>>> through the query string before it would simply be:
>>>
>>> index.php?tn_id=5&ln_id=4&ts=75
>>>
>>> however if i run
>>>
>>> /contact/directions.html?ts=75 it doesn't work and comes up with a 404
>>> page not found error.
>>>
>>> Is there anyway around this?
>>>

>>
>> yes Apache, are you allowed/able to use apache?
>>
>>
>>> Thanks
>>>
>>> Kevin
>>>
>>>

> no only allowed to use windows server


ah and I see your company lives off ill-managed/spent NHS-pork - i.e. the latest
bullshit multi-billion pound NHS IT overhaul with a zero net gain in efficiency or insight
for end users (you know, nurses, doctors, people actually practice medicine) but
plenty of new managerial posts to supervise all the fantastic (read: over budget and
behind schedule) new IT projects.

governments should run their core IT infrastructures on proprietary, buggy (and overly
expensive) software (especially not when said enterprise has been found guilt of
anti-trust violations in multiple regions)

given that I know kust enough about IIS to stay away from it I can only
recommend that you get yourself a better* job

* better as in less morally abhorent, rather better as in more money - although if
you can achieve both all the better for you :-)

>

Reply With Quote
  #5 (permalink)  
Old 10-31-2006
Stut
 
Posts: n/a
Default Re: [PHP] [ACIDIC HUMOR] Re: [PHP] IIS Rewrite or Mod_Rewrite

Jochem Maas wrote:
> Kevin wrote:
>
>> Jochem Maas wrote:
>>
>>> yes Apache, are you allowed/able to use apache?
>>>

>> no only allowed to use windows server
>>

>
> ah and I see your company lives off ill-managed/spent NHS-pork - i.e. the latest
> bullshit multi-billion pound NHS IT overhaul with a zero net gain in efficiency or insight
> for end users (you know, nurses, doctors, people actually practice medicine) but
> plenty of new managerial posts to supervise all the fantastic (read: over budget and
> behind schedule) new IT projects.
>
> governments should run their core IT infrastructures on proprietary, buggy (and overly
> expensive) software (especially not when said enterprise has been found guilt of
> anti-trust violations in multiple regions)
>
> given that I know kust enough about IIS to stay away from it I can only
> recommend that you get yourself a better* job
>
> * better as in less morally abhorent, rather better as in more money - although if
> you can achieve both all the better for you :-)
>


Plus, being forced to use Windows is not a reason not to use Apache!!

-Stut
Reply With Quote
Reply


Thread Tools
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

vB 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:26 PM.


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