You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -179,60 +187,66 @@ The following assumes that the server is already configured for mod_userdir. A g
179
187
180
188
Because CodeIgniter4 expects the server to find the framework front controller at **public/index.php** by default, you must specify this location as an alternative to search for the request (even if CodeIgniter4 is installed within the per-user web directory).
181
189
182
-
The default user web directory **~/public_html** is specified by the ``UserDir`` directive, typically in **apache2/mods-available/userdir.conf** or **apache2/conf/extra/httpd-userdir.conf**::
190
+
The default user web directory **~/public_html** is specified by the ``UserDir`` directive, typically in **apache2/mods-available/userdir.conf** or **apache2/conf/extra/httpd-userdir.conf**:
191
+
192
+
.. code-block:: apache
183
193
184
194
UserDir public_html
185
195
186
-
So you will need to configure Apache to look for CodeIgniter's public directory first before trying to serve the default::
196
+
So you will need to configure Apache to look for CodeIgniter's public directory first before trying to serve the default:
197
+
198
+
.. code-block:: apache
187
199
188
200
UserDir "public_html/public" "public_html"
189
201
190
-
Be sure to specify options and permissions for the CodeIgniter public directory as well. A **userdir.conf** might look like::
202
+
Be sure to specify options and permissions for the CodeIgniter public directory as well. A **userdir.conf** might look like:
0 commit comments