[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] boa and kernel 2.4



Dear Sebastien,

Try to invoke the boa with -c flag which point to a particular directory, such as "/sbin/boa -c /etc/boa".

Hope this help.

regards,
chun yeow

On 7/23/07, Sebastien Baldacchino <sebastien.baldacchino@xxxxxxxxxx> wrote:

Hi all,

 

I try to execute boa with the kernel 2.4. I don't really understand because sometimes I can see my html files and sometimes it doesn't work. It is the same with cgi scripts.

When I boot uclinux, I kill the process httpd and after I execute the process boa with the command  "Boa &".

 

I have created a folder /boa with all the rights: read, write, execute. It is the same for the folder that there is inside.

My cgi scripts are inside the folder /boa/cgi-bin

 

I send you the boa .conf file.

 

Have you an idea about my problem? Where must I put the boa.conf file, in /home/httpd or in my folder /boa?

 

 

# A minimal config that makes the home page

# an unauthenticated CGI

#

ServerName uClinux

 

# DocumentRoot: The root directory of the HTML documents.

DocumentRoot /boa

 

# ScriptAlias: Maps a virtual path to a directory for serving scripts

ScriptAlias /cgi-bin/ /boa/cgi-bin/

 

#Alias /img /tmp/img

#Auth /cgi-bin/cgi_demo /etc/config/config

 

AddType text/plain         txt

AddType image/gif         gif

AddType text/html          html

AddType text/html          htm

AddType text/xml           xml

AddType image/jpeg       jpe

AddType image/jpeg       jpeg

AddType image/jpeg       jpg

AddType image/x-icon    ico

 

 

Thanks

Sebastien