openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

apache.conf (1245B)


      1 # This is an example Apache configuration file
      2 # written for Debian GNU/Linux.
      3 #
      4 # To use this file include this into the apache configuration:
      5 # $ echo "Include /etc/openrat/apache.conf" >> /etc/apache/httpd.conf
      6 
      7 Alias /openrat /usr/share/openrat
      8 
      9 <DirectoryMatch /usr/share/openrat/>
     10 
     11 	Options +FollowSymLinks
     12 	AllowOverride All
     13 	order allow,deny
     14 	allow from all
     15 
     16 	php_flag register_globals off
     17 	php_value session.name openratid
     18 
     19 	php_value arg_separator.output ";"
     20 	php_value arg_separator.input "&;"
     21 
     22 	php_flag session.auto_start off
     23 	php_value session.cookie_lifetime 0
     24 
     25 	# Want to use cookies?
     26 	# Because trans_sid is off, you can EITHER use cookies OR url rewriting
     27 	# off = url rewriting
     28 	# on  = cookies
     29 	#php_flag session.use_cookies off
     30 
     31 	php_flag session.use_trans_sid on
     32 	php_value url_rewriter.tags "a=href,link=href,frame=src,img=src,form=fakeentry"
     33 
     34 	php_flag magic_quotes_gpc off
     35 	php_flag magic_quotes_runtime off
     36 
     37 	# Set this higher if you get errors like "max execution time reached"
     38 	php_value max_execution_time 180
     39 
     40 	php_value error_reporting 2047
     41 
     42 	php_value memory_limit 32M
     43 
     44 	php_flag short_open_tag off
     45 	php_flag asp_tags off
     46 
     47 	# on=faster on slow connections
     48 	php_flag zlib.output_compression off
     49 
     50 </DirectoryMatch>