
Check that .htaccess directives are allowed to override apache's httpd.conf settings. Specifically, look up the directive "AllowOverride" as pertains to your document root directory and set it to "All". Restart apache and try again. On 14 December 2010 01:43, jamo njoroge <patjayke@gmail.com> wrote:
Thanks Steve, The module is setup ok as i have a rule the forces www.mydomain.cominstead of mydomain.com and it works fine but for some reason the rule you gave me does not work.
On Tue, Dec 14, 2010 at 7:00 AM, Steve Obbayi <steve@sobbayi.com> wrote:
RewriteEngine On
RewriteRule ^([a-z0-9\-]+)/([a-zA-Z0-9\-]+)$ index.php?category=$1&mykey=$2
If your module is actually set up okay the rule above should work for your link
-- Steve Obbayi Software Developer http://sobbayi.com
----- "jamo njoroge" <patjayke@gmail.com> wrote:
Hi skunks, i have been struggling on how to create a rewrite rule for this link on the htaccess file on my root folder anyone out there has a clue? Ive been to many online rewrite rule sir\tes where i feed this link and the resultant rule is simply not picked up by the mod_rewirite apache module.
http://www.mydomain.com/index.php?category=mycategory&mykey=mykey
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke