Category: CodeIgniter

Removing the index.php file Codeigniter

http://www.codeigniter.com/user_guide/general/urls.html

Neu van khong dc, vào http.conf sua:

<Directory d:/Workspace/mycodeigniter.com>
AllowOverride All
Require all granted

</Directory>
<VirtualHost *:80>
ServerAdmin webmaster@mycodeigniter.com
DocumentRoot “d:/Workspace/mycodeigniter.com”
ServerName mycodeigniter.com
ServerAlias http://www.mycodeigniter.com
DirectoryIndex index.php index.html
ErrorLog “logs/mycodeigniter.com-error.log”
CustomLog “logs/mycodeigniter.com-access.log” common
</VirtualHost>

Advertisements