1
0

Configures MOD REWRITE + URLMANAGER

This commit is contained in:
Mike Schwörer 2014-05-13 14:58:34 +02:00
parent 5dfb77ec5e
commit 374648bce3
7 changed files with 143 additions and 3268 deletions

10
.idea/codeStyleSettings.xml generated Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectCodeStyleSettingsManager">
<option name="PER_PROJECT_SETTINGS">
<value />
</option>
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default (1)" />
</component>
</project>

3
.idea/dictionaries/Mike.xml generated Normal file
View File

@ -0,0 +1,3 @@
<component name="ProjectDictionaryState">
<dictionary name="Mike" />
</component>

View File

@ -0,0 +1,11 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0" is_locked="false">
<option name="myName" value="Project Default" />
<option name="myLocal" value="false" />
<inspection_tool class="SpellCheckingInspection" enabled="false" level="TYPO" enabled_by_default="false">
<option name="processCode" value="true" />
<option name="processLiterals" value="true" />
<option name="processComments" value="true" />
</inspection_tool>
</profile>
</component>

View File

@ -0,0 +1,7 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="PROJECT_PROFILE" value="Project Default" />
<option name="USE_PROJECT_PROFILE" value="true" />
<version value="1.0" />
</settings>
</component>

3348
.idea/workspace.xml generated

File diff suppressed because it is too large Load Diff

8
www/.htaccess Normal file
View File

@ -0,0 +1,8 @@
RewriteEngine on
# Verwende Verzeichnis oder Datei, wenn sie vorhanden sind
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Leite andernfalls auf index.php um
RewriteRule . index.php

View File

@ -46,16 +46,26 @@ return ArrayX::merge(array(
), ),
// uncomment the following to enable URLs in path-format // uncomment the following to enable URLs in path-format
/*
'urlManager'=>array( 'urlManager'=>array(
'urlFormat' => 'path', 'urlFormat' => 'path',
//'caseSensitive' => true,
'showScriptName' => true,
'rules'=>array( 'rules'=>array(
'<controller:\w+>/<id:\d+>'=>'<controller>/view',
'<controller:\w+>/<action:\w+>/<id:\d+>'=>'<controller>/<action>', '' => 'site/index',
'<controller:\w+>/<action:\w+>'=>'<controller>/<action>', '<action:(index|about)>' => 'site/<action>',
'gii' => 'gii',
'gii/<controller:\w+>' => 'gii/<controller>',
'gii/<controller:\w+>/<action:\w+>' => 'gii/<controller>/<action>',
// '<controller:\w+>/<id:\d+>' => '<controller>/view',
// '<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
// '<controller:\w+>/<action:\w+>' => '<controller>/<action>',
), ),
), ),
*/
'log'=>array( 'log'=>array(
'class'=>'CLogRouter', 'class'=>'CLogRouter',