SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2010
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Both previous post are fixed..but a new problem came up!

    I still have a problem with shorewall. If I allow it to run then I cannot connect to the server. I can only connect to it if I leave it off.

    The problem now is that the directory I am supposed to upload all the files to, in order to be able to view them from my browser is supposed to be:

    /var/www

    I connect through the SFTP program just fine but this directory does not exist! Anyone have this problem before? Its supposed to be there. Anyone know the commands to create it so I can then upload the files to it?

    Thanks for the help.

  2. #2
    SitePoint Zealot cpace1983's Avatar
    Join Date
    Sep 2009
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you sure that /var/www is where your web files are? What does the DocumentRoot directive say in your Apache configuration?

    mkdir directoryname
    will create a directory

    chown -R username directory
    Will grant a user ownership (and thus write capabilities), of that directory.
    I am a Freelance Linux Consultant.
    I offer flat rate Linux support, as well as hourly support.
    Feel free to visit my blog, Ramblings of a Linux Administrator.


Bookmarks

Posting Permissions

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