Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Redirect the connection to the local website

Hi everyone,

I am using NIOS 1c12 evaluation kit , NIOS IDE 5.0 , Microtronix Linux Extensions Version 1.4

After I "ifconfig" the target in uClinux , I can access the local website via a web browser. By default , when I browse the site , the target will take me to "/home/httpd" to read files (*.html , *.bmp , *.jpg , ...) there.

What should I do to change the default path (ie /var) instead of "/home/httpd" ???

Regards,

Quan

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    What should I do to change the default path (ie /var) instead of "/home/httpd" ???[/b]

    --- Quote End ---

    Take a look at the /etc/config/boa.conf file at the line "#DocumentRoot /var/www"

    Warm Regards