PHP:. Kullanarak url gizle dosya uzantısı htaccess

0 Cevap

I want to hide file extentions from url like if current url is

http://localhost/salsgiver/administrator/menus.php?sect=about

sonra yeni bir tam olacak

http://localhost/salsgiver/administrator/menus/sect/about

ve böylece, simillarly geçerli url ise

http://localhost/salsgiver/administrator/products.php?id=1

sonra yeni bir tam olacak

http://localhost/salsgiver/administrator/products/1

ya da farklı bir şey, böylece izleyici tam url tahmin edemiyordu.

Ben google arama ve madde üzerinde bazı bulundu

http://roshanbh.com.np/2008/02/hide-php-url-rewriting-htaccess.html

ve aynı zamanda kullanılan ama çalışmıyor ve mod_rewrite modülü de apache etkindir. Ve ben tüm kullanarak bir klasör güvenli. Htaccess oluşturduğunuzda

deny from all

gayet iyi çalışıyor.

0 Cevap