Webserver no httpd.log etc

Hi, I’ve done a clean install on a raspberry pi using the image from ASL website. I want to install Allmon2 but don’t think the webserver is working properly. I had to manually make the http.conf file and I have no httpd.log file. The server seems to be working but I can’t find where it’s server director is, hence looking for httpd.log for error’s.
Could someone talk me through the correct way to get it running. I’m very cautious as the node is working perfectly ( at the moment )

Regards Lee.

Apache settings are typically in /etc/apache2, logs in /var/log/apache2, docs in /var/www/html.

Not sure why you had to make a .conf file. Makes me think Apache was not installed correctly.

Thanks for the reply. I tried doing a clean install twice and had the same issue.
I just can find where to put the files. I made a test html file and placed it various directories but it always can’t find them

Cheers Lee.

···

On Mon, 27 Apr 2020, 15:37 Tim Sawyer via AllStarLink Discussion Groups, noreply@community.allstarlink.org wrote:


wd6awp

      ASL Admin




    April 27

Apache settings are typically in /etc/apache2, logs in /var/log/apache2, docs in /var/www/html.

Not sure why you had to make a .conf file. Makes me think Apache was not installed correctly.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Make sure Apache is installed

apt-get update
apt-get install apache2

That much should give you test page. Let’s see if you can get at least that far.

That’s all done and rebooted.
Now if I enter the ip address I get this:-

http://192.168.1.36:8088/static/index.html

Access Denied

You do not have permission to access the requested URL.

Asterisk Server

What about just http://192.168.1.36 What are you expecting at port 8080, Supermon?

Port 8088 is for Allmon2.

···

On Mon, 27 Apr 2020, 18:21 Tim Sawyer via AllStarLink Discussion Groups, noreply@community.allstarlink.org wrote:


wd6awp

      ASL Admin




    April 27

What about just http://192.168.1.36 What are you expecting at port 8080, Supermon?


Visit Topic or reply to this email to respond.


In Reply To


Lee

    April 27

That’s all done and rebooted. Now if I enter the ip address I get this:- http://192.168.1.36:8088/static/index.html

Access Denied
You do not have permission to access the requested URL. Asterisk Server


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

And what do you get there?

Think it’s working now, I get
Apache2 Debian Default Page

···

On Mon, 27 Apr 2020, 19:47 Tim Sawyer via AllStarLink Discussion Groups, noreply@community.allstarlink.org wrote:


wd6awp

      ASL Admin




    April 27

wd6awp:
What about just http://192.168.1.36

And what do you get there?


Visit Topic or reply to this email to respond.


In Reply To


wd6awp

      ASL Admin




    April 27

What about just http://192.168.1.36 What are you expecting at port 8080, Supermon?


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Ok good. :slight_smile: Funny how Apache has to be installed for Apache to work :slight_smile: and it helps to use the configured port :slight_smile:

I’ll leave it to you to research changing to port 8088. But worry about that later.

So what is called the docroot is where you put the files for your site. Typically the docroot is /var/www/html. That’s where you want to put the Allmon files.

Also, you’re going to need to install more software:

apt-get install php7.0 php7.0-cli php7.0-common libapache2-mod-php7.0

and restart your node.

Thing is though it was kind of working using its mini server because it was giving results from the manager and the status said webserver enable. Thanks anyway.

···

On Mon, 27 Apr 2020, 22:35 Tim Sawyer via AllStarLink Discussion Groups, noreply@community.allstarlink.org wrote:


wd6awp

      ASL Admin




    April 27

Ok good. :slight_smile: Funny how Apache has to be installed for Apache to work :slight_smile: and it helps to use the configured port :slight_smile:

I’ll leave it to you to research changing to port 8088. But worry about that later.

So what is called the docroot is where you put the files for your site. Typically the docroot is /var/www/html. That’s where you want to put the Allmon files.

Also, you’re going to need to install more software:

apt-get install php7.0 php7.0-cli php7.0-common libapache2-mod-php7.0


and restart your node.


Visit Topic or reply to this email to respond.


In Reply To


Lee

    April 27

Think it’s working now, I get Apache2 Debian Default Page ··· (click for more details)


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

I don’t know what a mini server is.