Updated To FOG 1.4.0 - Getting Blank White Page
-
Recently updated to the latest stable version of 1.4.0. After going through the following process
- Yum Update
- Git Pull
- Run 1.4.0 Installer/Upgrade
I get a blank white page when trying to type the IP of the FOG Server Directly. However, When I type the full address it works fine getting to the GUI Login.
I double checked my /var/www/html/index.php file and everything looks good and appears to be pointing to the correct location. Any ideas?
-
Are you referring to full address being
http://<FOG_Server_IP>/fog
??Were you using some kind of rewriting rules in apache to redirect the user to the proper url? I remember during the 1.4.0RC releases people that had the redirection in place, it stopped redirecting them after an update.
-
What, exactly, does your /var/www/html/index.php file look like?
-
@george1421 Yes, I had a redirect setup. See the contents of my file below…
<?php
header(‘Location: http://10.205.1.2/fog/management/index.php’);
die();
?> -
<?php
header(‘Location: http://10.205.1.2/fog/management/index.php’);
die();
?> -
@noelpd In your apache configuration ( I don’t know if you’re using redhat based or debian based OS) you likely need to add: default index.php index.html index.htm;
I provide this in the virtual host file for the “fog” system, but this would only impact fog folder access as it’s requested.
For Redhat, the default httpd/apache config is located under:
/etc/httpd/conf/httpd.conf
(I think)
For Debian, the default httpd/apache config is located under:
/etc/apache2/sites-available/default.conf
(or very close, sorry I can’t check exact values at the moment). -
Solution:
- Open file: /etc/httpd/conf.d/fog.conf
- Edit line DocumentRoot /var/ww/html/fog/
- Restart service httpd or apache
- Now test
-
@wanderson only if you don’t want the page to go through /fog/
-
@wanderson for Debian based file is /etc/apache2/sites-available/001-fog.conf
-
The apache2 folder location does not exist on my server.
-
@wanderson This worked for me. Thank you. Had to edit the line below document root since i had my php file in html and not fog.
-
@noelpd Thanks!!!