Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Install error - I need help
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Install error - I need help

Install error - I need help 16 years, 4 months ago #4534

Hello

I have just installed JoomSEF 3.1.2 but when I go to my website the browser comes up with following error message:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log."

After installing JoomSEF 3.1.2 it also created a .htaccess file in my Joomla. Now I got both a file called htaccess.txt and a file called .htaccess. It also came up with following rapport:

ARTIO JoomSEF installed succesfully!
You must first edit the configuration, enable it and save before it will become active.
Checking for .htaccess in Joomla! root...
not found.

Successfully created .htaccess file in your Joomla! root with the following content:

<br />
DirectoryIndex index.php<br />
RewriteEngine On<br />
RewriteBase /mexicovask<br />
<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteCond %{REQUEST_URI} !^/index.php<br />
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]<br />
RewriteRule (.*) index.php<br />
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]<br />
<br />
########## Begin - Rewrite rules to block out some common exploits<br />
## If you experience problems on your site block out the operations listed below<br />
## This attempts to block the most common type of exploit `attempts` to Joomla! <br />
# <br />
# Block out any script trying to set a mosConfig value through the URL<br />
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]<br />
# Block out any script trying to base64_encode crap to send via URL<br />
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]<br />
# Block out any script that includes a <script> tag in URL<br />
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]<br />
# Block out any script trying to set a PHP GLOBALS variable via URL<br />
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]<br />
# Block out any script trying to modify a _REQUEST variable via URL<br />
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})<br />
# Send all blocked request to homepage with 403 Forbidden error!<br />
RewriteRule ^(.*)$ index.php [F,L]<br />
# <br />
########## End - Rewrite rules to block out some common exploits<br />
Please check that the RewriteBase directive path is set correctly and matches your configuration.



What has gone wrong and why does it not work?

Re:Install error - I need help 16 years, 4 months ago #4540

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

I've already replied in e-mail:
"Please, check that your server hosting allows the .htaccess file usage and that it has the mod_rewrite installed in Apache."

Best regards,
ARTIO Support Team
ARTIO Support Team

Re:Install error - I need help 16 years, 4 months ago #4552

My webhost is Gigahost which has just confirmed that they course, both have htaccess and mod_rewrite enabled for all servers.

I have tried to do the same install procedure on my webshop located on my local WAMP server. Here the probleme is the same. The only thing changing anything is if I delete .htaccess file so I can enter the site again both frontend and backend - and even open ARTIO JoomSEF component in the backend. But it is surely not what is supposed to be?

Could it perhaps instead be something in htaccess.txt to be amended?
Or perhaps a combination of things in both. htaccess and htaccess.txt to be amended?

My htaccess.txt file looks like this:


##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license 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!
#
# Block out any script trying to set a mosConfig value through the URL
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
Last Edit: 16 years, 4 months ago by Lakaj.

Re:Install error - I need help 16 years, 4 months ago #4556

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

The htaccess.txt file does not have any effect on configuration. It's there just as an example of how the real .htaccess file should look like.
In your .htaccess, try commenting out the DirectoryIndex index.php line. If that doesn't help, try using the default htaccess.txt configuration instead of the one created by JoomSEF. Also, try disabling JoomSEF and make the standard Joomla's SEO work first. If that doesn't work, please, discuss the .htaccess file content with your webhost.

Best regards,
ARTIO Support Team
ARTIO Support Team
  • Page:
  • 1
User Login Empty