Re: Apache Installation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/14/2015 07:29 AM, Richard wrote:

<snip>
------------ Original Message ------------

  - your ping indicates the reachability/responsiveness of the
      host, it says nothing about a specific service.

  - that you got a "404" indicates that the httpd service is
      running/responding.

  - the "404" is indicating that the file "start.php" is not
      in the directory at the top of the document root of
      the "primary host" in your apache setup, or otherwise
      not accessible [if it's there and accessible, but php isn't
      properly configured you'll get the php source, rather than
      server-parsed output]:

      -- have you reviewed your apache configuration to be certain
         of where the "document root" of your "primary host" is?

      -- have you checked to see if the file (start.php) is there
         (and readable by user that apache runs as on your system)?

      -- have you checked your server logs (specifically the
         error log in this case)?

you need to do basic troubleshooting -- we can't do it for you.

Richard -

Thanks.

"you need to do basic troubleshooting -- we can't do it for you"

Totally agree.  However, in this case, I did not know what to do.  I am NOT an expert programmer.

Sorry for the questions that follow, but I am still in the dark....

-- have you reviewed your Apache configuration to be certain
          of where the "document root" of your "primary host" is?

Looked in Apache2.conf and did not see any reference to primary host or document root.

start.php is in /var/www

made the following change in /etc/apache2/sites-available/default-ssl.conf

DocumentRoot /var/www/


root@meow:/var/log# cat apache2/error.log
  <snip>'
[Tue Apr 14 00:51:10.502172 2015] [:error] [pid 7610] [client ::1:53486] script '/var/www/html/start.php' not found or unable to stat

restarted Apache2

root@meow:/var/www# ls -l start.php
-rw-r--r-- 1 ethan ethan 1047 Mar 31 23:54 start.php
root@meow:/var/www# chmod 777  start.php
root@meow:/var/www# ls -l start.php
-rwxrwxrwx 1 ethan ethan 1047 Mar 31 23:54 start.php

403 error???

TIA

Ethan



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux