On 06/14/2016 01:12 AM, Ed Greshko wrote:
Running an instance of httpd and the /var/www/html directory has an index.php file.
If I go to http://localhost the page appears to render properly and when I hover over certain areas a drop-down menu appears and I can see the corresponding URL showing in the lower part of my browser.
However, when I click on any of these nothing changes. It appears that index.php is being served up.
Also, even if I enter the URL of one of the links I get only index.php.
In the access log I see....
127.0.0.1 - - [14/Jun/2016:16:09:22 +0800] "GET /index.php?action=intro&lang=en&id=162 HTTP/1.1" 200 6598 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36"
and no errors.
Ideas of what I'm doing wrong OR a better place to ask this question.
Do you have modphp installed and a section in your Apache config to the effect:
<FilesMatch .php$> SetHandler application/x-httpd-php </FilesMatch>
to cause Apache to actually execute the PHP? ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Real Time, adj.: Here and now, as opposed to fake time, which only - - occurs there and then - ----------------------------------------------------------------------