Htaccess File

sathish4fri/opensource-socialnetwork/master/.htaccess

QUERY_STRING, REQUEST_FILENAME
#   OpenSource-SocialNetwork
 #
 # @package   (Informatikon.com).ossn
 # @author    OSSN Core Team <info@opensource-socialnetwork.com>
 # @copyright 2014 iNFORMATIKON TECHNOLOGIES
 # @license   General Public Licence http://opensource-socialnetwork.com/licence 
 # @link      http://www.opensource-socialnetwork.com/licence
 

Options -Indexes
Options +FollowSymLinks
DirectoryIndex index.php

<IfModule mod_rewrite.c>

RewriteEngine on
RewriteRule ^action/([A-Za-z0-9_-/]+)$ system/handlers/actions.php?action=$1&%{QUERY_STRING} [L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([A-Za-z0-9_-]+)$ index.php?h=$1 [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([A-Za-z0-9_-]+)/(.*)$ index.php?h=$1&p=$2 [QSA,L]

</IfModule>
<IfModule mod_php5.c>
  php_value memory_limit 64M
  php_value register_globals 0
  php_value post_max_size 8388608
  php_value upload_max_filesize 5242880
</IfModule>
Exit mobile version