Manual installation on Windows: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 194: Line 194:
     DirectoryIndex index.html
     DirectoryIndex index.html
</IfModule>
</IfModule>
</syntaxhighlight>et remplacez le par<syntaxhighlight lang="apacheconf">
</syntaxhighlight>and replace it by<syntaxhighlight lang="apacheconf">
<IfModule dir_module>
<IfModule dir_module>
     DirectoryIndex index.php index.html
     DirectoryIndex index.php index.html
</IfModule>
</IfModule>
</syntaxhighlight>
</syntaxhighlight>
So when we access a directory, '''Apache2''' will first look for a <code>index.php</code> file before looking for a <code>index.html</code> file.  
So when we access a directory, '''Apache2''' will first look for a <code>index.php</code> file before looking for a <code>index.html</code> file.


====Interpreting <code>*.php</code> files=====
====Interpreting <code>*.php</code> files=====
676

edits

Navigation menu