Apache won't start after creating symbolic link
Posted
by
Carlin
on Super User
See other posts from Super User
or by Carlin
Published on 2012-12-19T10:59:11Z
Indexed on
2012/12/19
11:05 UTC
Read the original article
Hit count: 432
I'm installing apache for the first time and trying to display some webpages on localhost. Apache's default path for serving web pages is /var/www/html/
but I don't have permissions to write there. Rather than change ownership of the entire directory, I decided to get rid of the /html/
folder in /var/www/
and created it in my home directory. Then I made a symbolic link ln -s /home/me/html/ /var/www/
hoping Apache would serve web pages from my home directory while keeping the default path and following the symbolic link to my home directory. When I go to start the apache service with service httpd start I get Job failed. See system journal and 'systemctl status' for details.
© Super User or respective owner