Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Nov 2012
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts

    [404] Help getting this example source code working? [from cs75]

    http://cdn.cs75.net/2012/summer/lectures/3/src/mvc/7/

    Download the above link's content and run it on an apache server, and I'm sure you will replicate the problems I'm having when index loads up, but when I try clicking on "lecture" [or "lectures", not sure if it has an 's' in it] I get an error code:

    Object not found!

    The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

    If you think this is a server error, please contact the webmaster.

    Error 404

    localhost
    Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22

    I have the same type of MVC website that uses switches in the controller [the controller in this case is within the "html" folder, i believe] to view different files [files that are in a different folder called "views".], I just cant seem to get it to work on this server.
    I'm sure it has something to do with Apache server configs but after desperate hours/days of looking for an answer online, I can't find the answer.
    Any idea on how I can fix this?

    Greatly appreciate the help!
    Last edited by jerdev; 01-21-2014 at 10:52 PM.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •