Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have a module developed in PHP. The source file for the PHP pages are in /var/www/html and some other files like images and other are in /var/www/pjfiles. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2006
    Posts
    26

    Question httpd.conf


    Hi

    I have a module developed in PHP. The source file for the PHP pages are in /var/www/html and some other files like images and other are in /var/www/pjfiles.

    I am using PHP4 and apache (not apache2). Could you tell me where to edit in the /etc/apache/httpd.conf file to bring up the home page of sourceforge /var/www/html/index.php.

  2. #2
    Linux User muha's Avatar
    Join Date
    Jan 2006
    Posts
    290
    You probably need to edit this file:
    /etc/apache2/default-server.conf

    The entry which you need to edit is:
    DocumentRoot

    But that depends on your distribution. Which distro are you using?
    Also, httpd -V might show you the location for the configuration files.
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ http://www.linuxcommand.org/ ~>

Posting Permissions

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