Welcome Guest, Not a member yet? Register   Sign In
Copying remote site to localhost
#1

So I'm trying to set up a local environment for testing and development. Obviously we use CodeIgniter as our framework.

But when I copy the whole server to the local server (I have XAMPP), and navigate to the root, all I see is a directory structure - it doesn't display anything at all that I would expect to see from the website.

I spent 4+ hours (over several days) trying every .htaccess and httpd.conf suggestion I could find on Google, stackoverflow, these forums, and more. I am able to get a 500 server error when adding garbage to the .htaccess file, so I know it's being processed. But I think my problem is possibly unrelated to the .htaccess file settings. (I don't really care if index.php shows up on the URL bar locally.)

There is no index.php on our server's root (again, our site is built with CodeIgniter). Nor anywhere else in the framework directory structure, (except /application/views/user/template/original). When I access the site live, in the URL bar it pulls up the domain name followed by: "/user/login". Looking into the /application/views/user folder shows a login_view.php, but when I try to access it directly, I get an Access Forbidden 403 error.

How is the site loading remotely, but not locally?
Reply


Messages In This Thread
Copying remote site to localhost - by ZandarKoad - 10-21-2015, 04:50 PM
RE: Copying remote site to localhost - by sv3tli0 - 10-24-2015, 06:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB