Walt,<br><br>I have just installed openSUSE 10.2. I selected the apache package from the software list during install and below details what I did to get it to serve the default page.<br> <br>The apache config is here: /etc/apache2/httpd.conf. (found it with a search: find / -name
httpd.conf -print)<br><br>There are includes in this file from all over the place! I prefer to include all my configuration settings directly into apache for simplicities sake as it makes it quicker and easier for me to admin.
<br><br>For me to get apache to run:<br><br>Firstly open a Shell window and tail the apache log file: <br><br>shell:# tail -f /var/log/apach2/error_log<br><br>Tailing the log log file will keep you informed of any issues. Try and start apache:
<br> <br>shell:# apache2ctl start<br><br>When trying to start apache I got this error:<br><br>httpd2: Syntax error on line 188 of /etc/apache2/httpd.conf: Could not open configuration file /etc/apache2/sysconfig.d/include.conf: No such file or directory
<br><br>I commented out this include file in /etc/apache2/httpd.conf and replaced <br>/etc/apache2/sysconfig.d/include.config <br>with <br>#/etc/apache2/sysconfig.d/include.config.<br><br>I then started apache and it burst into life (this shell essentially runs "/sbin/httpd &"):
<br><br>shell:# apache2ctl start<br><br>When I surf locally on <a href="http://localhost">http://localhost</a> I see It Works! in the Firefox browser. <br> <br>Additionally the config for the default website is in the file /eetc/apache2/default-
server.conf and the directory where the pages are being surfed from are is here: /srv/www/htdocs. With your specific error please ensure you have a index.html file in your htdocs directory. (if it is different to the one specified find it with "find / -name htdocs -print")
<br> <br>Mark<br><br><br> <br><br> <br> <br> <br><br><span class="gmail_quote">On 10/05/07, <b class="gmail_sendername">walt</b> <<a href="mailto:walt@helvatron.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
walt@helvatron.co.uk </a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Thanks Cliff,<br><br>I might not bring the PC but I have aleady put the 5th June down for<br>attending the LUG meeting.<br><br>And no, I wont give up, I just deferred it. I do a lot of Windows stuff<br>and networks but I have always skirted around Linux. Its time to change
<br>that and I was hoping to host a clients Website(s) on a Linux box. But,<br>for the moment, we are back on IIS.<br><br>Hope to see you soon.<br>Walter<br><br>-----Original Message-----<br>From: <a href="mailto:watford-bounces@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
watford-bounces@mailman.lug.org.uk</a><br>[mailto:<a href="mailto:watford-bounces@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">watford-bounces@mailman.lug.org.uk</a>] On Behalf Of Cliff Deamer
<br>Sent: 10 May 2007 09:01<br>To: <a href="mailto:watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> watford@mailman.lug.org.uk</a><br>Subject: RE: [Watford] Apache2 Server on Suse
10.2<br><br>Hi Walter,<br>Don't give up!<br>i am sorry that I can't answer your question but i feel sure that it can<br>be solved within the group. <br>Perhaps you can bring your PC to the next meeting and you can get some
<br>hands on advice.<br>Next meeting 5th June at the Sun Sports centre.<br>Cliff<br><br>On Tue, 2007-05-01 at 10:44 +0100, walt wrote:<br>> Thanks again, Steve. Sorry I haven't responded till now but a job <br>> took me away.
<br>><br>> I have tried all this but I cannot get it to work. I have googled<br>> till I dropped but I dont understand a lot of the instructions because<br><br>> they usually refer to a different distro. The upshot is that I will
<br>> have to give up on Linux for the time being and use windows (most<br>> unfortuante). Maybe later this year, when things ease up a bit I will<br><br>> go back to it. I realy must get some sort of course for Unix/Linux
<br>> but there is very little out there or it costs a fortune.<br>><br>> meantime, best regards, Walter.<br>><br>><br>> ______________________________________________________________________<br>> From:
<a href="mailto:watford-bounces@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">watford-bounces@mailman.lug.org.uk</a><br>> [mailto:<a href="mailto:watford-bounces@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
watford-bounces@mailman.lug.org.uk</a>] On Behalf Of Steven<br> > Acreman<br>> Sent: 25 April 2007 08:26<br>> To: <a href="mailto:watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
watford@mailman.lug.org.uk</a><br>> Subject: Re: [Watford] Apache2 Server on Suse 10.2<br>><br>><br>><br>> Default locations of files change between distributions. On SuSe 10 <br>> the config files are probably in /etc/apache2 and the log files will
<br>> be in /var/log/apache2.<br>><br>> It's possible that they have also broken the config out into separate<br>> files and referenced them with includes (allows for a more modular <br>> setup).<br>>
<br>> Something I forgot to say last mail - take note of the DocumentRoot<br>> line as this is the folder served by default.<br>><br>> Also, some default Apache installs allow for users to host their own <br>> content from their home folders. So if you have a /home/walt as your
<br>> home directory you should be able to create a 'public_html' folder<br>> under this and reference the content in there via<br> > <a href="http://localhost/~walt/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://localhost/~walt/</a><br>><br>><br>> On 24/04/07, walt <<a href="mailto:walt@helvatron.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">walt@helvatron.co.uk</a>> wrote:<br>
> Steven, Thanks very much for responding. <br>><br>> I have run a search for httpd.conf but beagle cannot find<br>> it. As I<br>> still dont understand the logic behind file placements in
<br>> Linux (I am<br>> beginning to think there isn't any) I will uninstall Apache <br>> and<br>> re-isntall it. Hopefully I will then find it then and apply<br>> your fixes.
<br>><br>><br>> According to various linux sites the the file should be in<br>> /etc/httpd/conf/httpd.conf but the directory httpd under /etc <br>> does not<br>> exist. Yet the service is running and port 80 is open.
<br>><br>> I will keep you posted. Many thanks again.<br>> Walter<br>> ________________________________ <br>><br>> From: <a href="mailto:watford-bounces@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
watford-bounces@mailman.lug.org.uk</a><br>> [mailto:<a href="mailto:watford-bounces@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">watford-bounces@mailman.lug.org.uk
</a> ] On Behalf Of<br>> Steven Acreman<br>> Sent: 24 April 2007 14:14<br>> To: <a href="mailto:watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
watford@mailman.lug.org.uk</a><br>> Subject: Re: [Watford] Apache2 Server on Suse 10.2<br>><br>><br>> Hey Walt,<br>><br>> Check your httpd.conf and look for the<br>><br>> User
<br>> Group<br>><br>> I believe by default these are set to nobody. <br>><br>> Set these to whatever user your want your apache daemon to run<br>> as.<br>><br>> Then change the owner of the files to this userid and make
<br>> sure the user<br> > has at least read access (use chown and chmod).<br>><br>> Lastly, check your log files - access.log and error.log.<br>><br>> Thanks,<br>><br>> Steven Acreman
<br>><br> ><br>> On 24/04/07, walt <<a href="mailto:walt@helvatron.co.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">walt@helvatron.co.uk</a>> wrote:<br>><br>> Hi,
<br>><br>> I hope someone knows the solution to this one. I <br>> Installed the<br>> above and<br>> want to configure it but I keep getting the following<br>> message in
<br>> firefox<br>> with the URL: <a href="http://localhost" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://localhost</a> <<a href="http://localhost/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://localhost/</a>> .<br>><br>> ACCESS FORBIDDEN!<br>><br>> You don't have permission to access the requested <br>> directory.<br>> There is<br>> either no index document or the directory is
<br>> read-protected.<br>><br>> ERROR 403<br>><br>> I am still a newbie and have no idea which directory <br>> and/or<br>> document is<br>> its trying to access. But I have set all the
<br>> directories under<br>> apache2<br>> to full access rights and yet the message still comes <br>> up<br>> although I<br>> logon as root. I have also installed the server as
<br>> root.<br>><br>> I also checked the web but none of the soltions there <br>> work or I<br>> don't<br>> understand the instructions.<br>><br>
> Look forward to hearing from you. Many thanks in<br>> advance.<br>><br> > Regards, Walter Jaggli<br>><br>><br>> _______________________________________________
<br>> Watford mailing list<br>> <a href="mailto:Watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> Watford@mailman.lug.org.uk</a><br>>
<a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://mailman.lug.org.uk/mailman/listinfo/watford</a><br>><br>><br>><br>><br>
> _______________________________________________ <br>> Watford mailing list<br>> <a href="mailto:Watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Watford@mailman.lug.org.uk</a><br>> <a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://mailman.lug.org.uk/mailman/listinfo/watford
</a><br>><br>> _______________________________________________<br>> Watford mailing list<br>> <a href="mailto:Watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Watford@mailman.lug.org.uk</a><br>> <a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> https://mailman.lug.org.uk/mailman/listinfo/watford
</a><br><br><br>_______________________________________________<br>Watford mailing list<br><a href="mailto:Watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Watford@mailman.lug.org.uk
</a><br><a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> https://mailman.lug.org.uk/mailman/listinfo/watford</a><br><br>_______________________________________________
<br>Watford mailing list<br><a href="mailto:Watford@mailman.lug.org.uk" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Watford@mailman.lug.org.uk</a><br><a href="https://mailman.lug.org.uk/mailman/listinfo/watford" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://mailman.lug.org.uk/mailman/listinfo/watford</a><br></blockquote><br>