tag:blogger.com,1999:blog-5669381327264139926.post8749660871592940749..comments2023-10-15T00:40:27.626-07:00Comments on PHP Funda: Mod Rewrite Tips and ExamplesUnknownnoreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5669381327264139926.post-65533299591892645382010-09-07T23:53:08.338-07:002010-09-07T23:53:08.338-07:00Hello You can provide correct Rule as given below
...Hello You can provide correct Rule as given below<br /><br />Options +FollowSymLinks<br />RewriteEngine on<br />RewriteRule /category/(.*)/(.*)/$ /directory/category.php?catid=$1<br />RewriteRule /subcategory/(.*)/(.*)/$ /directory/subcategory.php?$1=$2PHP Fundahttp://phpfunda.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-5669381327264139926.post-39876710116779547172008-11-25T10:26:00.000-08:002008-11-25T10:26:00.000-08:00I'm looking for help to make below stuff working ....I'm looking for help to make below stuff working ....Basically i want that Chinese language browser can access my site with password only.<BR/><BR/><BR/>SetEnvIf HTTP_ACCEPT_LANGUAGE ^zh.* I_AM_CHINESE<BR/><BR/>Order allow,deny<BR/>Allow from all<BR/>Deny from I_AM_CHINESE<BR/>AuthName "Authorized Users Only."<BR/>AuthType Basic<BR/>AuthUserFile .htpasswd<BR/>require valid user<BR/>satisfy anyUnknownhttps://www.blogger.com/profile/15551403450884402624noreply@blogger.comtag:blogger.com,1999:blog-5669381327264139926.post-39286054802287053352008-11-19T20:37:00.000-08:002008-11-19T20:37:00.000-08:00Hello Dear,Thanks for such a nice article. I have ...Hello Dear,<BR/>Thanks for such a nice article. I have problem with .htaccess. My problem is: I want create a directory using XAMP/PHP and mysql. When user click category or sub-category I want hide the query string date.<BR/>Example my current page status http://localhost/directory/category.php?catid=1 <BR/><BR/>Now want to show only http://localhost/directory/category<BR/><BR/>This is My code in .htaccess file.<BR/><BR/>Options +FollowSymLinks<BR/>RewriteEngine on<BR/>RewriteRule http://localhost/category/(.*)/(.*)/$ /directory/category.php?catid=$1<BR/>RewriteRule http://localhost/subcategory/(.*)/(.*)/$ /directory/subcategory.php?$1=$2<BR/><BR/>but it dosen't work. <BR/><BR/>Please Help me.<BR/><BR/>Regards,<BR/>Azizul IslamAzizul Islam’s Webloghttps://www.blogger.com/profile/08013161666446599575noreply@blogger.com