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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s