For some reason I can't get PHP to parse a file that is located in a sub directory of the DOCROOT. Any files placed in the DOCROOT are perfectly fine without problem.
See the example below (All html files work fine from sub directories); Thanks in advance for the help.
When I call up y.php in the browser, this displays an empty page
[myuser@localhost admin]$ pwd
/var/[myuser@localhost admin]$ more y.php
<?
print "sdfdsfsdfsdfdsfsdfsd";
?>
In this example, the string gets displayed in the browser as you would expect
[myuser@localhost admin]$ cd ..
[myuser@localhost html]$ pwd
/var/[myuser@localhost html]$ more y.php
<?
print "sdfdsfsdfsdfdsfsdfsd";
?>
[myuser@localhost html]$
This also displays perfectly fine in browser
[myuser@localhost admin]$ more y.html
<HTML>
<H1 ALIGN="center">HELLO</H1>
</HTML>
[myuser@localhost admin]$pwd
/var/[myuser@localhost admin]$
See the example below (All html files work fine from sub directories); Thanks in advance for the help.
When I call up y.php in the browser, this displays an empty page
[myuser@localhost admin]$ pwd
/var/[myuser@localhost admin]$ more y.php
<?
print "sdfdsfsdfsdfdsfsdfsd";
?>
In this example, the string gets displayed in the browser as you would expect
[myuser@localhost admin]$ cd ..
[myuser@localhost html]$ pwd
/var/[myuser@localhost html]$ more y.php
<?
print "sdfdsfsdfsdfdsfsdfsd";
?>
[myuser@localhost html]$
This also displays perfectly fine in browser
[myuser@localhost admin]$ more y.html
<HTML>
<H1 ALIGN="center">HELLO</H1>
</HTML>
[myuser@localhost admin]$pwd
/var/[myuser@localhost admin]$