httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Iverson <sh...@nccsc.k12.in.us>
Subject RE: [users@httpd] Fedora Core 1 - Apache 2.0.47-10 - 403 Forbidde n - mrtg (FIXED)
Date Thu, 08 Jan 2004 12:55:12 GMT

>From the Fedora List:

Ah, yes. I was unaware of the Apache conf.d files. Edited those and
everything is groovy. Thanks!

- -Pete

Don wrote:


| On Tue, 2003-12-16 at 19:17, Peter Loron wrote:
|
|>-----BEGIN PGP SIGNED MESSAGE-----
|>Hash: SHA1
|>
|>I installed MRTG when I originally installed FC1. I've set up an Alias
|>and Directory entry in httpd.conf, but when I try to hit the mrtg
|>directory, I get "access denied". Any ideas? Anybody else get this
working?
|
|
| How are you trying to access it? http://localhost/mrtg ?
|
| There is another config file for mrtg... /etc/httpd/conf.d/mrtg.conf
| which defines mrtg as an alias to /var/www/mrtg
|
| So, you need to use another directory name/ref in your /var/www/html
| file or change the permissions so /var/www/mrtg is readable bt apache
| ... and possibly executable too.
|
|
| --
| fedora-list mailing list
| fedora-list redhat com
| To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


iD8DBQE/4497aipdndPOPFMRAmsSAKCXwP033UKUv7ode8PdkRPNGKKNXQCeKJ+0
2MHdrkUF3nqzA2lDQQg4dh0=
=DY42
-----END PGP SIGNATURE-----

> -----Original Message-----
> From: Shawn Iverson [mailto:shawn@nccsc.k12.in.us]
> Sent: Thursday, January 08, 2004 7:40 AM
> To: 'users@httpd.apache.org'
> Subject: RE: [users@httpd] Fedora Core 1 - Apache 2.0.47-10 - 403
> Forbidde n - mrtg
> 
> 
> 
> 
> > What is the DocumentRoot? How are you attempting to access
> > /var/www/mrtg?
> > 
> > If your docroot is /var/www/html, then you access
> > /var/www/html/file.html via URL http://server/file.html 
> > therefore it is
> > impossible to address a file in /var/www/mrtg since it is not 
> > under the
> > docroot. 
> > 
> > If your problem is not some path confusion, as described above, then
> > check that you are editing the correct config file, or, that 
> > the apache
> > that is running is really the one that you are editing (put 
> an obvious
> > synatx error in the config and try a restart - it should detect it).
> > You'd be suprised how often people waste time editing one 
> config when
> > the apache they're running is really a default vendor version 
> > reading a
> > different file.
> > 
> > Rgds,
> > Owen Boyle
> > Disclaimer: Any disclaimer attached to this message may be ignored. 
> > 
> 
> DocumentRoot is /var/www/html.  Now I tried moving mrtg into 
> DocumentRoot,
> and it didn't work.
> I did restart apache after I removed the alias and <Document 
> "..."> settings
> when trying this.
> (see information below)
> 
> I inserted a syntax error and restarted apache.  It failed 
> and pointed to
> the error.
> So yes, I must be editing the right config 
> (/etc/httpd/conf/httpd.conf),
> and only one instance of apache resides on my server.
> 
> 
> A
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message