The requested URL was not found on this server. |
[eluser]chubbypama[/eluser]
just moved my codeigniter app from one machine to another. i'm getting the above error message. here's what I've checked so far: config.php for code igniter has the following: $config['base_url'] = 'http://localhost/myapp/'; when i navigate to http://localhost/myapp/, i don't get any error messages, and nothing is displayed /rendered. I do a view source and there is no html on the page. (btw. I have specified "welcome" as my default controller in routes) when i navigate to http://localhost/myapp/welcome, I get the error The requested URL was not found on this server. I checked my apache2 access log this is what it contains: 127.0.0.1 - - [14/Aug/2012:11:48:32 -0400] "GET /myapp/welcome HTTP/1.1" 404 502 "-" "Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:14.0) Gecko/20100101 Firefox/14.0.1 shouldn't it have "GET http://localhost/myapp/welcome" instead of just "myapp/welcome"? also i tried looking up the 502 error message and fuond that it means: The server was acting as a gateway or proxy and received an invalid response from the upstream server but i'm not sure i understand how to troubleshoot. The thing is other applications work. So i can do "http://localhost/phpmyadmin" and it works. Also i created a test.php page in my "myapp" folder and it works too. I'm just new to web development so sorry if my question is basic. I'm not using .htaccess as far as i can tell. I have the following variables set in my config.php for codeigniter: $config['index_page'] = 'index.php'; $config['uri_protocol'] = 'AUTO'; Thanks. |
Welcome Guest, Not a member yet? Register Sign In |