Updated To FOG 1.4.0 - Getting Blank White Page
-
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!!!