andz Posted August 29, 2007 Share Posted August 29, 2007 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / rewriterule ^article/(.*).html$ /read.php?articleid=$1 [L] </IfModule> Using mod_rewrite will transform my url into static one? In the above code, the article/ becomes part of the physical url. http://localhost.com/article/ how could this be when the RewriteBase must be http://localhost.com/ Quote Link to comment https://forums.phpfreaks.com/topic/67185-need-help-on-static-url/ Share on other sites More sharing options...
watthehell Posted August 29, 2007 Share Posted August 29, 2007 what is this ??? what kind of code is this he he he .... it looks like c to me ;D Quote Link to comment https://forums.phpfreaks.com/topic/67185-need-help-on-static-url/#findComment-337046 Share on other sites More sharing options...
matthewhaworth Posted August 29, 2007 Share Posted August 29, 2007 C? what C have you been reading? lol. This is the wrong forum chuck. There's a child/sub forum in apache dedicated to what you're asking. Quote Link to comment https://forums.phpfreaks.com/topic/67185-need-help-on-static-url/#findComment-337054 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.