Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

On-the-fly Content-Regeneration!

Dynamic Content-Regeneration, mod_rewrite, RewriteEngine, url rewriting

2:51 am on Nov 12, 2003 (gmt 0)

New User

10+ Year Member

joined:Nov 11, 2003
votes: 0

I had asked some questions about RedirectMatch [webmasterworld.com] because I was trying to statically serve dynamically generated pages, and prematurlly gave up on the RewriteEngine, we had some issues in the past...I negleted to load the module on a windows system. =(

So I took another hack at it and now I found a way to get what I want done.

Sample Code

RewriteEngine on
RewriteCond %{REQUEST_FILENAME}!-s
RewriteRule ^page\.html$ page.cgi [T=application/x-httpd-cgi,L]

1: RewriteCond %{REQUEST_FILENAME}!-s (if requested file is not found)
2: RewriteRule regex path-url [flags]

Url RewriteGuide [httpd.apache.org]
mod_rewrite, RewriteRule [httpd.apache.org]


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members