[qmailadmin] QmailAdmin RH9 Problem

2004-06-01 Thread Adam Carnine
Hi all,

I've searched the archives for the answer to my problem with no
luck so any help I can get is greatly appreciated.

Here is what I am running:
Red Hat 9.0
Apache 2.0.49
QmailAdmin 1.2.0

I can get QmailAdmin to compile. I can get the main admin
page to display. I can login to the program. I can do one
action inside of the program (click any one of the links).
When I click the next link the program sends back a
blank page (htmlbody/body/html according to
source).

Further it appears to be duplicating a portion of code in
the URL. Here is what the URL appears to do:

1) http://www.example.com/qmailadmin.cgi
(Displays the initial login screen)

2) http://www.example.com/qmailadmin.cgi
(After Login, displays administrator menu)

3) http://www.example.com/qmailadmin.cgi/com/adduser?...
(After Clicking Add Email Account, shows the
page to add a new user account)

4) http://www.example.com/qmailadmin.cgi/com/qmailadmin.cgi/com/addusernow
(This shows a blank page, notice the double com/qmailadmin.cgi
in the URL).

Here is my configuration output, in case I've done something
here and just don't realize it.

-
   qmailadmin 1.2.0
Current settings
---
   cgi-bin dir = /www/qmailadmin
  html dir = /www/qmailadmin
 image dir = /www/qmailadmin/images
 image URL = ../images
  template dir = /usr/local/share/qmailadmin
 qmail dir = /var/qmail
  vpopmail dir = /var/vpopmail
   autorespond dir = /usr/local/bin
 ezmlm dir = /usr/bin
 ezmlm idx = yes
   mysql for ezmlm = yes
  help = no
  modify quota = no
   domain autofill = no
 modify spam check = no
-

Any help that anyone can provide is most appreciated!

-Adam



Re: [qmailadmin] QmailAdmin RH9 Problem

2004-06-01 Thread Tom Collins
On Jun 1, 2004, at 10:14 PM, Adam Carnine wrote:
Here is what I am running:
Red Hat 9.0
Apache 2.0.49
QmailAdmin 1.2.0
[snip]
3) http://www.example.com/qmailadmin.cgi/com/adduser?...
(After Clicking Add Email Account, shows the
page to add a new user account)
4)  
http://www.example.com/qmailadmin.cgi/com/qmailadmin.cgi/com/ 
addusernow
(This shows a blank page, notice the double com/qmailadmin.cgi
in the URL).
Looks apache related, but could be something in qmailadmin.
What if you go with the defaults and let qmailadmin be  
/cgi-bin/qmailadmin?

--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/


Re: [qmailadmin] QmailAdmin RH9 Problem

2004-06-01 Thread Adam Carnine
Tom,

Recompiled and installed using all defaults (except cgidir
which the configure script couldn't find).

It worked that time which leaves me at a loss as to why
it didn't work before.

Perhaps I just haven't had enough coffee yet ;-D

Thank you for your quick response.

-Adam

Tom Collins wrote:

 On Jun 1, 2004, at 10:14 PM, Adam Carnine wrote:
  Here is what I am running:
  Red Hat 9.0
  Apache 2.0.49
  QmailAdmin 1.2.0

 [snip]

  3) http://www.example.com/qmailadmin.cgi/com/adduser?...
  (After Clicking Add Email Account, shows the
  page to add a new user account)
 
  4)
  http://www.example.com/qmailadmin.cgi/com/qmailadmin.cgi/com/
  addusernow
  (This shows a blank page, notice the double com/qmailadmin.cgi
  in the URL).

 Looks apache related, but could be something in qmailadmin.

 What if you go with the defaults and let qmailadmin be
 /cgi-bin/qmailadmin?

 --
 Tom Collins  -  [EMAIL PROTECTED]
 QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
 Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Re: [qmailadmin] QmailAdmin RH9 Problem

2004-06-01 Thread Rick Widmer

Adam Carnine wrote:
Here is my configuration output, in case I've done something
here and just don't realize it.
-
   qmailadmin 1.2.0
Current settings
---
   cgi-bin dir = /www/qmailadmin
  html dir = /www/qmailadmin
 image dir = /www/qmailadmin/images
 image URL = ../images
  template dir = /usr/local/share/qmailadmin
I can't make any promises if this will fix your problem or not, but this 
does not look right...   Assuming Apache --prefix=/www, which makes your 
default DocumentRoot /www/htdocs and cgibin directory /www/cgi-bin, it 
should look like this:

--enable-cgibindir=/www/cgi-bin
This should be a directory outside of DocumentRoot with a ScriptAlias 
that allows it to run programs.

--enable-thmldir=/www/htdocs
This should be your DocumentRoot directory.
--enable-imagedir=/www/htdocs/images/qmailadmin
This should be a directory below your DocumentRoot directory, where you 
place the qmailadmin images.

--enable-imageurl=/images/qmailadmin
This should be the url of the images directory.  I don't believe a 
relative path is appropriate here.

If your /www directory is really DocumentRoot, the qmailadmin should not 
be inside it.  You should find another directory for it, outside of 
DocumentRoot and create a ScriptAlias that points at it.

Rick