[Watford] Apache2 Server on Suse 10.2

walt walt at helvatron.co.uk
Tue May 1 10:47:01 BST 2007


Thanks again, Steve.  Sorry I haven't responded till now but a job took
me away.
 
I have tried all this but I cannot get it to work.  I have googled till
I dropped but I dont understand a lot of the instructions because they
usually refer to a different distro.  The upshot is that I will have to
give up on Linux for the time being and use windows (most unfortuante).
Maybe later this year, when things ease up a bit I will go back to it.
I realy must get some sort of  course for Unix/Linux but there is very
little out there or it costs a fortune.  
 
meantime, best regards, Walter.

________________________________

From: watford-bounces at mailman.lug.org.uk
[mailto:watford-bounces at mailman.lug.org.uk] On Behalf Of Steven Acreman
Sent: 25 April 2007 08:26
To: watford at mailman.lug.org.uk
Subject: Re: [Watford] Apache2 Server on Suse 10.2


Default locations of files change between distributions. On SuSe 10 the
config files are probably in /etc/apache2 and the log files will be in
/var/log/apache2.
 
It's possible that they have also broken the config out into separate
files and referenced them with includes (allows for a more modular
setup).
 
Something I forgot to say last mail - take note of the DocumentRoot line
as this is the folder served by default.
 
Also, some default Apache installs allow for users to host their own
content from their home folders. So if you have a /home/walt as your
home directory you should be able to create a 'public_html' folder under
this and reference the content in there via http://localhost/~walt/

 
On 24/04/07, walt <walt at helvatron.co.uk> wrote: 

	Steven,  Thanks very much for responding.
	
	I have run a search for httpd.conf but beagle cannot find it.
As I 
	still dont understand the logic behind file placements in Linux
(I am
	beginning to think there isn't any) I will uninstall Apache and
	re-isntall it.  Hopefully I will then find it then and apply
your fixes.
	
	
	According to various linux sites the the file should be in
	/etc/httpd/conf/httpd.conf but the directory httpd under /etc
does not
	exist.  Yet the service is running and port 80 is open.
	
	I will keep you posted.  Many thanks again. 
	Walter
	________________________________
	
	From: watford-bounces at mailman.lug.org.uk
	[mailto:watford-bounces at mailman.lug.org.uk ] On Behalf Of Steven
Acreman
	Sent: 24 April 2007 14:14
	To: watford at mailman.lug.org.uk
	Subject: Re: [Watford] Apache2 Server on Suse 10.2
	
	
	Hey Walt,
	
	Check your httpd.conf and look for the
	
	User
	Group
	
	I believe by default these are set to nobody.
	
	Set these to whatever user your want your apache daemon to run
as.
	
	Then change the owner of the files to this userid and make sure
the user 
	has at least read access (use chown and chmod).
	
	Lastly, check your log files - access.log and error.log.
	
	Thanks,
	
	Steven Acreman
	
	
	On 24/04/07, walt < walt at helvatron.co.uk
<mailto:walt at helvatron.co.uk> > wrote:
	
	       Hi,
	
	       I hope someone knows the solution to this one. I
Installed the
	above and
	       want to configure it but I keep getting the following
message in
	firefox
	       with the URL: http://localhost <http://localhost/> .
	
	       ACCESS FORBIDDEN!
	
	       You don't have permission to access the requested
directory. 
	There is
	       either no index document or the directory is
read-protected.
	
	       ERROR 403
	
	       I am still a newbie and have no idea which directory
and/or
	document is
	       its trying to access. But I have set all the directories
under 
	apache2
	       to full access rights and yet the message still comes up
	although I
	       logon as root. I have also installed the server as root.
	
	       I also checked the web but none of the soltions there
work or I 
	don't
	       understand the instructions.
	
	       Look forward to hearing from you. Many thanks in advance.
	
	       Regards, Walter Jaggli
	
	
	       _______________________________________________ 
	       Watford mailing list
	       Watford at mailman.lug.org.uk
	       https://mailman.lug.org.uk/mailman/listinfo/watford 
	
	
	
	
	_______________________________________________
	Watford mailing list
	Watford at mailman.lug.org.uk
	https://mailman.lug.org.uk/mailman/listinfo/watford
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/watford/attachments/20070501/b5cac5f9/attachment.html


More information about the Watford mailing list