Tag Archives: mod_rewrite

htaccess not working

ShareOn your httpd.conf Set this: AllowOverride All same for the other one and uncomment this line LoadModule rewrite_module modules/mod_rewrite.so <Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Deny from all </Directory> <Directory “C:/htdocs”> AllowOverride All </Directory>

Posted in apache, htaccess | Tagged , , | Leave a comment

mod_rewrite cheat sheet

Share mod rewrite cheat sheet – Upload a Document to Scribd

Posted in htaccess | Tagged , , , , | Leave a comment

mod_rewrite domain

ShareRewriteCond %{HTTP_HOST} ^(www\.)?yourdomain\.com [NC] RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L] Introduction to mod_rewrite

Posted in anything under the moonlight, apache, htaccess | Tagged , | Leave a comment

error using mod_rewrite

ShareI got an error using mod_rewrite on my local server and it was only solved when I put  Options +FollowSymLinks but on live server using Options +FollowSymLinks gave me an error so I removed it. Well anyway, I came across … Continue reading

Posted in apache, server | Tagged , | Leave a comment

mod_rewrite and regular expressions

ShareI’ve been looking for this article and finally found it! Thanks to justin who posted this on some website. Regular Expressions I guess I should start by describing a regular expression. (They aren’t too scary once you get to know … Continue reading

Posted in apache, server | Tagged , | Leave a comment