You are not logged in.
Hi there Everyone!
On BL install, I used the welcome script to install the Apache server and it's running without issue but the symlink to ~/htdocs is not working. If I visit /localhost/schwim, it results in a 404(there is an index.html file)
schwim@schwim-vm-bl:/var/www$ ls -la
total 12
drwxr-xr-x 3 root root 4096 Jan 11 2018 .
drwxr-xr-x 12 root root 4096 Jan 11 2018 ..
drwxr-xr-x 2 root root 4096 Jan 11 2018 html
lrwxrwxrwx 1 root root 19 Jan 11 2018 schwim -> /home/schwim/htdocs
schwim@schwim-vm-bl:/var/www$
localhost does show the default Apache page and phpmyadmin is accessible.
What have I done wrong?
Last edited by schwim (2018-11-01 20:59:51)
Schw.im! A social site with an identity crisis.
Offline
Hm ... if http://yoursite/ works, then probably, your link
lrwxrwxrwx 1 root root 19 Jan 11 2018 schwim -> /home/schwim/htdocs
should be inside '/var/www/html' directory. (At the moment it is 'only' inside '/var/www'.) And it should work with the address http://yoursite/schwim
Try deleting old link, and creating a new one.
Last edited by iMBeCil (2018-11-01 20:25:30)
Postpone all your duties; if you die, you won't have to do them ..
Offline
Ha ... glad it worked.
Got any more problems? It seems today is my day
Just kidding, it's time to sleep. Good night. O:)
Postpone all your duties; if you die, you won't have to do them ..
Offline