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++
12745 Discussions

Redirect the connection to the local website

Altera_Forum
Honored Contributor II
1,260 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
560 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