Menu Content

Support

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

JoomSef works briefly then stops
(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: JoomSef works briefly then stops

JoomSef works briefly then stops 17 years, 7 months ago #1881

Pleeeeeze help. I have tried everything and cant seem to get JoomSef to work properly. When I enable the core sef and JoomSef it works but when I close my browser and try to access the site again my whole site goes down. Any Ideas would really be appreciated as I really getting frustrated.

my .htaccess file is set as follows.

 
## OpenSEF Simplified htaccess File

## Can be commented out if causes errors
Options +FollowSymLinks
 
## mod_rewrite in use
RewriteEngine On
 
## If Joomla is installed in the web server root
## RewriteBase /
## If Joomla is installed in a sub-directory
## RewriteBase /directory_name_here
RewriteBase /sapokershop
 
########## Begin Standard SEF Section
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/sapokershop/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php

########## End Standard SEF Section

## Begin 3rd-Party or OpenSEF Section
RewriteCond %{REQUEST_URI} ^(/sapokershop/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
## End 3rd-Party or OpenSEF Section

## Joomla Security Section (has nothing to do with SEF/SEO)
## 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 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

Thanks in advance for any help.

Re:JoomSef works briefly then stops 17 years, 7 months ago #1882

  • Xel
  • OFFLINE
  • Posts: 3
I do not know much bout your site - nor did you say what particular error appeared - so I can only tell you which problem I had and how i solved it:

As I set up JoomSEF with my installation at a server i access by IP while the server already has a name I found out, that using the IP when the server knows its name leads to the following:

JoomlaSEF and JoomSEF activated
accessing xxx.xxx.xxx.xxx/jom/ => Works
accessing xxx.xxx.xxx.xxx/jom => leads to redirection loop

JoomlaSEF activated and JoomSEF deactivated
accessing xxx.xxx.xxx.xxx/jom/ works as before
accessing xxx.xxx.xxx.xxx/jom => leads me to server.name/jom/

since I had to use the IP for special reasons I changed the name of the server into its IP-Adress and everything worked quite well since that.

If you experiance infinite loops while accessing your site with enabled JoomSEF just try disabling JoomSEF and look what happens with the URL when you access your folder without tailing slash.

I hope this could be of any helo to you.

Re:JoomSef works briefly then stops 17 years, 7 months ago #1940

  • jaku
Hello,

your posted .htaccess seems quite okay to me.

However I would check 2 things first of all:
1. that your RewriteBase should really be /sapokershop
(is your site base URL somesite.xy/sapokershop?)

2. I would try to comment out the line
RewriteCond %{REQUEST_URI} ^(/sapokershop/component/option,com) [NC,OR] #optional - see notes##

But the whole thing about site going down after closing the browser is quite strange. I really cannot see any relation between your browser and closing it and Joomla! site running on some remote server. Could you please explain closer, what do you mean by "server goes down"?

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