I've waded through a lot of similar posts but can't find a solution that works for me - hence yet another "404 error" post!
Uploaded Moodle (1.9.4+) onto hosted website running Apache 2 and PHP4.4.8. Installation via install.php went OK after minor issues with database name/access (resolved with hosting company tech support).
Moodle directory sits at: /var/virtual/web/user/html/moodle
Moodledata directory sits at: /var/virtual/web/user/moodledata
Logged in as Administrator & started creating courses - uploaded course files from home server into directories under moodledata. I can link to a file via "Add a resource", but when I try to dsplay the file I get the 404 error. I can display a directory OK.
Have checked permissions on moodle and moodledata directories. Moodledata is currently 777 (while I try to fix this problem).
I don't have access to host server so tried adding .htaccess file to Moodle directory with "AcceptPathInfo On". No change with 404 error.
I notice the PHP config for my website (host server) includes the line: "arg_separator.input = &" which makes me wonder if the server can't interpret the slashes Moodle uses in its path variables - but then I'm grasping at straws here and could be way off base.
So, before I log another call with the web host tech support people I thought I'd try my luck here. Any suggestions/ advice would be greatly appreciated