Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Redirect the connection to the local website

Altera_Forum
Honored Contributor II
1,289 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
589 Views

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
0 Kudos
Reply