CodeIgniter Forums

Full Version: My Dumb is Showing... a complete newbie question.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]dana.severance[/eluser]
I'm using Xampp for Windows (using my machine as a vhost) and I'm having issues with it actually seeing and using CI instead PEAR.

I'm not quite sure how to go about fixing it. I'm also relatively certain that my base_url is also wrong, though I'm not sure how to find out of it is completely nonfunctional, or if I'm just crazy.

El Forum

[eluser]Colin Williams[/eluser]
Can you explain more about your setup. Wear CI is installed, etc.?

El Forum

[eluser]dana.severance[/eluser]
It is installed in xampp/htdocs folder.

As far as the etc goes... I've no idea where to start.

El Forum

[eluser]Colin Williams[/eluser]
Hrm.. still hard to diagnose. What I do is have my web root at C:\local\www\ and then I have a folder for each of my sites. Using a current example I have a site at C:\local\www\thisloadview.com\ CI is installed in this directory, so I can simply navigate to it in my browser with http:/localhost/thisloadview.com. But, I've added a virtual host for it in httpd-vhosts.conf:

Code:
<VirtualHost *:80>
    DocumentRoot "C:/local/www/thisloadview.com"
    ServerName local.thisloadview.com
</VirtualHost>

Then I tell Windows to resolve local.thisloadview.com to 127.0.0.1, so I can just visit http://local.thisloadview.com and I'm in fact hitting my XAMPP server.

Sounds like you already have a front controller in your DocumentRoot and so it is handling the requests. You probably just need to move your CI install and front controller to their own folder.

El Forum

[eluser]dana.severance[/eluser]
Hm. I've tried something similar, but it still seems to be using PEAR instead of CI, which is not quite what I'm intending.