Jump to content

Recommended Posts

Posted

Hey,

 

I recently set up Moodle for our school and I had problems during the inital web page set up- I was getting a LOT of 404 error. I managed to configure it after countless server reboots.. Now that moodle is configured.. but it's 404 -.- I have never done moodle and I am a begginer on linux (I am using ubuntu 14.0.4.1 no gui). The file configuration is fine because it let me create everything. Why am I getting 404 so often? I know what 404 is not found but... I am lost. Halp..

 

Thanks

 

Edit: After server reboot, it works for a minute then 404's.

Posted

you need check your dns and IP config to start with

 

then you need to start looking in the error logs and seeing what's happening. This depends on how your apache is set and if you have vhosts but to start with 'tail -f /var/log/apache2/error.log' should start to point you in the right direction.

Posted

Make sure your Config.PHP is set up correctly and also any apache configs are correct.

 

Potentially your Config.PHP could be pointing to a directory that doesnt exist.

 

Can you access direct from the IP address instead of the DNS name?

Posted (edited)

I am accessing it from the IP address- it works for a while then stops... So it has to be pointing correctly otherwise it would just 404 right away. Btw- I am using hyperv for the server.

 

This is my config php file: php.jpg

Edited by blu4
Posted

Try and rewrite the wwwroot URL it looks like part of it is being contained in the string and some of it isnt

 

Moodle.png

 

See how mine is completely red? part of your wwwroot URL is white as if its just text and part of it is blue

 

It should all be blue.

 

Give this a try

Posted
Try and rewrite the wwwroot URL it looks like part of it is being contained in the string and some of it isnt

 

[ATTACH=CONFIG]27587[/ATTACH]

 

See how mine is completely red? part of your wwwroot URL is white as if its just text and part of it is blue

 

It should all be blue.

 

Give this a try

 

It is correct- the nano editor just shows up wrong- I used vim here to show you that is is correct format.

 

php2.jpg

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...