开发者

How can I remove the index.php for Konana based on Win OS?

开发者 https://www.devze.com 2022-12-17 23:02 出处:网络
Hi my dev environment like this, Winxp pro; Kohana v3.03; XAMPP Windows 1.7.3; I followed the wiki guide to remove index.php file

Hi my dev environment like this,

Winxp pro;
Kohana v3.03;
XAMPP Windows 1.7.3;

I followed the wiki guide to remove index.php file

http://kerkness.ca/wiki/doku.php?id=removing_the_index.php

But when i try to rename example.htaccess to .htaccess . Windows alert "y开发者_开发知识库ou must type a file name"... Is there any solution about it?

Appreciated for your suggestions.


Open up notepad, paste in the contents provided on Kohana's site, and then navigate to your project directory and save as .htaccess (being sure to have save as type set to all files). You won't be able to rename to this file from windows explorer, you'll have to save it through notepad.


Make sure you have the rewrite module enabled in your Apache httpd.conf file. Try uncommenting the line

LoadModule rewrite_module modules/mod_rewrite.so

in your conf file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号