Images using wrong path?

Sean Lutner sean at techtarget.com
Tue Nov 5 19:22:07 CET 2002


I was indeed leaving off the trailing /. Doh!

However, I'm still seeing the error with all images called via a CGI. 
Which still has me stumped.
 
Jon Lyons wrote:

> Are you trying to access http://myservername.domain.com/nagios  or 
> http://myservername.domain.com/nagios/ it makes a difference, should 
> be the later one.
>
> This is what I added to the default apache httpd.conf. My nagios html 
> files are located in /usr/local/share/nagios and the cgis are located 
> in /usr/local/share/nagios/cgi-bin
>
> *Alias /nagios/ /usr/local/share/nagios 
> <Directory "/usr/local/share/nagios">
>     Options None
>     AllowOverride AuthConfig
>     Order allow,deny
>     Allow from all
> </Directory>
> *
> *ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin
> <Directory "/usr/local/share/nagios/cgi-bin">
>     AllowOverride AuthConfig
>     Options ExecCGI
>     Order allow,deny
>     Allow from all
> </Directory>
>
> *
>
>
> Jon Lyons wrote:
>
> > Just a shot in the Dark here, but since you have a second machine I'd
> > compile nagios using the default paths, and configure apache to mactch
> > the docs exactly. Just do a ./configure and use the default nagios
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> HotJobs 
> <http://rd.yahoo.com/careers/mailsig/*http://www.hotjobs.com%20> - 
> Search new jobs daily now 


-- 
Sean Lutner
Senior Systems & Network Administrator
TechTarget, Inc.
117 Kendrick St, Suite 800
Needham, MA 02494
P:  781-657-1337
F:  781-657-1100
E:  sean at techtarget.com W: http://www.techtarget.com

"Imagination is more important than knowledge." -- Albert Einstein




-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en




More information about the Users mailing list