0

For the final project I'm making a website, but when I run apache50 and open the link, I only get a list of the files I have. In C$50 finance, however, it defaults to login if not logged in, or the homepage.

I would also like to thank everyone who's helped me with CS50's problem sets in the last couple of months, I wouldn't have made it with out you!

0
0

Remember good old indexes in pset6? If index.php exists return that, else if index.html exists return that? Well apache does essentially the same thing. It uses the "DirectoryIndex Directive", info here. From pset7, we know that login.php is probably in the Directive, and from pset8, index.html. If your web site contains either of those files, they will (should) be the default landing page. (index.php will "work" too, that's the default landing page in my final project).

Not the answer you're looking for? Browse other questions tagged .