The work I have to do is to make a webpage using the url that my school gave me
ID: 3744073 • Letter: T
Question
The work I have to do is to make a webpage using the url that my school gave me so that I can upload programs to it and my professor can go to said website and look or download the programs to grade. I have copied his example of the page which can be seen here:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>CS249 Home Page Fall 2014</TITLE>
<META NAME="GENERATOR" CONTENT="Mozilla/3.01Gold (X11; I; FreeBSD 2.2-RELEASE i386) [Netscape]">
</HEAD>
<BODY TEXT="#FFFFFF" BGCOLOR="#000000" LINK="blue" VLINK="lightgreen" ALINK="blue" >
<!--
<BODY TEXT="#000000" BGCOLOR="#EEEEEE" LINK="#191970" VLINK="#E0FFFF" ALINK="#FF0000">
-->
<H1><B><FONT COLOR="#FF0808">Object-Oriented Programming</FONT></B>
<br>
<B><FONT COLOR="#FF0808">CS249 Home Page Fall 2014</FONT></B></H1>
<img src=scott.gif>
<UL>
<LI>
<A HREF=Shape.java> p1</a>
<LI>
<A HREF=proj2> p2</a>
<LI>
<A HREF=proj3> p3</a>
<LI>
<A HREF=proj4> p4</a>
<LI>
<A HREF=examples> examples</a>
</UL>
My school is having an issue where whenever someone clicks on a student's link it says they dont have permission to access the file: 403 Forbidden.
My question is how can I make it so that the link leads to a download of the program maybe from another website so that my professor can download the program and read it. For example clicking on p1 which leads to a download link for the program for him to read and grade.
Explanation / Answer
You get a 403, because the file which you have hosted on your school server, are not made open to public. Hence you get 403.
Now, what you can do is, instead of uploading your java and proj files on school server, you can upload them to your gdrive or dropbox account, and get sharable links..
Now, in your html, in a href tag, put those links. whenever your professor tries to open those files, they get open from your gdrive/dropbox, and hence no problem. he can even download file from there.
let me know in case something is not clear.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.