Hi rimoth,
Yes, you can do it :-D and the
webserver is apache 2.4.3.
There are several ways to do it :
The simplest :
- save your own pages in a share (I assume that you create a subfolder 'myweb' in fvdw)
- create a
symlink in /usr/htdocs
- Code: Select all
ln -s /share/1000/fvdw/myweb /usr/htdocs/myweb
and the relevant URL would be
http://mynasmane/myweb/yourdefaultpage.html or
http://mynasmane/myweb if your default page is home.php
if you want other credential settings you must add a custom .htaccess file in your folder myweb
At each firmware upgrade you should restore the
symlinkOther solution create a virtual host:
- save your own pages in a share (I assume that you create a subfolder 'myweb' in fvdw)
- create a custom configuration file myweb.conf (I assume in the share fvdw)
- edit the conf file:
- Code: Select all
Listen yourport
<VirtualHost *:yourport>
# Directory Listing prevent
Options -Indexes +FollowSymLinks (or other options...be careful with version 2.4.3 you must always use - or + to list the selected options)
# Documentroot
DocumentRoot "/share/1000/fvdw/myweb"
DirectoryIndex yourdefaultpage
</VirtualHost>
- add in each http.x files of the folder /etc this line :
- Code: Select all
#My own host
Include /share/1000/fvdw/myweb.conf
To update the
webserver with your conf file, you should restart the web server and the url would be
http://mynasme:yourportOf course you can add more directives for your own host : for example AuthType, AuthName, AuthUserFile, Require if you want to handle a credential