wamp5 Version 1.4.3 & mod_rewrite
Posted by: mikiller (---.0.81.204.dynamic.barak-online.net)
Date: October 05, 2007 06:17PM

can I use mod_rewrite in wamp5 version 1.4.3??
if it's possible, how can i do it? thx


Options: ReplyQuote
Re: wamp5 Version 1.4.3 & mod_rewrite
Posted by: mikiller (---.0.81.204.dynamic.barak-online.net)
Date: October 06, 2007 05:43PM

plz help..

Options: ReplyQuote
Re: wamp5 Version 1.4.3 & mod_rewrite
Posted by: toivo (203.19.130.---)
Date: October 10, 2007 10:34AM

Hi,

I do not know the particular version 1.4.3 but in a later version you can click the WAMP server icon in the System Tray, then Apache modules and see if 'rewrite_module' has been selected.

You can create a .htaccess file in the document root directory of each virtual server. The Apache site has all the information about which directives you can use: [httpd.apache.org].

If your site runs a CMS, it probably has its standard security entries to go to .htaccess. I provide SEF redirects by including a lot of the following types of entries in the .htaccess file:

RewriteRule ^about_us$ index.php?option=com_content&task=view&id=21&Itemid=24 [L]
RewriteRule ^about_us/$ [www.example.com] [R,L]
RewriteRule ^support/register-your-site.html$ [www.example.com] [R,L]

These entries rewrite the URL in the HTTP request sent by the browser to a request that the CMS can interpret and send a response to.

Regards



toivo
Sydney, Australia

Options: ReplyQuote


Sorry, only registered users may post in this forum.