[SOLVED] How to change the WEB site directory?
Posted: 2019/09/01 18:45:23
I have small system disks so I want my WEB directory to be on may 44 TB RAID6 disk. The raid is up and working.
I deleted the directory html (/var/www/html) and replaced it with a link called html that points (redirect) to /mnt/raid6/www/html
I have also tried to change DocumentRoot to /mnt/raid6/www/html in httpd.conf.
(Yes, I restarted the service after every change.)
The default demo WEB page is working. The problem is my own web page (it works on my old server where the directory html is on the system disk (default installation) ).
Now i got:
epg is a sub directory under html.
I deleted the directory html (/var/www/html) and replaced it with a link called html that points (redirect) to /mnt/raid6/www/html
I have also tried to change DocumentRoot to /mnt/raid6/www/html in httpd.conf.
(Yes, I restarted the service after every change.)
The default demo WEB page is working. The problem is my own web page (it works on my old server where the directory html is on the system disk (default installation) ).
Now i got:
Code: Select all
Forbidden
You don't have permission to access /epg/ on this server.