1 DirectoryIndex index.php
3 <IfModule sapi_apache2.c>
4 php_value register_globals 0
5 php_value magic_quotes_gpc 0
6 php_value magic_quotes_runtime 0
7 php_value magic_quotes_sybase 0
8 php_value arg_separator.output "&"
9 php_value default_charset "utf-8"
10 php_value session.name "AK_SESSID"
14 php_value register_globals 0
15 php_value magic_quotes_gpc 0
16 php_value magic_quotes_runtime 0
17 php_value magic_quotes_sybase 0
18 php_value arg_separator.output "&"
19 php_value default_charset "utf-8"
20 php_value session.name "AK_SESSID"
23 # On some servers this directive might be needed
24 # Options +FollowSymLinks
26 # Various rewrite rules
27 <IfModule mod_rewrite.c>
30 # If your Akelos Framework application is accessed via an Alias directive,
31 # then you MUST also set the RewriteBase in this htaccess file.
34 # Alias /myakelosapp /path/to/myakelosapp/public
35 # RewriteBase /framework
37 # If you don't want The Akelos Framework to look in certain directories,
38 # use the following rewrite rules so that Apache won't rewrite certain requests
41 # RewriteCond %{REQUEST_URI} ^/notakelos.*
42 # RewriteRule .* - [L]
45 RewriteRule ^mod_rewrite_test$ mod_rewrite_test_file.txt [L]
47 # Rewrite URLs of the form 'index.php?ak=x':
48 RewriteCond %{REQUEST_FILENAME} !-f
49 RewriteCond %{REQUEST_FILENAME} !-d
50 RewriteRule ^(.*)$ index.php?ak=$1 [L,QSA]
54 ErrorDocument 500 "<h2>Apache server error</h2>Akelos application failed to start properly"