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,sudois necessary to make the command run successfully. - Configure the file
/etc/apache2/sites-available/*defaultto 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
/homefolder, put theEmacs/org/publishunder/home/[USER]and then create a symbolic linkPublic -> Emacs/org/publishunder 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
userfor the NTFS partition. But it is discarded to enable the files on the partition executable sinceuseroption marskedexecoption in my system.