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/ 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 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. 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
Archived
This topic is now archived and is closed to further replies.