I'd like to run Apache server on my DS218+. I need it only inside the home network. I don't need Wordpress/Joomla etc.
I only need Apache for presentation a simple static content.
I have experience with AIX and running Apache.
I installed package Apache 2.4, Web station say Apache is running, I see some Apache processes:
ps -ef|grep http
root 18277 1 0 Oct29 ? 00:00:02 /var/packages/Apache2.4/target/usr/local/bin/httpd24
http 18467 18277 0 Oct29 ? 00:00:00 /var/packages/Apache2.4/target/usr/local/bin/httpd24
http 18570 18277 0 Oct29 ? 00:00:00 /var/packages/Apache2.4/target/usr/local/bin/httpd24
But I do'nt know where is DocumentRoot of Apache. Synology support claims that -> /volume1/web
I have inside this dir:
DS218:/volume1/web$ ls -l
drwxrwxrwx+ 1 root root 8 Oct 25 21:01 @eaDir
-rwxrwxrwx+ 1 http http 1474 Oct 25 21:01 index.html
I try to responce of Apache...
wget --spider -O - http://localhost/index.html
I receive this:
Spider mode enabled. Check if remote file exists.
--2019-10-30 19:23:49-- http://localhost/index.html
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2019-10-30 19:23:50-- (try: 2) http://localhost/index.html
Reusing existing connection to localhost:80.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
Synology support couldn't advise me.
Somebody will advise me here, what I doing wrong?
I only need Apache for presentation a simple static content.
I have experience with AIX and running Apache.
I installed package Apache 2.4, Web station say Apache is running, I see some Apache processes:
ps -ef|grep http
root 18277 1 0 Oct29 ? 00:00:02 /var/packages/Apache2.4/target/usr/local/bin/httpd24
http 18467 18277 0 Oct29 ? 00:00:00 /var/packages/Apache2.4/target/usr/local/bin/httpd24
http 18570 18277 0 Oct29 ? 00:00:00 /var/packages/Apache2.4/target/usr/local/bin/httpd24
But I do'nt know where is DocumentRoot of Apache. Synology support claims that -> /volume1/web
I have inside this dir:
DS218:/volume1/web$ ls -l
drwxrwxrwx+ 1 root root 8 Oct 25 21:01 @eaDir
-rwxrwxrwx+ 1 http http 1474 Oct 25 21:01 index.html
I try to responce of Apache...
wget --spider -O - http://localhost/index.html
I receive this:
Spider mode enabled. Check if remote file exists.
--2019-10-30 19:23:49-- http://localhost/index.html
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2019-10-30 19:23:50-- (try: 2) http://localhost/index.html
Reusing existing connection to localhost:80.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
Synology support couldn't advise me.
Somebody will advise me here, what I doing wrong?