Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: sigbert on March 13, 2011, 03:03:43 PM

Title: apache2-mod-php5.tcz
Post by: sigbert on March 13, 2011, 03:03:43 PM
Hi,

I'am not sure if it is a bug or a feature. After installing apache2.tcz and apache2-mod-php5.tcz I get in a web browser for http://localhost:8080/abc a directory listing of abc instead of the existing index.php. Directly accessing http://localhost:8080/abc/index.php worked.

This is due to

<IfModule dir_module>
  DirectoryIndex index.html
</IfModule>

in httpd.conf which does not list index.php or index.php5. Adding "index.php index.php5" solved the problem.

Sigbert
Title: Re: apache2-mod-php5.tcz
Post by: vinnie on March 13, 2011, 06:47:45 PM
maybe is a default configuration?
if you want to make the change of "httpd.conf" permanent, add it to your /opt/.filetool.lst and make a backup