Web server service
Table of Contents
1 Windows
From control panel launch the applications, then …, select IIS service and redirect the web-page location to your web page folder.
2 Linux
2.1 Apache server.
- Install Apache:
sudo apt-get install apache2
. Then you will see something on localhost. - Restart the apache server to enable the modified settings:
sudo apachectl -k restart
,sudo
is necessary to make the command run successfully. - Configure the file
/etc/apache2/sites-available/*default
to indicate the web page folder. - I tried to modify the configuration file to indicat directly the
web page folder to the absolute path or relative path via
symbolic link of the published html files located on the NTFS
partition. But it never works even if I give all access
permission through the mounting option in
/etc/fstab
. - When I create an ext4 partition and mount it under
/home
folder, put theEmacs/org/publish
under/home/[USER]
and then create a symbolic linkPublic -> Emacs/org/publish
under the user's folder. The access from localhost works properly. - Considering the points 4 and 5, I suspect it is because I discarded
a mounting option
user
for the NTFS partition. But it is discarded to enable the files on the partition executable sinceuser
option marskedexec
option in my system.