ruslanix

Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Activity

  • ruslanix added a new discussion topic Is egg satisfy my needs? in the group General Discussion
      I am choosing the engine for social networks. From the engine i want the possibility of implementing the following functionality:. user during registration must choose the role of. . purely for example: father, mother, son, etc.. . depending...
    • May be that is not allowed here I posted but it show me blank message now. Sounds like admin addited my message. No worries............

    • @ghumanz - If an admin had edited your message, an explanation would have been included. I don't know why it is not showing up.

    • @user original file is
      # $Id: .htaccess 7539 2010-10-04 04:41:38Z john $

      <IfModule mod_rewrite.c>
        Options +FollowSymLinks
        RewriteEngine On

      RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
      RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
      RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
      RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
      RewriteRule ^(.*)$ /index.php [F,L]
      RewriteCond %{QUERY_STRING} [^a-z](declare|char|set|cast|convert|delete|drop|exec|insert|meta|script|select|truncate|upate)[^a-z] [NC]
      RewriteRule (.*) - [F]  

        # Get rid of index.php
        RewriteCond %{REQUEST_URI} /index\.php
        RewriteRule (.*) index.php?rewrite=2 [L,QSA]

        # Rewrite all directory-looking urls
        RewriteCond %{REQUEST_URI} /$
        RewriteRule (.*) index.php?rewrite=1 [L,QSA]

        # Try to route missing files
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} public\/ [OR]
        RewriteCond %{REQUEST_FILENAME} \.(jpg|gif|png|ico|flv|htm|html|php|css|js)$
        RewriteRule . - [L]
        
        # If the file doesn't exist, rewrite to index
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php?rewrite=1 [L,QSA]

      </IfModule>

      # sends requests /index.php/path/to/module/ to "index.php"
      # AcceptPathInfo On

      # @todo This may not be effective in some cases
      FileETag Size

      AddOutputFilterByType DEFLATE text/html
      AddOutputFilterByType DEFLATE text/plain
      AddOutputFilterByType DEFLATE text/xml
      AddOutputFilterByType DEFLATE text/css
      AddOutputFilterByType DEFLATE text/javascript
      AddOutputFilterByType DEFLATE application/x-javascript
      AddOutputFilterByType DEFLATE application/xml
      AddOutputFilterByType DEFLATE application/x-httpd-php
      AddOutputFilterByType DEFLATE application/xhtml+xml
      AddOutputFilterByType DEFLATE application/rss+xml
      AddOutputFilterByType DEFLATE application/javascript
      AddOutputFilterByType DEFLATE application/x-httpd-fastphp
      AddOutputFilterByType DEFLATE image/svg+xml




      <Limit GET HEAD POST>
      order allow,deny
      # Country: CHINA
      # ISO Code: CN
      # Total Networks: 3,452
      # Total Subnets:  331,672,832
      deny from 1.0.1.0/24
      deny from 1.0.2.0/23
      deny from 1.0.8.0/21
      deny from 1.0.32.0/19
      deny from 1.1.0.0/24
      deny from 1.1.2.0/23
      deny from 1.1.4.0/22
      deny from 1.1.8.0/21
      deny from 1.1.16.0/20
      deny from 1.1.32.0/19
      deny from 1.2.0.0/23
      deny from 1.2.2.0/24

      and so on.... sorry if you mind!
      Duì bù qǐ ( Sorry)

       
  • ruslanix joined the group General Discussion