Error after activating SEO Settings in Joomla 2.5





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am using Shape5 Corporate Response template for Joomla 2.5



In order for me to activate the SEO freidnly website I had to:
1- Change htaccess.txt to .htaccess
2- In global configuration change Search Engine Friendly URLs from No to Yes
3- Change Use URL rewriting From No to Yes



after that the template runs but the menu that I created does not work and when I click on it, it says:




Not Found



The requested URL /contact was not found on this server.



Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.




I already did this test :
http://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server



and my mod rewrite is enabled.



also I edited "# RewriteBase /" to "RewriteBase /" in htaccess but no luck.



here is my htaccess:



> # @package        Joomla
> # @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
> # @license GNU General Public License version 2 or later; see LICENSE.txt
> ##
>
> ##
> # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
> #
> # The line just below this section: 'Options +FollowSymLinks' may cause problems
> # with some server configurations. It is required for use of mod_rewrite, but may already
> # be set by your server administrator in a way that dissallows changing it in
> # your .htaccess file. If using it causes your server to error out, comment it out (add # to
> # beginning of line), reload your site in your browser and test your sef url's. If they work,
> # it has been set by your server administrator and you do not need it set here.
> ##
>
> ## Can be commented out if causes errors, see notes above. Options +FollowSymLinks
>
> ## Mod_rewrite in use.
>
> RewriteEngine On
>
> ## Begin - Rewrite rules to block out some common exploits.
> # If you experience problems on your site block out the operations listed below
> # This attempts to block the most common type of exploit `attempts` to Joomla!
> #
> # Block out any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
> # Block out any script that includes a <script> tag in URL. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
> # Block out any script trying to set a PHP GLOBALS variable via URL. RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
> # Block out any script trying to modify a _REQUEST variable via URL. RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
> # Return 403 Forbidden header and show the content of the root homepage RewriteRule .* index.php [F]
> #
> ## End - Rewrite rules to block out some common exploits.
>
> ## Begin - Custom redirects
> #
> # If you need to redirect some pages, or set a canonical non-www to
> # www redirect (or vice versa), place that code here. Ensure those
> # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
> #
> ## End - Custom redirects
>
> ##
> # Uncomment following line if your webserver's URL
> # is not directly related to physical file paths.
> # Update Your Joomla! Directory (just / for root).
> ##
>
> # RewriteBase /
>
> ## Begin - Joomla! core SEF Section.
> # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
> #
> # If the requested path and file is not /index.php and the request
> # has not already been internally rewritten to the index.php script RewriteCond %{REQUEST_URI} ^GET
> # and the request is for something within the component folder,
> # or for the site root, or for an extensionless URL, or the
> # requested URL ends with one of the listed extensions RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$
> [NC]
> # and the requested path and file doesn't directly match a physical file RewriteCond %{REQUEST_FILENAME} !-f
> # and the requested path and file doesn't directly match a physical folder RewriteCond %{REQUEST_FILENAME} !-d
> # internally rewrite the request to the index.php script RewriteRule .* index.php [L]
> #
> ## End - Joomla! core SEF Section.


How can I fix this issue ?










share|improve this question

























  • Uh, it looks like your entire .htaccess file boils down to one line: RewriteEngine On. This is probably a no-op without any further directives.

    – sarnold
    Jul 6 '12 at 2:22











  • I fixed it with this .htaccess code

    – user1505569
    Jul 8 '12 at 21:59


















0















I am using Shape5 Corporate Response template for Joomla 2.5



In order for me to activate the SEO freidnly website I had to:
1- Change htaccess.txt to .htaccess
2- In global configuration change Search Engine Friendly URLs from No to Yes
3- Change Use URL rewriting From No to Yes



after that the template runs but the menu that I created does not work and when I click on it, it says:




Not Found



The requested URL /contact was not found on this server.



Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.




I already did this test :
http://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server



and my mod rewrite is enabled.



also I edited "# RewriteBase /" to "RewriteBase /" in htaccess but no luck.



here is my htaccess:



> # @package        Joomla
> # @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
> # @license GNU General Public License version 2 or later; see LICENSE.txt
> ##
>
> ##
> # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
> #
> # The line just below this section: 'Options +FollowSymLinks' may cause problems
> # with some server configurations. It is required for use of mod_rewrite, but may already
> # be set by your server administrator in a way that dissallows changing it in
> # your .htaccess file. If using it causes your server to error out, comment it out (add # to
> # beginning of line), reload your site in your browser and test your sef url's. If they work,
> # it has been set by your server administrator and you do not need it set here.
> ##
>
> ## Can be commented out if causes errors, see notes above. Options +FollowSymLinks
>
> ## Mod_rewrite in use.
>
> RewriteEngine On
>
> ## Begin - Rewrite rules to block out some common exploits.
> # If you experience problems on your site block out the operations listed below
> # This attempts to block the most common type of exploit `attempts` to Joomla!
> #
> # Block out any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
> # Block out any script that includes a <script> tag in URL. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
> # Block out any script trying to set a PHP GLOBALS variable via URL. RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
> # Block out any script trying to modify a _REQUEST variable via URL. RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
> # Return 403 Forbidden header and show the content of the root homepage RewriteRule .* index.php [F]
> #
> ## End - Rewrite rules to block out some common exploits.
>
> ## Begin - Custom redirects
> #
> # If you need to redirect some pages, or set a canonical non-www to
> # www redirect (or vice versa), place that code here. Ensure those
> # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
> #
> ## End - Custom redirects
>
> ##
> # Uncomment following line if your webserver's URL
> # is not directly related to physical file paths.
> # Update Your Joomla! Directory (just / for root).
> ##
>
> # RewriteBase /
>
> ## Begin - Joomla! core SEF Section.
> # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
> #
> # If the requested path and file is not /index.php and the request
> # has not already been internally rewritten to the index.php script RewriteCond %{REQUEST_URI} ^GET
> # and the request is for something within the component folder,
> # or for the site root, or for an extensionless URL, or the
> # requested URL ends with one of the listed extensions RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$
> [NC]
> # and the requested path and file doesn't directly match a physical file RewriteCond %{REQUEST_FILENAME} !-f
> # and the requested path and file doesn't directly match a physical folder RewriteCond %{REQUEST_FILENAME} !-d
> # internally rewrite the request to the index.php script RewriteRule .* index.php [L]
> #
> ## End - Joomla! core SEF Section.


How can I fix this issue ?










share|improve this question

























  • Uh, it looks like your entire .htaccess file boils down to one line: RewriteEngine On. This is probably a no-op without any further directives.

    – sarnold
    Jul 6 '12 at 2:22











  • I fixed it with this .htaccess code

    – user1505569
    Jul 8 '12 at 21:59














0












0








0








I am using Shape5 Corporate Response template for Joomla 2.5



In order for me to activate the SEO freidnly website I had to:
1- Change htaccess.txt to .htaccess
2- In global configuration change Search Engine Friendly URLs from No to Yes
3- Change Use URL rewriting From No to Yes



after that the template runs but the menu that I created does not work and when I click on it, it says:




Not Found



The requested URL /contact was not found on this server.



Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.




I already did this test :
http://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server



and my mod rewrite is enabled.



also I edited "# RewriteBase /" to "RewriteBase /" in htaccess but no luck.



here is my htaccess:



> # @package        Joomla
> # @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
> # @license GNU General Public License version 2 or later; see LICENSE.txt
> ##
>
> ##
> # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
> #
> # The line just below this section: 'Options +FollowSymLinks' may cause problems
> # with some server configurations. It is required for use of mod_rewrite, but may already
> # be set by your server administrator in a way that dissallows changing it in
> # your .htaccess file. If using it causes your server to error out, comment it out (add # to
> # beginning of line), reload your site in your browser and test your sef url's. If they work,
> # it has been set by your server administrator and you do not need it set here.
> ##
>
> ## Can be commented out if causes errors, see notes above. Options +FollowSymLinks
>
> ## Mod_rewrite in use.
>
> RewriteEngine On
>
> ## Begin - Rewrite rules to block out some common exploits.
> # If you experience problems on your site block out the operations listed below
> # This attempts to block the most common type of exploit `attempts` to Joomla!
> #
> # Block out any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
> # Block out any script that includes a <script> tag in URL. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
> # Block out any script trying to set a PHP GLOBALS variable via URL. RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
> # Block out any script trying to modify a _REQUEST variable via URL. RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
> # Return 403 Forbidden header and show the content of the root homepage RewriteRule .* index.php [F]
> #
> ## End - Rewrite rules to block out some common exploits.
>
> ## Begin - Custom redirects
> #
> # If you need to redirect some pages, or set a canonical non-www to
> # www redirect (or vice versa), place that code here. Ensure those
> # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
> #
> ## End - Custom redirects
>
> ##
> # Uncomment following line if your webserver's URL
> # is not directly related to physical file paths.
> # Update Your Joomla! Directory (just / for root).
> ##
>
> # RewriteBase /
>
> ## Begin - Joomla! core SEF Section.
> # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
> #
> # If the requested path and file is not /index.php and the request
> # has not already been internally rewritten to the index.php script RewriteCond %{REQUEST_URI} ^GET
> # and the request is for something within the component folder,
> # or for the site root, or for an extensionless URL, or the
> # requested URL ends with one of the listed extensions RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$
> [NC]
> # and the requested path and file doesn't directly match a physical file RewriteCond %{REQUEST_FILENAME} !-f
> # and the requested path and file doesn't directly match a physical folder RewriteCond %{REQUEST_FILENAME} !-d
> # internally rewrite the request to the index.php script RewriteRule .* index.php [L]
> #
> ## End - Joomla! core SEF Section.


How can I fix this issue ?










share|improve this question
















I am using Shape5 Corporate Response template for Joomla 2.5



In order for me to activate the SEO freidnly website I had to:
1- Change htaccess.txt to .htaccess
2- In global configuration change Search Engine Friendly URLs from No to Yes
3- Change Use URL rewriting From No to Yes



after that the template runs but the menu that I created does not work and when I click on it, it says:




Not Found



The requested URL /contact was not found on this server.



Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request.




I already did this test :
http://docs.joomla.org/How_to_check_if_mod_rewrite_is_enabled_on_your_server



and my mod rewrite is enabled.



also I edited "# RewriteBase /" to "RewriteBase /" in htaccess but no luck.



here is my htaccess:



> # @package        Joomla
> # @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
> # @license GNU General Public License version 2 or later; see LICENSE.txt
> ##
>
> ##
> # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
> #
> # The line just below this section: 'Options +FollowSymLinks' may cause problems
> # with some server configurations. It is required for use of mod_rewrite, but may already
> # be set by your server administrator in a way that dissallows changing it in
> # your .htaccess file. If using it causes your server to error out, comment it out (add # to
> # beginning of line), reload your site in your browser and test your sef url's. If they work,
> # it has been set by your server administrator and you do not need it set here.
> ##
>
> ## Can be commented out if causes errors, see notes above. Options +FollowSymLinks
>
> ## Mod_rewrite in use.
>
> RewriteEngine On
>
> ## Begin - Rewrite rules to block out some common exploits.
> # If you experience problems on your site block out the operations listed below
> # This attempts to block the most common type of exploit `attempts` to Joomla!
> #
> # Block out any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]*([^)]*) [OR]
> # Block out any script that includes a <script> tag in URL. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
> # Block out any script trying to set a PHP GLOBALS variable via URL. RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
> # Block out any script trying to modify a _REQUEST variable via URL. RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
> # Return 403 Forbidden header and show the content of the root homepage RewriteRule .* index.php [F]
> #
> ## End - Rewrite rules to block out some common exploits.
>
> ## Begin - Custom redirects
> #
> # If you need to redirect some pages, or set a canonical non-www to
> # www redirect (or vice versa), place that code here. Ensure those
> # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
> #
> ## End - Custom redirects
>
> ##
> # Uncomment following line if your webserver's URL
> # is not directly related to physical file paths.
> # Update Your Joomla! Directory (just / for root).
> ##
>
> # RewriteBase /
>
> ## Begin - Joomla! core SEF Section.
> # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
> #
> # If the requested path and file is not /index.php and the request
> # has not already been internally rewritten to the index.php script RewriteCond %{REQUEST_URI} ^GET
> # and the request is for something within the component folder,
> # or for the site root, or for an extensionless URL, or the
> # requested URL ends with one of the listed extensions RewriteCond %{REQUEST_URI} /component/|(/[^.]*|.(php|html?|feed|pdf|vcf|raw))$
> [NC]
> # and the requested path and file doesn't directly match a physical file RewriteCond %{REQUEST_FILENAME} !-f
> # and the requested path and file doesn't directly match a physical folder RewriteCond %{REQUEST_FILENAME} !-d
> # internally rewrite the request to the index.php script RewriteRule .* index.php [L]
> #
> ## End - Joomla! core SEF Section.


How can I fix this issue ?







joomla2.5






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 8 '12 at 22:08







user1505569

















asked Jul 6 '12 at 2:20









user1505569user1505569

112




112













  • Uh, it looks like your entire .htaccess file boils down to one line: RewriteEngine On. This is probably a no-op without any further directives.

    – sarnold
    Jul 6 '12 at 2:22











  • I fixed it with this .htaccess code

    – user1505569
    Jul 8 '12 at 21:59



















  • Uh, it looks like your entire .htaccess file boils down to one line: RewriteEngine On. This is probably a no-op without any further directives.

    – sarnold
    Jul 6 '12 at 2:22











  • I fixed it with this .htaccess code

    – user1505569
    Jul 8 '12 at 21:59

















Uh, it looks like your entire .htaccess file boils down to one line: RewriteEngine On. This is probably a no-op without any further directives.

– sarnold
Jul 6 '12 at 2:22





Uh, it looks like your entire .htaccess file boils down to one line: RewriteEngine On. This is probably a no-op without any further directives.

– sarnold
Jul 6 '12 at 2:22













I fixed it with this .htaccess code

– user1505569
Jul 8 '12 at 21:59





I fixed it with this .htaccess code

– user1505569
Jul 8 '12 at 21:59












1 Answer
1






active

oldest

votes


















0














I found the solution, just add replace this code in your .htaccess file:



AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
##
# @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
# @package Joomla
# @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ ".xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section





share|improve this answer






















    protected by Brad Larson Feb 9 '14 at 22:32



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I found the solution, just add replace this code in your .htaccess file:



    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4
    ##
    # @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##


    #####################################################
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    #####################################################

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    # mod_rewrite in use

    RewriteEngine On

    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    ## Deny access to extension xml files (uncomment out to activate)
    #<Files ~ ".xml$">
    #Order allow,deny
    #Deny from all
    #Satisfy all
    #</Files>
    ## End of deny access to extension xml files
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
    # Block out any script that includes a <script> tag in URL
    RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
    # Send all blocked request to homepage with 403 Forbidden error!
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End - Rewrite rules to block out some common exploits

    # Uncomment following line if your webserver's URL
    # is not directly related to physical file paths.
    # Update Your Joomla! Directory (just / for root)

    RewriteBase /


    ########## Begin - Joomla! core SEF Section
    #
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !^/index.php
    RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
    RewriteRule (.*) index.php
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
    #
    ########## End - Joomla! core SEF Section





    share|improve this answer




























      0














      I found the solution, just add replace this code in your .htaccess file:



      AddHandler x-httpd-php5 .php
      AddHandler x-httpd-php .php4
      ##
      # @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
      # @package Joomla
      # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
      # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
      # Joomla! is Free Software
      ##


      #####################################################
      # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
      #
      # The line just below this section: 'Options +FollowSymLinks' may cause problems
      # with some server configurations. It is required for use of mod_rewrite, but may already
      # be set by your server administrator in a way that dissallows changing it in
      # your .htaccess file. If using it causes your server to error out, comment it out (add # to
      # beginning of line), reload your site in your browser and test your sef url's. If they work,
      # it has been set by your server administrator and you do not need it set here.
      #
      #####################################################

      ## Can be commented out if causes errors, see notes above.
      Options +FollowSymLinks

      #
      # mod_rewrite in use

      RewriteEngine On

      ########## Begin - Rewrite rules to block out some common exploits
      ## If you experience problems on your site block out the operations listed below
      ## This attempts to block the most common type of exploit `attempts` to Joomla!
      #
      ## Deny access to extension xml files (uncomment out to activate)
      #<Files ~ ".xml$">
      #Order allow,deny
      #Deny from all
      #Satisfy all
      #</Files>
      ## End of deny access to extension xml files
      RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
      # Block out any script trying to base64_encode crap to send via URL
      RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
      # Block out any script that includes a <script> tag in URL
      RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
      # Block out any script trying to set a PHP GLOBALS variable via URL
      RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
      # Block out any script trying to modify a _REQUEST variable via URL
      RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
      # Send all blocked request to homepage with 403 Forbidden error!
      RewriteRule ^(.*)$ index.php [F,L]
      #
      ########## End - Rewrite rules to block out some common exploits

      # Uncomment following line if your webserver's URL
      # is not directly related to physical file paths.
      # Update Your Joomla! Directory (just / for root)

      RewriteBase /


      ########## Begin - Joomla! core SEF Section
      #
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !^/index.php
      RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
      RewriteRule (.*) index.php
      RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
      #
      ########## End - Joomla! core SEF Section





      share|improve this answer


























        0












        0








        0







        I found the solution, just add replace this code in your .htaccess file:



        AddHandler x-httpd-php5 .php
        AddHandler x-httpd-php .php4
        ##
        # @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
        # @package Joomla
        # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
        # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
        # Joomla! is Free Software
        ##


        #####################################################
        # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
        #
        # The line just below this section: 'Options +FollowSymLinks' may cause problems
        # with some server configurations. It is required for use of mod_rewrite, but may already
        # be set by your server administrator in a way that dissallows changing it in
        # your .htaccess file. If using it causes your server to error out, comment it out (add # to
        # beginning of line), reload your site in your browser and test your sef url's. If they work,
        # it has been set by your server administrator and you do not need it set here.
        #
        #####################################################

        ## Can be commented out if causes errors, see notes above.
        Options +FollowSymLinks

        #
        # mod_rewrite in use

        RewriteEngine On

        ########## Begin - Rewrite rules to block out some common exploits
        ## If you experience problems on your site block out the operations listed below
        ## This attempts to block the most common type of exploit `attempts` to Joomla!
        #
        ## Deny access to extension xml files (uncomment out to activate)
        #<Files ~ ".xml$">
        #Order allow,deny
        #Deny from all
        #Satisfy all
        #</Files>
        ## End of deny access to extension xml files
        RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
        # Block out any script trying to base64_encode crap to send via URL
        RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
        # Block out any script that includes a <script> tag in URL
        RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
        # Block out any script trying to set a PHP GLOBALS variable via URL
        RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
        # Block out any script trying to modify a _REQUEST variable via URL
        RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
        # Send all blocked request to homepage with 403 Forbidden error!
        RewriteRule ^(.*)$ index.php [F,L]
        #
        ########## End - Rewrite rules to block out some common exploits

        # Uncomment following line if your webserver's URL
        # is not directly related to physical file paths.
        # Update Your Joomla! Directory (just / for root)

        RewriteBase /


        ########## Begin - Joomla! core SEF Section
        #
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_URI} !^/index.php
        RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
        RewriteRule (.*) index.php
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
        #
        ########## End - Joomla! core SEF Section





        share|improve this answer













        I found the solution, just add replace this code in your .htaccess file:



        AddHandler x-httpd-php5 .php
        AddHandler x-httpd-php .php4
        ##
        # @version $Id: htaccess.txt 14401 2010-01-26 14:10:00Z louis $
        # @package Joomla
        # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
        # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
        # Joomla! is Free Software
        ##


        #####################################################
        # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
        #
        # The line just below this section: 'Options +FollowSymLinks' may cause problems
        # with some server configurations. It is required for use of mod_rewrite, but may already
        # be set by your server administrator in a way that dissallows changing it in
        # your .htaccess file. If using it causes your server to error out, comment it out (add # to
        # beginning of line), reload your site in your browser and test your sef url's. If they work,
        # it has been set by your server administrator and you do not need it set here.
        #
        #####################################################

        ## Can be commented out if causes errors, see notes above.
        Options +FollowSymLinks

        #
        # mod_rewrite in use

        RewriteEngine On

        ########## Begin - Rewrite rules to block out some common exploits
        ## If you experience problems on your site block out the operations listed below
        ## This attempts to block the most common type of exploit `attempts` to Joomla!
        #
        ## Deny access to extension xml files (uncomment out to activate)
        #<Files ~ ".xml$">
        #Order allow,deny
        #Deny from all
        #Satisfy all
        #</Files>
        ## End of deny access to extension xml files
        RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
        # Block out any script trying to base64_encode crap to send via URL
        RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
        # Block out any script that includes a <script> tag in URL
        RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
        # Block out any script trying to set a PHP GLOBALS variable via URL
        RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
        # Block out any script trying to modify a _REQUEST variable via URL
        RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
        # Send all blocked request to homepage with 403 Forbidden error!
        RewriteRule ^(.*)$ index.php [F,L]
        #
        ########## End - Rewrite rules to block out some common exploits

        # Uncomment following line if your webserver's URL
        # is not directly related to physical file paths.
        # Update Your Joomla! Directory (just / for root)

        RewriteBase /


        ########## Begin - Joomla! core SEF Section
        #
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_URI} !^/index.php
        RewriteCond %{REQUEST_URI} (/|.php|.html|.htm|.feed|.pdf|.raw|/[^.]*)$ [NC]
        RewriteRule (.*) index.php
        RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
        #
        ########## End - Joomla! core SEF Section






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 8 '12 at 22:02









        user1505569user1505569

        112




        112



















            protected by Brad Larson Feb 9 '14 at 22:32



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            Xamarin.iOS Cant Deploy on Iphone

            Glorious Revolution

            Dulmage-Mendelsohn matrix decomposition in Python