Starquest321
asked on
CentOS Installation
http://www.tecmint.com/install-apache-mysql-php-on-redhat-centos-fedora/
I have followed the steps above to install for a Cent OS 6.4
All seems to be working except that my test page is not loading. Is there a firewall issue?
I have followed the steps above to install for a Cent OS 6.4
All seems to be working except that my test page is not loading. Is there a firewall issue?
Have you added virtual host in apache for your application/folder..
ASKER
how do I do that? A little new at it
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have updated the file as per your suggestion - but still no change. .
image.png
image.png
What error do you get and from where are you trying to load the test page? From the CentOS server or from an other location?
#sestatus
enforcing
#ls -lZ /var/www/html
then
#cd /var/www/html
#restorecon -R index.html <whatever is the document you used as index page>
Its SE-Linux mode which is not executing the file with different context
#ls -lZ /var/www/html
enforcing
#ls -lZ /var/www/html
then
#cd /var/www/html
#restorecon -R index.html <whatever is the document you used as index page>
Its SE-Linux mode which is not executing the file with different context
#ls -lZ /var/www/html
Make sure you did the following
1) Restart Apache after making the changes (/etc/init.d/httpd restart)
2) make sure the file you are hitting is placed under /var/www/html
3) if you are hitting the server from other machine...put a host entry with ip and domain name
Example:
For Linux : edit /etc/hosts file and add below line
192.**.**.**(Your ip) test.nadian-investments.co m
For windows edit C://windows/system32/drive rs/etc/hos ts file and add
192.**.**.**(Your ip) test.nadian-investments.co m
This is added if your domain is invalid..
Also check /var/log/httpd/test.error_ log for more details
1) Restart Apache after making the changes (/etc/init.d/httpd restart)
2) make sure the file you are hitting is placed under /var/www/html
3) if you are hitting the server from other machine...put a host entry with ip and domain name
Example:
For Linux : edit /etc/hosts file and add below line
192.**.**.**(Your ip) test.nadian-investments.co
For windows edit C://windows/system32/drive
192.**.**.**(Your ip) test.nadian-investments.co
This is added if your domain is invalid..
Also check /var/log/httpd/test.error_
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.