> Hi Tina,
>
> > I have installed Qmail 1.0.4 and QmailAdmin on my Redhat 7.3 box with
> Apache
> > 1.3.27.
> > The compilation went successfully. But now when i execute
> > http://mydomain.com/qmailadmin/cgi-bin/qmailadmin
> > It opens a Save As dialog box as if i am downloading the file.
> >
> > 1. My question is What Type of file qmailadmin is  (Perl,Bash Script) or
> > anything else that i need to compile in with Apache ?
>
> The source is C.
>
> > 2. When i edited it it showed me all Junk chars and when i execute it
from
> > the command prompt ./qmailadmin it prints out a HTML output ?
>
> Yes, that is exactly how it should work! ;)
>
> > How do i execute qmailadmin not showing me the Save As Dialog box ?
>
> I guess your cgi-bin directory is not defined as such in httpd.conf
> The default is to execute it like this:
> http://mydomain.com/cgi-bin/qmailadmin
> (Which is usually pre-defined in httpd.conf)
>
> If you change that, you have to define that directory as ExecCGI, like
> <Directory "/usr/lib/cgi-bin/qmailadmin">
>     deny from all
>     Options ExecCGI
>     AllowOverride AuthConfig
>     Order deny,allow
> </Directory>
>
> Maybe you might also need something like this:
> ScriptAlias /qmailadmin/cgi-bin/ /usr/lib/cgi-bin/
>
> but that depends highly on your setup (which seems to be non-standard)
>
> > If anybody of you could please help me with this will be Appreciated.
> > Thanks in Advance
>
> rule of thumb: as long as it wants to be "saved as" your cgi-bin is not
> defined the right way ;)
>
> hth,
> --franz
>
> Franz Stancl
Thanks all of you who have helped me to resolve this.

Regards,
Tina.



Reply via email to