Ubuntu Installation Forbidden from Apache2

Forum Home Forums Installation Issues Ubuntu Installation Forbidden from Apache2

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4800
    yotool
    Participant

    The target OS is Linux Mint 19.

    I believe that I have followed the Linux installation instructions correctly.

    Everything seems to be up and working, including the local apache web server, however when I go to

    http://localhost/scada

    I receive the following error:

    Forbidden
    You don’t have permission to access /scada/ on this server.
    Apache/2.4.29 (Ubuntu) Server at localhost Port 80.

    Also the web site referenced in the install_with_apache.txt file does not resolve:
    http://go-mono.com/config-mod-mono/Default.aspx

    Thanksfor your help Mikhail…

    #4801
    yotool
    Participant

    Sorry to have bother you my friend; maybe someone else may find this useful however…

    I figured it out.

    It was the OS-level file/directory permissions of the “/var/www/html/scada/” directory and its sub-contents.

    The original “ownership” was set by Ubuntu as “me” (my user id used to install the software), and the originally installed user/group permissions did not include “Read” for others.

    I just whacked it using:
    sudo chmod -R 755 * on “/var/www/html/scada/”.

    #4803
    Mikhail
    Moderator

    Thanks for the solution ))

    Also the web site referenced in the install_with_apache.txt file does not resolve

    That’s true. That’s why there is a ready file scada.conf in the distributive package.

    #5635
    eroll
    Participant

    Hi Mikail

    i am trying to connect almost 8 hour https:/localhost/scada

    but apache server are running properly also i changed group permission

    stil i couldnt . could you help me please

    -rw-r-xrwx 1 root root 7360 Jun 29 02:40 apache2.conf
    drwxr-xr-x 2 root root 4096 Jun 29 00:17 conf-available
    drwxr-xr-x 2 root root 4096 Jan 26 2016 conf.d
    drwxr-xr-x 2 root root 4096 Jun 29 00:17 conf-enabled
    -rw-r–r– 1 root root 1782 Feb 3 08:57 envvars
    -rw-r–r– 1 root root 31063 Feb 3 08:57 magic
    drwxr-xr-x 2 root root 12288 Jun 29 01:19 mods-available
    drwxr-xr-x 2 root root 4096 Jun 29 00:17 mods-enabled
    -rw-r–r– 1 root root 320 Feb 3 08:57 ports.conf
    drwxr-xr-x 2 root root 4096 Jun 29 00:17 sites-available
    drwxr-xr-x 2 root root 4096 Jun 29 00:17 sites-enabled

    Current Time: Saturday, 29-Jun-2019 09:55:41 PDT
    Restart Time: Saturday, 29-Jun-2019 09:54:13 PDT
    Parent Server Config. Generation: 1
    Parent Server MPM Generation: 0
    Server uptime: 1 minute 27 seconds
    Server load: 0.39 0.42 0.31
    Total accesses: 3 – Total Traffic: 4 kB – Total Duration: 8
    CPU Usage: u0 s0 cu0 cs0
    .0345 requests/sec – 47 B/second – 1365 B/request – 2.66667 ms/request
    1 requests currently being processed, 49 idle workers

    Slot PID Stopping Connections Threads Async connections
    total accepting busy idle writing keep-alive closing
    0 4834 no 0 yes 1 24 0 0 0
    1 4835 no 0 yes 0 25 0 0 0
    Sum 2 0 0 1 49 0 0 0

    ____W_____________________________________________…………..
    ……………………………………………………….
    ………………….

    Scoreboard Key:
    “_” Waiting for Connection, “S” Starting up, “R” Reading Request,
    “W” Sending Reply, “K” Keepalive (read), “D” DNS Lookup,
    “C” Closing connection, “L” Logging, “G” Gracefully finishing,
    “I” Idle cleanup of worker, “.” Open slot with no current process
    Srv PID Acc M CPU SS Req Dur Conn Child Slot Client Protocol VHost Request
    0-0 4834 0/1/1 _ 0.00 1 0 0 0.0 0.00 0.00 127.0.0.1 http/1.1 127.0.1.1:80 GET /server-status HTTP/1.1
    0-0 4834 0/0/0 W 0.00 0 0 0 0.0

    #5637
    Mikhail
    Moderator

    Hello,

    What error do you get in browser?

    #5642
    eroll
    Participant

    Thanks a lot Mikail for your quick replay . it was totally my fault . i solved my problem with using your Installation instructions

    #5646
    Mikhail
    Moderator

    OK 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.