WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: apache2-mod-php5.tcz  (Read 2533 times)

Offline sigbert

  • Newbie
  • *
  • Posts: 5
apache2-mod-php5.tcz
« 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

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: apache2-mod-php5.tcz
« Reply #1 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