# $Id: .htaccess,v 1.1.9.1.2.1 2003/10/27 07:25:15 shota Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
  <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
  </IfDefine>
</IfModule>

# search engine friendly URLS
RewriteEngine ON
#RewriteBase /~shota/cvsroot/osc/catalog
RewriteRule ^(.*\.php)/-/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)$  /~shota/cvsroot/osc/catalog/$1?$2=$3&$4=$5&$6=$7 [L]
RewriteRule ^(.*\.php)/-/(.*)/(.*)/(.*)/(.*)$ /~shota/cvsroot/osc/catalog/$1?$2=$3&$4=$5 [L]
RewriteRule ^(.*\.php)/-/(.*)/(.*)$  /~shota/cvsroot/osc/catalog/$1?$2=$3 [L]
RewriteRule ^(.*\.php)/-/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)/(.*)$  /~shota/cvsroot/osc/catalog/$1?$2=$3&$4=$5&$6=$7&$8=$9 [L]

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)

#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>
