Welcome Guest, Not a member yet? Register   Sign In
Newb problem
#11

[eluser]MiniMonty[/eluser]
No problems serving up files - .html / .php / flash etc.,
No problems querying an SQL DB with php.

I've been using the server for a couple of years with a basic
php site and no problems.

info.php says it's running php 5.2.11

Best wishes
Monty
#12

[eluser]pickupman[/eluser]
What happens when you try accessing http://www.mydomain.com/index.php/welcome? Do you still see the welcome page? Is this in a subfolder, where apache will work it's way up the directory tree to find a .htaccess file? Do you have a symlink pointing to another folder from an older install? What happens if you call blog something else like:
Code:
class Test extends Controller{

function Test(){
   parent::Controller();
}

function index(){
    echo 'Hello Test!';
}
}

And then try accessing www.mydomain.com/index.php/test
#13

[eluser]MiniMonty[/eluser]
[quote author="pickupman" date="1277066094"]What happens when you try accessing http://www.mydomain.com/index.php/welcome? [/quote]

Aha...
If I try "http://www.mydomain.com/index.php/welcome"
I get the same Apache "Not Found" message.

Quote:Is this in a subfolder, where apache will work it's way up the directory tree to find a .htaccess file?

This is the structure I have installed:
(pic attached)

I have NO .htaccess file (do I need one) ?
I have no symlink (do I need one) ?

Best wishes
Monty
#14

[eluser]pickupman[/eluser]
Yes, I would least try the .htaccess file shown in the user guide under Codeigniter URL's I would also check your apache logs to see why the request is failing. If you are setting up apache for the first time, you need to make sure you have in your configuration AllowOveride all in the <Directory> tag for your public html folder.
#15

[eluser]pbreit[/eluser]
I would suggest starting over from scratch with a clean install of CodeIgniter.
#16

[eluser]MiniMonty[/eluser]
LOL - thanks all - I'll go with the consensus and start from scratch :-)

Is there an "idoiot's guide" anywhere I should look at for the retry ?

Best wishes
Monty
#17

[eluser]pickupman[/eluser]
I don't think this is a CI problem. Check out these two links:
Apache 404
Apache 404




Theme © iAndrew 2016 - Forum software by © MyBB