Printer Friendly Version Print this thread
Email this thread to a friend eMail this thread to a friend
Featured Web Site Template

Hundreds More at Free Site Templates.com!

Web Site Partners
Sponsored Links
Jet City Software
 
Whos Here ?
There are 0 guests and 1 members in the forums right now.
Reflects user activity within the last 5 minutes
Moderator(s): Prowler, jcokos
Member Message

246813579
Joined: Jan 06, 2007
# Posts: 2

View the profile for 246813579 Send 246813579 a private message

Posted: 2007-Jan-06 19:40
Edit Message Delete Message Reply to this message

Hi,

I wrote myself a CMS in php with .htaccess mod_rewrite

[code]
AddHandler x-httpd-php5 .php
RewriteEngine on
RewriteRule ^(.*).html$ index.php?site=$1.html
ErrorDocument 404 /error.html
DirectoryIndex index.html index.htm index.php
[code]

Now i want my CMS to run on ISS. Can somebody translate these 5 lines to ISAPI_Rewrite?

The only thing I want ist that the URI www.mydomain.com/example.html calls internal www.mydomain.com/index.php?site=example.html

Thanx for your support

Mic




Dinkar
Staff
Joined: Aug 12, 2001
# Posts: 4391

View the profile for Dinkar Send Dinkar a private message

Posted: 2007-Jan-07 08:41
Edit Message Delete Message Reply to this message

Sorry, I can't help you with this.

But imo, you should NOT run php on windows box.



Code: [copy]




IMO, you shouldn't pass .html to index.php. What's the point of passing .html and then filtering it out using the php code?



246813579
Joined: Jan 06, 2007
# Posts: 2

View the profile for 246813579 Send 246813579 a private message

Posted: 2007-Jan-07 13:49
Edit Message Delete Message Reply to this message

It's not important wheter I filter the .html or not. It's just to generate the pages dynamicly for example www.mydomain.ch/example.html looks like a static page for search engines even though it doesn't exist physicaly on the server.

But do you happen to know an other forum to that topic?

Thanks for your reply.

Mic



Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1832

View the profile for Prowler Send Prowler a private message

Posted: 2007-Jan-09 08:41
Edit Message Delete Message Reply to this message

You can take a look at this document for ISAPI_Rewrite directives here:
[link]




You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
  1. You have not yet logged in, or registered properly as a member
  2. You are a member, but no longer have posting rights.
  3. This is a private forum, for which you do not have permissions.

If you are a recent member, it's possible that you simply have not yet confirmed your account. Please check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions contained within.

If you cannot find this message, click here to Re-Send it.

If you are still experiencing problem, please read the Login Assistance Article for some advice on what may be causing your login not to work properly.

Switch to Advanced Editor and ... Create a New Topic or Reply to this Thread

New posts Forum is locked
© 1995  ·  iWeb, Inc  ·  DBA JimWorld Productions