-2

I'm trying to access a file from my localhost via

http://localhost/profile-pics/default.jpg

however apache keeps saying that the url doesn't exists 404. How can I configure apache to find my file? My directory is as follows ...

var/www/

profile-pics/ html/ cgi-bin/

I'm using Fedora

Dr.Knowitall
  • 219
  • 2
  • 10

1 Answers1

2

Because the DocumentRoot is /var/www/html, you should move your profile_pics folder into it (/var/www/html/profile_pics). Simple as that.

Lukas
  • 1,004
  • 6
  • 14