can lighttpd be run on this fw

can lighttpd be run on this fw

Postby AceCuba » Sun Oct 01, 2023 3:04 am

i found this alternative to mini_httpd https://www.lighttpd.net/ becouse this supports php . can this be use in the fw ?
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: can lighttpd be run on this fw

Postby fvdw » Sun Oct 01, 2023 7:38 pm

I will see if it can be compiled for our firmware.
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: can lighttpd be run on this fw

Postby AceCuba » Mon Oct 02, 2023 12:01 am

fvdw wrote:I will see if it can be compiled for our firmware.

will be nice to have php support for small websites running locally on a nas
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: can lighttpd be run on this fw

Postby Jocko » Mon Oct 02, 2023 7:45 am

Hi

Use lighttpd whereas apache/php are already available is absolutely useless.

You can find some guidances here : viewtopic.php?f=4&t=3502#p35485

of course you can use another web server than wordpress
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: can lighttpd be run on this fw

Postby AceCuba » Mon Oct 02, 2023 1:58 pm

ooo so i can use the internal apache server insted of mini http , thats awesome
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: can lighttpd be run on this fw

Postby AceCuba » Mon Oct 02, 2023 3:08 pm

Jocko wrote:Hi

Use lighttpd whereas apache/php are already available is absolutely useless.

You can find some guidances here : viewtopic.php?f=4&t=3502#p35485

of course you can use another web server than wordpress



follow the instructions and Forbidden
You don't have permission to access /myweb on this server.
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: can lighttpd be run on this fw

Postby Jocko » Mon Oct 02, 2023 3:13 pm

Yes

You can set a custom web server :
- either by creating a virtual host using a custom port, like http://nasname:8888 (but you can not create a virtual host using a web name like http://myweb.nasname and using the same port than the firmware web-interface, so 80 or 443)
- or common with the firmware web-interface and available from an special url on the port 80/443 like http://nasmane/mywebserver. This way is described in the previous posted links
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: can lighttpd be run on this fw

Postby Jocko » Mon Oct 02, 2023 3:22 pm

AceCuba wrote:follow the instructions and Forbidden
You don't have permission to access /myweb on this server.
You have to set an .htaccess file at the root of your custom web server to destroy the settings of the firmware web-server and set custom authenticate rules https://httpd.apache.org/docs/2.4/en/howto/htaccess.html

To disable any authenticate rules, your htaccess file must contain these lines :
Code: Select all
Allow from all
Satisfy any

Options -Indexes
DirectoryIndex index.html index.php
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: can lighttpd be run on this fw

Postby AceCuba » Mon Oct 02, 2023 3:35 pm

done that same result
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Re: can lighttpd be run on this fw

Postby AceCuba » Mon Oct 02, 2023 3:38 pm

what file needs to be edited to enable the virtual host
AceCuba
Donator VIP
Donator VIP
 
Posts: 60
Joined: Sun Aug 06, 2023 4:26 am

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron