can lighttpd be run on this fw

Re: can lighttpd be run on this fw

Postby Jocko » Tue Oct 03, 2023 1:12 pm

Hi

AceCuba wrote:done that same result
Some more information.
The file ".htaccess" must be stored at the root of the share where you put the files of your web server. So for example if you create a share "myweb", the location is /direct-usb/myweb. About its name it must be exactly ".htaccess" (So name beginning with a ".")

If you use as url http://nasname/myweb you have to create a default html/php page with name "index.html" or "index.php" (according to the directive "DirectoryIndex index.html index.php"). So if it is not the case, you have to rename your default loaded html/php page or update the directive "DirectoryIndex" with your custom filename

Anyhow to check if all is right, you can create a file index.php with the content
Code: Select all
<html><body><?php echo "<p>Hello !</p>"; ?></body></html>
if get "Hello" when you use the url http://nasname/myweb then apache and php settings are Ok
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron