diff options
author | Sergey Briskin <sergey@briskin.org> | 2014-03-09 02:26:54 +0400 |
---|---|---|
committer | Sergey Briskin <sergey@briskin.org> | 2014-03-09 02:26:54 +0400 |
commit | e9d1ab5b5229a8888f0cf8aacd65d1810d3c54cb (patch) | |
tree | 7f95bfc370659848581ce87af77cadb2e2752500 /htaccess | |
parent | 30bcea7a11d23accff7e5c06f598c98942c89655 (diff) | |
download | ifconfig.php-e9d1ab5b5229a8888f0cf8aacd65d1810d3c54cb.tar.gz ifconfig.php-e9d1ab5b5229a8888f0cf8aacd65d1810d3c54cb.tar.bz2 ifconfig.php-e9d1ab5b5229a8888f0cf8aacd65d1810d3c54cb.zip |
Updated README.md: added .htaccess example
new file: htaccess
Diffstat (limited to 'htaccess')
-rw-r--r-- | htaccess | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/htaccess b/htaccess new file mode 100644 index 0000000..ccd64f4 --- /dev/null +++ b/htaccess @@ -0,0 +1,6 @@ +RewriteEngine On + +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME} !-f +RewriteRule ^ifconfig$ ifconfig.php [L] +RewriteRule ^ifconfig/(.*)$ /ifconfig.php?q=$1 [L] |