As part of a couple of projects where I'm using Puppy, I've been having on-going troubles of various sorts... but I thought I'd post a question to try and resolve this one issue.
I'm running a frugal installation of F96-CE_4 and comparing it to a similar installation of BionicPup64 8.0, both installed on their own USB flash drives with only the ISO contents, as well as the relevant 'devx' .sfs file loaded after startup.
In short, running the 'Hiawatha' web server doesn't work 'out of the box' in F96-CE, whereas it works Ok in BionicPup64... and this is the case on different PCs, with BIOS and UEFI booting.
For F96-CE:
Code: Select all
# hiawatha -k
Using /etc/hiawatha
Reading hiawatha.conf
Reading /etc/mime.types
Configuration OK.
#
#
# hiawatha -d
Press Ctrl-C to shutdown the Hiawatha webserver.
...and I then:
- start Firefox
- enter the address: http://localhost/ AND 'hard refresh' the page...
...and a page is displayed:
'Forbidden (403)'
...which tells me the server is working but there's perhaps some 'permission' problem... maybe.
- close Firefox
- stop the web server & exmaine the log:
Code: Select all
# hiawatha -d
Press Ctrl-C to shutdown the Hiawatha webserver.
^C
#
# cat /var/log/hiawatha/error.log
127.0.0.1|Sun 09 Jun 2024 17:08:23 +1000|access denied via filesystem
127.0.0.1|Sun 09 Jun 2024 17:08:36 +1000|access denied via filesystem
127.0.0.1|Sun 09 Jun 2024 17:08:36 +1000|access denied via filesystem
#
- start Firefox again
- enter the address: http://localhost/ AND 'hard refresh' the page...
...and a page is displayed:
Unable to connect
An error occurred during a connection to localhost.
...which I think indicates there is no server running
- close Firefox
For BionicPup64:
Code: Select all
# hiawatha -k
Using /etc/hiawatha
Reading hiawatha.conf
Reading /etc/mime.types
Configuration OK.
#
#
# hiawatha -d
Press Ctrl-C to shutdown the Hiawatha webserver.
...and I then:
- Start Pale Moon
- enter the address: http://localhost/ AND 'hard refresh' the page...
...and the default page is displayed (that is /root/Web-Server/index.html)
...which suggests the web server is working Ok.
- close Pale Moon
- stop the web server & exmaine the log:
Code: Select all
# hiawatha -d
Press Ctrl-C to shutdown the Hiawatha webserver.
^C
#
# cat /var/log/hiawatha/error.log
#
...that is, the error.log
file is empty
- Start Pale Moon again
- enter the address: http://localhost/ AND 'hard refresh' the page...
...and a page is displayed:
Pale Moon can't establish a connection to the server at localhost.
...which I think indicates there is no web server running
- close Pale Moon
To note:
the files in
/etc/hiawatha
and/root/Web-Server
in both distributions have the same ownership and contain the same files
I've gone through the same process on different PCs, with and without an active internet connection, via an ethernet port or a wireless adapter and the (mis-)behaviour is the same
I've also had successful behaviour 'out of the box' in all these environments using xenialpup64 7.5 and tahrpup64 6.0.5
I'd greatly appreciate any suggestions on where to explore next.