Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Apache or a firewall problem, Sites wont load!

    I had some people install a firewall on my server two days ago and they managed to mess up my server, everything was fixed except one!, every time i try to load any of my websites i get this:

    index of /


    thats it!

    I did check my /var/www/html and i found nothing, i found all the files in /var/www/vhosts

    is the path is the problem?

    i have on vhosts:

    if i change vhosts to html and refresh my browser i get the sites above listed as directories.

    does this sound as an firewall problem or apache?

  2. #2
    Just Joined! aenguillo's Avatar
    Join Date
    Dec 2006
    where are your web files located? assuming they're inside the /var/www/html directory, try issuing this command:

    $ restorecon -R /var/www/html/<vhost_site_directory>

Posting Permissions

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