where do i suppose to put my files so that i can access it via http://localhost/my-file-here? i downloaded webserv 1.2.5.1, the apache is running, when i go to http://localhost/, the message said apache is running.. also i found localhost in the webserv folder, but when i add file into there, it says object not found.. what's happening??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
where do i suppose to put my files so that i can access it via http://localhost/my-file-here? i downloaded webserv 1.2.5.1, the apache is running, when i go to http://localhost/, the message said apache is running.. also i found localhost in the webserv folder, but when i add file into there, it says object not found.. what's happening??
fixed.. you can't put the files into the wwwroot, you have to go one step further and put it into the htdocs...
right, web docs go into the htdocs folder, and all cgi-scripts go into the cgi-bin folder (files ending in pl and cgi)