Page 1 of 2

can lighttpd be run on this fw

PostPosted: Sun Oct 01, 2023 3:04 am
by AceCuba
i found this alternative to mini_httpd https://www.lighttpd.net/ becouse this supports php . can this be use in the fw ?

Re: can lighttpd be run on this fw

PostPosted: Sun Oct 01, 2023 7:38 pm
by fvdw
I will see if it can be compiled for our firmware.

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 12:01 am
by AceCuba
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

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 7:45 am
by Jocko
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

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 1:58 pm
by AceCuba
ooo so i can use the internal apache server insted of mini http , thats awesome

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 3:08 pm
by AceCuba
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.

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 3:13 pm
by Jocko
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

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 3:22 pm
by Jocko
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

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 3:35 pm
by AceCuba
done that same result

Re: can lighttpd be run on this fw

PostPosted: Mon Oct 02, 2023 3:38 pm
by AceCuba
what file needs to be edited to enable the virtual host