for what you are trying to do, you should use an
alias, not
mod_rewrite.
create a new text file called
PaulCarpenter.conf. Save this file in this directory:
C:\wamp\Apache2\conf\aliasEnter this text in the PaulCarpenter.conf file:
Redirect /PaulCarpenter [www.your_website.com]now open you
httpd.conf file, and find (it is at the very end of the file):
Include "c:/wamp/apache2/conf/alias/sqlitemanager.conf"Add below that:
Include "c:/wamp/apache2/conf/alias/PaulCarpenter.conf"Now save the file and restart apache for the new settings to take effect. now, if you access:
http://www.your_website.com/PaulCarpenterit will now take you to:
http://www.your_website.com/PaulCarpenter.phpPlease be aware that windows is not case specific, so if you surf to:
http://www.your_website.com/paulcarpenterit will work because windows does not worry about case. however, if you try to access the same url and your site was hosted on a linux server, it would not work because linux is case specific. for example, linux would consider PaulCarpenter.php and paulcarpenter.php to be two totally different files, because the case matters, where windows would consider both files the same since it is not case specific.
Post Edited (05-31-06 20:33)
CyberSpatium----------------------WAMP Forum Admin
Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.