Basic Codeigniter setup on XAMPP isn't working |
[eluser]Ckirk[/eluser]
Just a quick check http://localhost - should run the xampp default directory. If not then this is your problem also check your hosts file (normally found in "C:\windows\system32\drives\etc\") make sure it contains these 2 lines and they are not commented (remove any "#" prefix) Code: 127.0.0.1 localhost Also as a rule any new codeigniter site that I make i make an entry in the host file for that site Code: 127.0.0.1 mynewsite In addition to that I place my codeigniter site somewhere other than the htdocs folder. eg: D:\webdev\mynewsite Finally in the file c:\xampp\apache\conf\extra\httpd-vhosts.conf my setup for all my sites (including xampp) will look like this: Code: # any changes you make to the apache conf file require the apache server to be restarted. Also you should note that all the additional lines for mynewsite are in the conf file purely because I need to set permissions up as it's not in the installed htdocs filder (which has all permissions). If you want to continue to use htdocs then just set the mynewsite section in the conf file as follows: Code: <VirtualHost *:80> Hope that's of some help to you |
Messages In This Thread |
Basic Codeigniter setup on XAMPP isn't working - by El Forum - 12-02-2012, 07:49 PM
Basic Codeigniter setup on XAMPP isn't working - by El Forum - 12-02-2012, 08:36 PM
Basic Codeigniter setup on XAMPP isn't working - by El Forum - 12-02-2012, 10:52 PM
Basic Codeigniter setup on XAMPP isn't working - by El Forum - 12-03-2012, 04:58 PM
Basic Codeigniter setup on XAMPP isn't working - by El Forum - 12-04-2012, 03:20 AM
Basic Codeigniter setup on XAMPP isn't working - by El Forum - 12-04-2012, 03:23 AM
Basic Codeigniter setup on XAMPP isn't working - by El Forum - 12-04-2012, 07:17 PM
|