Hello,
Recently, I had a problem opening webpage in localhost by firefox (apache server), i.e. http://localhost. However, I solved this issue. The reason of the problem was following:
The webpage should be located at /var/www/html as mentioned in /etc/httpd/conf/httpd.conf file as <Directory "/var/www/html">.
I changed <Directory "/var/www/html"> to <Directory "/home/public_html"> and put my webpage at this directory, and try to access the localhost as http://localhost/~user. But it could not find the page.
Any suggestion how to open webpage placed at /home/public_html in localhost?
Thanks.
Recently, I had a problem opening webpage in localhost by firefox (apache server), i.e. http://localhost. However, I solved this issue. The reason of the problem was following:
The webpage should be located at /var/www/html as mentioned in /etc/httpd/conf/httpd.conf file as <Directory "/var/www/html">.
I changed <Directory "/var/www/html"> to <Directory "/home/public_html"> and put my webpage at this directory, and try to access the localhost as http://localhost/~user. But it could not find the page.
Any suggestion how to open webpage placed at /home/public_html in localhost?
Thanks.