Re: Apache question on SUSE 9.1 Pro.
From: Paul J Gans (gans_at_panix.com)
Date: 08/29/04
- Next message: Paul J Gans: "Re: Apache question on SUSE 9.1 Pro."
- Previous message: Kevin Nathan: "Re: Why Linux Won't Win Against Windows - Part II"
- In reply to: Synful: "Apache question on SUSE 9.1 Pro."
- Next in thread: Gonzalo: "Re: Apache question on SUSE 9.1 Pro."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 Aug 2004 03:43:27 +0000 (UTC)
Synful <andrew.tunney@ozemail.com.au> wrote:
>Morning,
>Been pulling my hair out trying to get a website up for my internal network
>at home. I have the apache service / daemon running with no issues.
>The problem however is that I get the following error when trying to connect
>to the default web site:
>"Access forbidden!
> You don't have permission to access the requested directory. There is
>either no index document or the directory is read-protected.
>If you think this is a server error, please contact the webmaster.
>Error 403
>andrew
> Sun Aug 29 10:48:45 2004
> Apache/2.0.49 (Linux/SuSE) "
>I've coem to SUSE from Fedora where this sort of issue never arose.
>I do notice however that SUSE does have some subtle differences in
>comparison to SUSE in terms of file location.
>My default web site files are in /srv/www/htdocs as per the apache
>configuration in YAST, with the different locations for files, I am sure
>that there is something very simple that I'm missing.
>I love SUSE & find it much better than Fedora in terms of speed & useability
>but little things like this are very frustrating :-(
>--
>Regards,
When you set Apache up (with YAST) it should serve you a
test page which is in /srv/www/htdocs. Did you see that
page?
All you need do is point your browser at
and they should come up.
The way the Apache configuration files are set up, your
documents should go into the htdocs directory. I'm
not sure I understand what you mean by "with the different
locations for files,..."
Apache has not made it easy to edit the configuration
files (which on my system are in /etc/apache2). Instead
of the old three files and the newer single file, there
are now a bunch of files in that directory. This makes
it easy for YAST to automatically update the configuration
files when you add something such as PHP support and the
like -- but it does make it hard to change the default
directory and the like.
If you are using /srv/www/htdocs as the directory in
which you place your html files, then the next question
is: did you use the url I gave above. If the answer
is yes, and if the file permissions are OK (drwxr-xr-x
on my system with the directory owned by root) and the
file permissions are set to -r-xr-xr-x and owned by root,
then the problem is in the configuration files.
Let us know and we'll see if we can help.
------ Paul J. Gans
- Next message: Paul J Gans: "Re: Apache question on SUSE 9.1 Pro."
- Previous message: Kevin Nathan: "Re: Why Linux Won't Win Against Windows - Part II"
- In reply to: Synful: "Apache question on SUSE 9.1 Pro."
- Next in thread: Gonzalo: "Re: Apache question on SUSE 9.1 Pro."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|