Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Internet Information Services: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(Installing Moodle template)
Cap resum de modificació
Línia 1: Línia 1:
{{Installing Moodle}}[[Internet Information Services]] ('''IIS''') is the web server software bundled with Windows Server, as well as certain client versions of Windows. PHP, and hence Moodle, is available for IIS.
{{Installing Moodle}}[[Internet Information Services]] ('''IIS''') is the web server software bundled with Windows Server, as well as certain client versions of Windows.
 
==PHP installation==
 
It is strongly recommended to use only the official Microsoft PHP installer from http://php.iis.net/, it automatically installs all necessary components and enable easy configuration with PHP manager. Manual installation attempts often fail or result in misconfigured sites.
 
==Configuration for Moodle==
 
Unfortunately IIS does not natively support unicode characters in so called ''slashargument URL'' which are used in Moodle for file serving. Moodle requires manual configuration of rewrite rules, the PHP installation via ''Microsoft Web Platform Installer'' installs necessary ''URL Rewrite 2.0'' module. Add following rewrite rule to enable support for Moodle file names that include non-ascii characters:
 
* Matches the Pattern - Regular Expressions - <code>^([^\?]+?\.php)(\/.+)$</code>
* Action - Rewrite - <code>{R:1}\?file={R:2}</code> - Append query string


== See also ==
== See also ==
Línia 5: Línia 16:
* [http://www.iis.net  The Official Microsoft IIS Site]
* [http://www.iis.net  The Official Microsoft IIS Site]
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]
* [http://en.wikipedia.org/wiki/Internet_Information_Services Wikipedia article on IIS]
* [http://php.iis.net/ PHP installer for IIS]


[[ja:IIS]]
[[ja:IIS]]

Revisió del 20:17, 8 maig 2012

Internet Information Services (IIS) is the web server software bundled with Windows Server, as well as certain client versions of Windows.

PHP installation

It is strongly recommended to use only the official Microsoft PHP installer from http://php.iis.net/, it automatically installs all necessary components and enable easy configuration with PHP manager. Manual installation attempts often fail or result in misconfigured sites.

Configuration for Moodle

Unfortunately IIS does not natively support unicode characters in so called slashargument URL which are used in Moodle for file serving. Moodle requires manual configuration of rewrite rules, the PHP installation via Microsoft Web Platform Installer installs necessary URL Rewrite 2.0 module. Add following rewrite rule to enable support for Moodle file names that include non-ascii characters:

  • Matches the Pattern - Regular Expressions - ^([^\?]+?\.php)(\/.+)$
  • Action - Rewrite - {R:1}\?file={R:2} - Append query string

See also