Pham_loi
Chức vụ: 16:00:48, 29-05-2016 |
Bước 1: Vào thư mục cài đặt (thông thường C:\AppServ\Apache2.2\conf\)
Mở file httpd.conf tìm đến
#LoadModule rewrite_module modules/mod_rewrite.so
Bỏ dấu # ở phía trước, trở thành
LoadModule rewrite_module modules/mod_rewrite.so
Bước 2: Không cần thiết lắm, mục đích là để server nhận đúng tên file htaccess, vì trong windows khó đặt tên file có dấu . ở trước nên ta thêm vào x cho thuận tiện thôi.
Tìm AccessFileName.htaccess
Thay bằng: AccessFileName x.htaccess
Save all.
Bước 3. Khởi động lại Apache
Thường thì vào: C:\Appserv\Apache2.2\bin chạy file ApacheMonitor.exe click Restart Hoặc click Start -> All programs -> AppServ ->Control Server by Service ->Chạy file Apache Restart để khởi động lại Apache.. Enjoy
Nguồn: cuonganh89
Chỉnh sửa lúc 2016-05-29 16:23 bởi Pham_loi
: 0 ♥