[Cialug] problem with apache2
Ralph
kesselr1 at mchsi.com
Sun Jun 10 00:21:34 CDT 2007
I finally go Apache to visit the virtual website but now I'm having
problems with the security settings of the directories. I set them to
chown 755 per Apache spec but still I keep getting the following error
on error.log:
Premature end of script headers: phpinfo.php, referer:
http://localhost/server-test/test/php/
Googling websites shows this to be an Apache reaction to incorrect
directory settings. All I'm trying to run is the simple php script:<?php
phpinfo(); ?>
This should not be so difficult as I have set up php, apache, and mysql
on other distributions but it's pulling teeth with Ubuntu. Why?
On Sat, 2007-06-09 at 15:11 -0500, Ralph wrote:
> I'm getting the following error in my ubuntu feisty faun set up. I'm
> trying to access apache2, php . Please assist.
> apache2: Could not reliably determine the server's fully qualified
> domain name, using 127.0.1.1 for ServerName
> (98)Address already in use: make_sock: could not bind to address
> 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs.
>
>
> sites-enabled:
> Listen 80
> <VirtualHost 127.0.0.1>
> ServerName www.dev.ralph.com
> ServerAlias www.dev.ralph.com
> # ScriptAlias /awstats/ /usr/lib/cgi-bin/
> ErrorLog var/log/apache2/ralph.com.error_log
> ServerAdmin ralph at dev.dom
> CustomLog /var/log/apache2/ralph.com-access.log combined
> DocumentRoot /var/www/
> </VirtualHost>
>
> hosts:
> 127.0.0.1 localhost.localdomain localhost dev.ralph.com
> www.dev.ralph.com
> 127.0.1.1 ralph-desktop
>
> # The following lines are desirable for IPv6 capable hosts
> ::1 ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list