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