Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Help Configuring Virtual Machine for Apache etc

  • 01-09-2015 11:33am
    #1
    Registered Users, Registered Users 2 Posts: 284 ✭✭


    Hi,

    I have been given access to a virtual machine running CentOs 6 to install a website.

    PHP,MySQL and Apache are all installed by default.

    As Far as I can make out my virtual machine consists of a directory (called my ssh username) in the home directory in a linux / unix based server. The are other directories here under other names.

    My directory is entirely blank. I just tried putting an index.html file in there and browsing to the network address but I am getting a request times out.

    Obviously i need to do something like configure document root path but i cant as i only have write access to this directory. There are multiple sites on the machine each with their own directoy in the 'home' directory.

    The DNS loopup etc matches to the IP address I use for SSH. I have been able to download the httpd.conf file in the /etc/httpd/conf folder
    but there is no mention of virtual hosts etc there.

    Am I missing something simple?


Comments

  • Registered Users, Registered Users 2 Posts: 7,740 ✭✭✭mneylon


    Has Apache can be configured correctly to serve your virtual host?

    Are you logging in a non-root user?

    virtual hosts are often in either an included file or an included directory - not directly in the httpd.conf


Advertisement