Results 1 to 5 of 5

Thread: mod_rewrite help

  1. #1
    kingshosting is offline Utente AlterBlog
    Join Date
    Aug 2015
    Posts
    3

    Angry mod_rewrite help

    Hello i have script of crea8social and i wan't to install but this script need mod_rewrite
    how to get it ? please help
    http://kingshosting.altervista.org/install

  2. #2
    kingshosting is offline Utente AlterBlog
    Join Date
    Aug 2015
    Posts
    3

    Default

    sorry for my bad english

  3. #3
    karl94 is offline AlterVista Staff
    Join Date
    Jan 2015
    Posts
    573

    Default

    ModRewrite is already available, there's probably some issue with the .htaccess file. Could you please post here its content?

  4. #4
    kingshosting is offline Utente AlterBlog
    Join Date
    Aug 2015
    Posts
    3

    Default

    Code:
    #AddType application/x-httpd-php54 .php .htm .html
    
    IndexIgnore *
    
    <IfModule mod_rewrite.c>
    
        Options +FollowSymLinks
        RewriteEngine On
    
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^ index.php [L]
    </IfModule>
    
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
    </IfModule>
    
    
    # # av:php5-engine
    AddHandler av-php54 .php
    Last edited by karl94; 09-02-2015 at 07:34 PM. Reason: Formatting

  5. #5
    karl94 is offline AlterVista Staff
    Join Date
    Jan 2015
    Posts
    573

    Default

    Remove IndexIgnore and add a RewriteBase directive. Like this:
    Code:
    <IfModule mod_rewrite.c>
        Options +FollowSymLinks
        RewriteEngine On
    
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteBase /
        RewriteRule ^ index.php [L]
    </IfModule>
    
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
    </IfModule>
    
    # # av:php5-engine
    AddHandler av-php54 .php

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO