[qmailadmin] Re: Apache Config/Install Errors

2004-04-06 Thread Jonathan Shaw
Adam Ossenford writes: 

Hello, 

  This is my first post and at the cost of getting some nasty replies I have a  
question about the installation.  I have been following the install guide  
from www.qmailrocks.org and have ran into a problem.  qmail admin compiles  
and installs just fine.  I have already installed and tested vqadmin but  
everytime I access http://myserver.com/cgi-bin/qmailadmin is just sends me a  
text file.  the server was accessed 1 time before a domain and domain user  
was created but I cannot find the answer to my question anywhere.  I am  
thinking apache is not rendering this file as a cgi program because it lacks  
an extension.  I have googled for hours and tried about 50 different configs  
for apache and nothing seems to work.  qmailadmin will only serve me a text  
file that looks like binary or machine language. 
I am very confused at this point. 
Please refrain from telling me how dumb this question is :), I know it's dumb  
but I had to ask. 

thank you for your help 

sincerely, 

Adam Ossenford 

Adam,
Make sure the file is marked executable.
ie.
chmod +x /path_to_qmailadmin/qmailadmin 

-Jonathan 




[qmailadmin] Re: Apache Config/Install Errors

2004-04-05 Thread Adam Ossenford
First of all, Thank you for the quick response.

I have tried many combinations of configurations.  I set up mime.types with a 
blank extension for application/x-httpd-cgi, I have changed the servers 
DefaultType to be application/x-httpd-cgi instead of text.  Added +ExecCGI to 
the directory, installed to other directories and configured correctly.  but 
to no avail, I still only receive a binary text file of the qmailadmin cgi 
script.  I think it has to be an apache problem.  I have tried script alias, 
setting it's own Directory container.  Using the current cgi-bin directory 
and still the same thing happens.  for some reason apache will not serve it 
as a cgi script.  I will keep trying but no luck yet,  /cgi-bin/ .cgi files 
work because I have tested them.  for some reason it just doesn't like me.

slackware 9.1, apache 1.3.29

sincerely,

Adam Ossenford



Re: [qmailadmin] Re: Apache Config/Install Errors

2004-04-05 Thread Rick Widmer


Adam Ossenford wrote:

First of all, Thank you for the quick response.

I have tried many combinations of configurations.  I set up mime.types with a 
blank extension for application/x-httpd-cgi, I have changed the servers 
DefaultType to be application/x-httpd-cgi instead of text.  Added +ExecCGI to 
the directory, installed to other directories and configured correctly.  but 
to no avail, I still only receive a binary text file of the qmailadmin cgi 
script.  I think it has to be an apache problem.  I have tried script alias, 
setting it's own Directory container.  Using the current cgi-bin directory 
and still the same thing happens.  for some reason apache will not serve it 
as a cgi script.  I will keep trying but no luck yet,  /cgi-bin/ .cgi files 
work because I have tested them.  for some reason it just doesn't like me.


Mine works with ScriptAlias (Yes you were right Jeremy.)  With that you 
can expect every program in the directory to be executed rather than 
sent.  Several of your other choices should too.  I suggest you use one 
of them and put another executable program in cgi-bin and see if it gets 
executed.  That will confirm if it is an Apache problem.

You do have exec permission allowed for the web user, and reload or 
restart Apache after all config file changes, right?

Rick