note 121931 added to apache.setup
| From: | Anonymous@php.net | Date: | Tue, 28 Nov 2017 21:40:41 +0000 |
| Subject: | note 121931 added to apache.setup | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209238@lists.php.net to get a copy of this message | ||
Basic configuration to htaccess
In the project's root directory, put a .htaccess file with:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
And in the non-public sub directories, put a .htaccess file with:
Deny From All
----
Server IP: 208.43.231.9
Probable Submitter: 181.231.137.23
----
Manual Page -- http://php.net/manual/en/apache.setup.php
Edit -- https://master.php.net/note/edit/121931
Del: integrated -- https://master.php.net/note/delete/121931/integrated
Del: useless -- https://master.php.net/note/delete/121931/useless
Del: bad code -- https://master.php.net/note/delete/121931/bad+code
Del: spam -- https://master.php.net/note/delete/121931/spam
Del: non-english -- https://master.php.net/note/delete/121931/non-english
Del: in docs -- https://master.php.net/note/delete/121931/in+docs
Del: other reasons-- https://master.php.net/note/delete/121931
Reject -- https://master.php.net/note/reject/121931
Search -- https://master.php.net/manage/user-notes.php