Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have access to a remote machine through ssh. The machine is running Linux (CRUX) and has a valid name(foo.bar.abc.se) and ip address. I have root privilages for it. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    6

    Apache Web Hosting ?


    Hi,
    I have access to a remote machine through ssh. The machine is running Linux (CRUX) and has a valid name(foo.bar.abc.se) and ip address. I have root privilages for it. Apache is running on the machine. In htdocs, index.php is also present.
    How can I access it and other php pages(in htdocs) from web browser? Do I need some other permissions ?
    I am new to this field. So kindly explain in simple words.

    Regards,
    Atiq

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    not sure exactly what you mean, but it should be like this, if you have:
    /var/www/htdocs/index.php

    then you should be able to browse to:
    foo.bar.abc.se/index.php

    If not then check to make sure apache is running:
    ps aux | grep apache

Posting Permissions

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