[plug] help request: installing web server on Debian

Jon Miller jlmiller at mmtnetworks.com.au
Mon Jul 12 15:42:19 WST 2004


Doing a ps -A it does show apache running, I still get the server error: 403 Forbidden; access denied; /doc/index on Firefox.  why is it showing /doc/index when it should be /var/www/index.html or just index.html?  Is this a permission issue? 
I did an apt-get install apache to install apache and made the changes to the Bindaddress *  by removing the # in front of the line and added the name of the domain to the ServerName line and then save the file.  I issued a /etc/init.d/apache restart and tried to access it with a browser and got the message.  I then checked to this with lynx and I get the webpage (I'm expecting) so I feel apache is working.  
It is possible that this may be a firewall issue from the router.  If anyone can think of anything else I need to look into I would appreciate it.

Thanks


Jon

Jon L. Miller, MCNE, CNS, ASE
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au

"I don't know the key to success, but the key to failure
 is trying to please everybody." -Bill Cosby



>>> onno at itmaze.com.au 9:13:55 am 9/07/2004 >>>
First of all: *STOP* sending HTML attachments.

On Fri, 2004-07-09 at 10:00, Jon Miller wrote:
> After installing Apache on a Debian server and trying to access the
> site I keep getting a HTTP 403 Forbibben, I haven't added anything
> special in /etc/apache/httpd.conf other than what I want on and not on
> (signatures = off)
> The only file in /var/www is the index.html with the following
> permissions
> -rw-r--r--    1 root     root         4110 Oct 26  2002 index.html

Does ps -A show apache running? (It should)

The 403 Forbidden message should create an entry in both
/var/log/apache/error.log and /var/log/apache/access.log.

Your extract does not show this.

> output of /var/log/apache/error.log
> 
> [Fri Jul  9 06:25:01 2004] [notice] SIGUSR1 received.  Doing graceful restart
> [Fri Jul  9 06:25:01 2004] [error] (2)No such file or directory: mod_mime_magic: can't read magic file /etc/apache/share/magic
> [Fri Jul  9 06:25:01 2004] [notice] Apache/1.3.26 (Unix) Debian GNU/Linux configured -- resuming normal operations
> [Fri Jul  9 06:25:01 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache/suexec)
> [Fri Jul  9 06:25:01 2004] [notice] Accept mutex: sysvsem (Default: sysvsem)


> Do I need to establish a link to the magic file in /etc?

No, there is something else broken there, because I don't have that
directory either.


Onno Benschop 

Connected via Optus B3 at S27°52'30" - E151°16'25" (Millmerran, QLD)
-- 
()/)/)()        ..ASCII for Onno.. 
|>>?            ..EBCDIC for Onno.. 
--- -. -. ---   ..Morse for Onno.. 

Proudly supported by Skipper Trucks, Highway1, Concept AV, Sony Central, Dalcon
ITmaze - ABN: 56 178 057 063 - ph: 04 1219 8888 - onno at itmaze dot com dot au

_______________________________________________
PLUG discussion list: plug at plug.linux.org.au 
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug 
Committee e-mail: committee at plug.linux.org.au 






More information about the plug mailing list