[plug] help request: installing web server on Debian[Scanned]
Garry
garbuck at westnet.com.au
Sat Jul 10 00:22:11 WST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jon Miller wrote:
| Can access the web server from internal LAN, cannot access it from a
external location.
|
============
In /etc/apache/http.conf, have a look for this section. It looks like it
_may_ be something..
#
# Controls who can get stuff from this server.
#
~ Order allow,deny
~ Allow from all
HTH
Garry
| 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
|
|
|
|
|>>>ranz at himladeon.com 8:39:10 am 8/07/2004 >>>
|
|
| Hi Jon,
|
|
|>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
|>
|>
|>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)
|
|
| These error messages are quite normal for Apache and I wouldn't think
| they have any bearing on why you get your 403 message.
|
| May I suggest you take a look at your "Order allow,deny" part and put in
| your httpd.conf file and allow from your lan: ie.:
|
| Allow from 192.168.0.0/255.255.255.0
|
| As an example
|
|
|>Do I need to establish a link to the magic file in /etc?
|
|
| you could -> but it would have to be __REAL MAGIC___ :)
|
| Regards,
|
| Randal Adamson
| _______________________________________________
| 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
|
|
| ------------------------------------------------------------------------
|
| Can access the web server from internal LAN, cannot access it from a
| external location.
|
| 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
|
|
|
| >>> ranz at himladeon.com 8:39:10 am 8/07/2004 >>>
|
| Hi Jon,
|
| > 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
| >
| >
| > 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)
|
| These error messages are quite normal for Apache and I wouldn't think
| they have any bearing on why you get your 403 message.
|
| May I suggest you take a look at your "Order allow,deny" part and put in
| your httpd.conf file and allow from your lan: ie.:
|
| Allow from 192.168.0.0/255.255.255.0
|
| As an example
|
| > Do I need to establish a link to the magic file in /etc?
|
| you could -> but it would have to be __REAL MAGIC___ :)
|
| Regards,
|
| Randal Adamson
| _______________________________________________
| 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
|
|
| ------------------------------------------------------------------------
|
| _______________________________________________
| 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
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA7sYzvdH9DANniC8RAk7pAKCLzXRNNWPw5R9uGpdGrHGVz18cGwCeLVpq
07VaJkikKUD1AeCiF63r6IQ=
=XG43
-----END PGP SIGNATURE-----
More information about the plug
mailing list