[Wylug-help] configuring LAMP
linux
linux at sh2515.plus.com
Fri Nov 1 07:33:52 UTC 2013
Have you checked /etc/apache2/ports.conf and /etc/apache2/sites-available/default for the port you are listening to ( looks like "listen 80"). If different to 80 look up ipaddress:port-that-is-next-to-listen/index.php
Sent from Galaxy S3 on Three
-------- Original message --------
From: nigel <xm2 at btinternet.com>
Date:
To: Wylug-help <Wylug-help at wylug.org.uk>
Subject: Re: [Wylug-help] configuring LAMP
ls -l /home/nigel gives
total 56
blah
drwxr-xr-x 28 nigel nigel 4096 Oct 28 08:22 Documents
blah
ls -l /home/nigel/Documents gives
total 104
blah
drwxr-xr-x 12 nigel nigel 4096 Jun 24 21:03 local
blah
http://localhost/index.html gives 403 forbidden
/var/log/apache* says
[Sun Oct 27 07:49:04.094596 2013] [mpm_prefork:notice] [pid 1124]
AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2 configured -- resuming
normal operations
[Sun Oct 27 07:49:04.094662 2013] [core:notice] [pid 1124] AH00094:
Command line: '/usr/sbin/apache2'
[Sun Oct 27 08:31:50.295821 2013] [mpm_prefork:notice] [pid 1124]
AH00169: caught SIGTERM, shutting down
[Mon Oct 28 07:54:54.500586 2013] [mpm_prefork:notice] [pid 1164]
AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2 configured -- resuming
normal operations
[Mon Oct 28 07:54:54.529714 2013] [core:notice] [pid 1164] AH00094:
Command line: '/usr/sbin/apache2'
[Mon Oct 28 14:55:40.057583 2013] [mpm_prefork:notice] [pid 1164]
AH00169: caught SIGTERM, shutting down
[Mon Oct 28 19:01:30.247845 2013] [mpm_prefork:notice] [pid 1133]
AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2 configured -- resuming
normal operations
[Mon Oct 28 19:01:30.277005 2013] [core:notice] [pid 1133] AH00094:
Command line: '/usr/sbin/apache2'
[Mon Oct 28 19:08:03.275945 2013] [authz_core:error] [pid 1137] [client
127.0.0.1:47655] AH01630: client denied by server
configuration: /home/nigel/Documents/local/
[Mon Oct 28 19:08:03.615076 2013] [authz_core:error] [pid 1137] [client
127.0.0.1:47655] AH01630: client denied by server
configuration: /home/nigel/Documents/local/favicon.ico
[Mon Oct 28 19:36:10.666180 2013] [mpm_prefork:notice] [pid 1133]
AH00169: caught SIGTERM, shutting down
[Mon Oct 28 19:36:11.803596 2013] [mpm_prefork:notice] [pid 3083]
AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2 configured -- resuming
normal operations
[Mon Oct 28 19:36:11.803688 2013] [core:notice] [pid 3083] AH00094:
Command line: '/usr/sbin/apache2'
[Mon Oct 28 19:36:29.096616 2013] [authz_core:error] [pid 3087] [client
127.0.0.1:47656] AH01630: client denied by server
configuration: /home/nigel/Documents/local/
[Mon Oct 28 19:37:56.220575 2013] [authz_core:error] [pid 3088] [client
127.0.0.1:47657] AH01630: client denied by server
configuration: /home/nigel/Documents/local/designs/index.htm
[Mon Oct 28 19:38:11.425600 2013] [authz_core:error] [pid 3089] [client
127.0.0.1:47658] AH01630: client denied by server
configuration: /home/nigel/Documents/local/index.htm
[Mon Oct 28 19:38:35.198347 2013] [authz_core:error] [pid 3090] [client
127.0.0.1:47659] AH01630: client denied by server
configuration: /home/nigel/Documents/local/index.html
[Mon Oct 28 19:40:41.647959 2013] [authz_core:error] [pid 3091] [client
127.0.0.1:47660] AH01630: client denied by server
configuration: /home/nigel/Documents/local/index.html
[Mon Oct 28 19:42:46.184090 2013] [authz_core:error] [pid 3099] [client
127.0.0.1:47661] AH01630: client denied by server
configuration: /home/nigel/Documents/local/
[Mon Oct 28 19:45:06.148957 2013] [mpm_prefork:notice] [pid 3083]
AH00169: caught SIGTERM, shutting down
[Mon Oct 28 19:45:07.315609 2013] [mpm_prefork:notice] [pid 3244]
AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2 configured -- resuming
normal operations
[Mon Oct 28 19:45:07.315700 2013] [core:notice] [pid 3244] AH00094:
Command line: '/usr/sbin/apache2'
[Mon Oct 28 19:45:12.680104 2013] [authz_core:error] [pid 3248] [client
127.0.0.1:47662] AH01630: client denied by server
configuration: /home/nigel/Documents/local/
[Mon Oct 28 20:04:20.766580 2013] [mpm_prefork:notice] [pid 3244]
AH00169: caught SIGTERM, shutting down
[Mon Oct 28 20:04:43.974713 2013] [mpm_prefork:notice] [pid 3629]
AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2 configured -- resuming
normal operations
[Mon Oct 28 20:04:43.974805 2013] [core:notice] [pid 3629] AH00094:
Command line: '/usr/sbin/apache2'
[Mon Oct 28 20:09:10.165408 2013] [mpm_prefork:notice] [pid 3629]
AH00169: caught SIGTERM, shutting down
[Thu Oct 31 17:03:50.945074 2013] [mpm_prefork:notice] [pid 1123]
AH00163: Apache/2.4.6 (Ubuntu) PHP/5.5.3-1ubuntu2 configured -- resuming
normal operations
[Thu Oct 31 17:03:50.973499 2013] [core:notice] [pid 1123] AH00094:
Command line: '/usr/sbin/apache2'
[Thu Oct 31 19:15:25.321349 2013] [authz_core:error] [pid 1135] [client
127.0.0.1:50021] AH01630: client denied by server
configuration: /home/nigel/Documents/local/index.html
Many thanks for your suggestions
Nigel
On Thu, 2013-10-31 at 17:57 +0000, Stephen wrote:
> What are the permissions on
> /home/nigel
> /home/nigel/Documents/
>
> As that maybe the issue. Also what is the errors present in
> /var/log/apache*
>
> On Thu, Oct 31, 2013 at 05:54:40PM +0000, nigel wrote:
> > Could anyone suggest what to try to get LAMP working? I am using Ubuntu
> > 13.10. This LAMP will only be accessed locally by me.
> >
> > When I put localhost into my browser I get 403 Forbidden
> > "You don't have permission to access / on this server.
> > Apache/2.4.6 (Ubuntu) Server at localhost Port 80"
> >
> > When I do sudo /etc/init.d/apache2 start
> > I get
> > * Starting web server apache2 AH00558: apache2: Could not reliably
> > determine the server's fully qualified domain name, using 127.0.1.1. Set
> > the 'ServerName' directive globally to suppress this message
> > *
> >
> > I have done sudo gedit /etc/apache2/sites-available/default-ssl.conf and
> > changed my home folder like this
> > DocumentRoot /home/nigel/Documents/local
> >
> > I have done sudo nautilus and set the permissions for this folder as
> > best I can (I don't know what they should be set to).
> >
> > Please phrase your advice in beginner's terms or, sadly, I won't
> > understand you (-:
> >
> > Thank you
> >
> > Best wishes
> > Nigel
> >
> >
> > _______________________________________________
> > Wylug-help mailing list
> > Wylug-help at wylug.org.uk
> > https://mailman.lug.org.uk/mailman/listinfo/wylug-help
_______________________________________________
Wylug-help mailing list
Wylug-help at wylug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/wylug-help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20131101/8afb88aa/attachment.html>
More information about the Wylug-help
mailing list