Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions _translations/po/it/cookbook_configuring-webservers_apache.md.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# Italian translations for PACKAGE package
# Copyright (C) 2026 Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-12-24 09:13+0000\n"
"PO-Revision-Date: 2025-12-24 09:13+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. type: Title #
#: ../src/cookbook/configuring-webservers/apache.md
#, no-wrap
msgid "Configuring web servers: Apache"
msgstr ""

#. type: Plain text
#: ../src/cookbook/configuring-webservers/apache.md
msgid "Use the following configuration in Apache's `httpd.conf` file or within a virtual host configuration. Note that you should replace `path/to/app/public` with the actual path for `app/public`."
msgstr ""

#. type: Fenced code block (apache)
#: ../src/cookbook/configuring-webservers/apache.md
#, no-wrap
msgid ""
"# Set document root to be \"app/public\"\n"
"DocumentRoot \"path/to/app/public\"\n"
"\n"
"<Directory \"path/to/app/public\">\n"
" # use mod_rewrite for pretty URL support\n"
" RewriteEngine on\n"
" \n"
" # if $showScriptName is false in UrlManager, do not allow accessing URLs with script name\n"
" RewriteRule ^index.php/ - [L,R=404]\n"
" \n"
" # If a directory or a file exists, use the request directly\n"
" RewriteCond %{REQUEST_FILENAME} !-f\n"
" RewriteCond %{REQUEST_FILENAME} !-d\n"
" \n"
" # Otherwise forward the request to index.php\n"
" RewriteRule . index.php\n"
" \n"
" SetEnv APP_ENV dev\n"
"\n"
" # ...other settings...\n"
"</Directory>\n"
msgstr ""

#. type: Plain text
#: ../src/cookbook/configuring-webservers/apache.md
msgid "In case you have `AllowOverride All` you can add `.htaccess` file with the following configuration instead of using `httpd.conf`:"
msgstr ""

#. type: Fenced code block (apache)
#: ../src/cookbook/configuring-webservers/apache.md
#, no-wrap
msgid ""
"# use mod_rewrite for pretty URL support\n"
"RewriteEngine on\n"
"\n"
"# if $showScriptName is false in UrlManager, do not allow accessing URLs with script name\n"
"RewriteRule ^index.php/ - [L,R=404]\n"
"\n"
"# If a directory or a file exists, use the request directly\n"
"RewriteCond %{REQUEST_FILENAME} !-f\n"
"RewriteCond %{REQUEST_FILENAME} !-d\n"
"\n"
"# Otherwise forward the request to index.php\n"
"RewriteRule . index.php\n"
"\n"
"SetEnv APP_ENV dev\n"
"\n"
"# ...other settings...\n"
msgstr ""

#. type: Plain text
#: ../src/cookbook/configuring-webservers/apache.md
msgid "In the above, note the usage of `SetEnv`. Since the Yii3 application template is using environment variables, this is a possible place to set them. In production environment remember to set `APP_ENV` to `prod`."
msgstr ""
70 changes: 70 additions & 0 deletions _translations/po/it/cookbook_configuring-webservers_general.md.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Italian translations for PACKAGE package
# Copyright (C) 2026 Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-12-24 20:05+0000\n"
"PO-Revision-Date: 2025-12-24 20:05+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. type: Title #
#: ../src/cookbook/configuring-webservers/general.md
#, no-wrap
msgid "Configuring web servers: General"
msgstr ""

#. type: Plain text
#: ../src/cookbook/configuring-webservers/general.md
msgid "On a production server, if you don't use Docker, configure your web server to serve only the application's public files. Point the document root of your web server to the `app/public` folder."
msgstr ""

#. type: Plain text
#: ../src/cookbook/configuring-webservers/general.md
#, no-wrap
msgid ""
"> [!IMPORTANT]\n"
"> If you're running your Yii application behind a reverse proxy, you might need to configure\n"
"> [Trusted proxies and headers](../../guide/security/trusted-request.md).\n"
msgstr ""

#. type: Title ##
#: ../src/cookbook/configuring-webservers/general.md
#, no-wrap
msgid "Specific server configurations"
msgstr ""

#. type: Bullet: '- '
#: ../src/cookbook/configuring-webservers/general.md
#, fuzzy
#| msgid "[Logging](runtime/logging.md)"
msgid "[Nginx](nginx.md)"
msgstr "[Logging](runtime/logging.md)"

#. type: Bullet: '- '
#: ../src/cookbook/configuring-webservers/general.md
msgid "[Apache](apache.md)"
msgstr ""

#. type: Bullet: '- '
#: ../src/cookbook/configuring-webservers/general.md
msgid "[Lighttpd](lighttpd.md)"
msgstr ""

#. type: Bullet: '- '
#: ../src/cookbook/configuring-webservers/general.md
msgid "[Nginx Unit](nginx-unit.md)"
msgstr ""

#. type: Bullet: '- '
#: ../src/cookbook/configuring-webservers/general.md
msgid "[IIS](iis.md)"
msgstr ""
69 changes: 69 additions & 0 deletions _translations/po/it/cookbook_configuring-webservers_iis.md.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Italian translations for PACKAGE package
# Copyright (C) 2026 Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-09-05 14:50+0500\n"
"PO-Revision-Date: 2025-09-05 14:50+0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. type: Title #
#: en/configuring-webservers/iis.md
#, no-wrap
msgid "Configuring web servers: IIS"
msgstr ""

#. type: Plain text
#: en/configuring-webservers/iis.md
msgid "When you use [IIS](https://www.iis.net/), host the application in a virtual host (Website) where the document root points to the `path/to/app/public` folder and configure the website to run PHP. In that `public` folder, place a file named `web.config` at `path/to/app/public/web.config`. Use the following content:"
msgstr ""

#. type: Fenced code block (xml)
#: en/configuring-webservers/iis.md
#, no-wrap
msgid ""
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
"<configuration>\n"
" <system.webServer>\n"
" <directoryBrowse enabled=\"false\" />\n"
" <rewrite>\n"
" <rules>\n"
" <rule name=\"Hide Yii Index\" stopProcessing=\"true\">\n"
" <match url=\".\" ignoreCase=\"false\" />\n"
" <conditions>\n"
" <add input=\"{REQUEST_FILENAME}\" matchType=\"IsFile\" \n"
" ignoreCase=\"false\" negate=\"true\" />\n"
" <add input=\"{REQUEST_FILENAME}\" matchType=\"IsDirectory\" \n"
" ignoreCase=\"false\" negate=\"true\" />\n"
" </conditions>\n"
" <action type=\"Rewrite\" url=\"index.php\" appendQueryString=\"true\" />\n"
" </rule> \n"
" </rules>\n"
" </rewrite>\n"
" </system.webServer>\n"
"</configuration>\n"
msgstr ""

#. type: Plain text
#: en/configuring-webservers/iis.md
msgid "Also, the following list of Microsoft's official resources could be useful to configure PHP on IIS:"
msgstr ""

#. type: Bullet: '1. '
#: en/configuring-webservers/iis.md
msgid "[How to set up your first IIS website](https://support.microsoft.com/en-us/help/323972/how-to-set-up-your-first-iis-web-site)"
msgstr ""

#. type: Bullet: '2. '
#: en/configuring-webservers/iis.md
msgid "[Configure a PHP Website on IIS](https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configure-a-php-website-on-iis)"
msgstr ""
35 changes: 35 additions & 0 deletions _translations/po/it/cookbook_configuring-webservers_lighttpd.md.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Italian translations for PACKAGE package
# Copyright (C) 2026 Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-09-05 14:50+0500\n"
"PO-Revision-Date: 2025-09-05 14:50+0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. type: Title #
#: en/configuring-webservers/lighttpd.md
#, no-wrap
msgid "Configuring web servers: lighttpd"
msgstr ""

#. type: Plain text
#: en/configuring-webservers/lighttpd.md
#, no-wrap
msgid "To use [lighttpd](https://www.lighttpd.net/) >= 1.4.24, put `index.php` in the web root and add the following to the configuration:\n"
msgstr ""

#. type: Fenced code block
#: en/configuring-webservers/lighttpd.md
#, no-wrap
msgid "url.rewrite-if-not-file = (\"(.*)\" => \"/index.php/$0\")\n"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Italian translations for PACKAGE package
# Copyright (C) 2026 Free Software Foundation, Inc.
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2026.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-09-05 14:50+0500\n"
"PO-Revision-Date: 2025-09-05 14:50+0500\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. type: Title #
#: en/configuring-webservers/nginx-unit.md
#, no-wrap
msgid "Configuring web servers: NGINX Unit"
msgstr ""

#. type: Plain text
#: en/configuring-webservers/nginx-unit.md
msgid "Run Yii-based apps using [NGINX Unit](https://unit.nginx.org/) with a PHP language module. Here is a sample configuration."
msgstr ""

#. type: Fenced code block (json)
#: en/configuring-webservers/nginx-unit.md
#, no-wrap
msgid ""
"{\n"
" \"listeners\": {\n"
" \"*:80\": {\n"
" \"pass\": \"routes/yii\"\n"
" }\n"
" },\n"
"\n"
" \"routes\": {\n"
" \"yii\": [\n"
" {\n"
" \"match\": {\n"
" \"uri\": [\n"
" \"!/assets/*\",\n"
" \"*.php\",\n"
" \"*.php/*\"\n"
" ]\n"
" },\n"
"\n"
" \"action\": {\n"
" \"pass\": \"applications/yii/direct\"\n"
" }\n"
" },\n"
" {\n"
" \"action\": {\n"
" \"share\": \"/path/to/app/public/\",\n"
" \"fallback\": {\n"
" \"pass\": \"applications/yii/index\"\n"
" }\n"
" }\n"
" }\n"
" ]\n"
" },\n"
"\n"
" \"applications\": {\n"
" \"yii\": {\n"
" \"type\": \"php\",\n"
" \"user\": \"www-data\",\n"
" \"environment\": {\n"
" \"APP_ENV\": \"dev\"\n"
" },\n"
" \"targets\": {\n"
" \"direct\": {\n"
" \"root\": \"/path/to/app/public/\"\n"
" },\n"
"\n"
" \"index\": {\n"
" \"root\": \"/path/to/app/public/\",\n"
" \"script\": \"index.php\"\n"
" }\n"
" }\n"
" }\n"
" }\n"
"}\n"
msgstr ""

#. type: Plain text
#: en/configuring-webservers/nginx-unit.md
msgid "You can also [set up](https://unit.nginx.org/configuration/#php) your PHP environment or supply a custom `php.ini` in the same configuration."
msgstr ""

#. type: Plain text
#: en/configuring-webservers/nginx-unit.md
msgid "In the above, note the usage of `environment`. Since the Yii3 application template is using environment variables, this is a possible place to set them. In production environment remember to set `APP_ENV` to `prod`."
msgstr ""
Loading
Loading