You are not logged in.

#1 2018-11-01 20:10:08

schwim
Member
From: Coastal VA, Murica
Registered: 2015-09-29
Posts: 342
Website

[SOLVED] my /var/www symlink isn't symlinking

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

#2 2018-11-01 20:24:13

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] my /var/www symlink isn't symlinking

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

#3 2018-11-01 20:59:27

schwim
Member
From: Coastal VA, Murica
Registered: 2015-09-29
Posts: 342
Website

Re: [SOLVED] my /var/www symlink isn't symlinking

Hah, why didn't I notice that!  Thanks again for fixing my messups big_smile


Schw.im! A social site with an identity crisis.

Offline

#4 2018-11-01 21:23:53

iMBeCil
WAAAT?
From: Edrychwch o'ch cwmpas
Registered: 2015-09-29
Posts: 767

Re: [SOLVED] my /var/www symlink isn't symlinking

Ha ... glad it worked.

Got any more problems? It seems today is my day  smile

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

Board footer

Powered by FluxBB