Search the Community
Showing results for tags 'htaccessmod_rewrite'.
jan2510 posted a topic in Effortless E-Commerce with PHP and MySQL (2nd Edition)Hi Larry, I am still reading this wonderful book of yours and I'm learning a lot from it. However I'm having some problems regarding the mod_rewrite. The files are under localhost/ex2/html. I added the RewriteBase /html/ on the .htaccess file and I've changed the HTML references to <a href="/html/shop.php"> but it seems that it's still not working. I have added 2 copies of .htaccess file one under the /ex2/ and the other one is under the /html/ file just to be sure. When I check http://localhost/ex2/html/shop it's not found but when i added .php it works. So im not sure what to do next. mod_rewrite is kinda tricky. Thank you so much in advance Larry! Jan