Welcome, Guest
Username Password: Remember me

htaccess file conflict only after I have upgraded to 1.0
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: htaccess file conflict only after I have upgraded to 1.0

htaccess file conflict only after I have upgraded to 1.0 12 years, 1 month ago #7645

  • dcox007trg
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
On my other sites this program has been GREAT!

Desk top display in Google Chrome and Safari does not work mobile does work
Site is Dirtyguy.com
Mobil display with droid and IPhone does work on the mobile device if I change to standard view it will not display on a mobil device.
I have the following situation.
Godaddy hosting. Have done the manual load for wurful extracted on the server.

I upgraded to newest version one of. It worked. Had a problem with other components. Rolled back the history a day and then reinstalled Mobil Joomla.  Then I could not get the desktop version to work

Site worked fine on mobile devices not on Desktop browser
Found this item to possibly correct the issue, but it did not fix it.

"Just make plugins/system/mobilebot.php to be empty, and then try to install/uninstall MJ again."
Set mobile bot. php to no and reinstalled mobilebot is now x’d out
No change when back and did the following
Uninstalled Mobile Joomla! Version 1 February 2012
Uninstalled mobile YouTube
Reinstalled from the file Mobile-Joomla.1.0.tar.gz with the extracted and tera_dump.sql is still on the root directory of the server.
Always.php is turned off
With mobile bot turned off no desk top browser visibility 
Mobilbot turned on works with droid and I phone
Cleared cache in Google Chrome
Using Joomla 1.5.22 PHP 5, cu
Server Caching is off
When I turn off “Search Engine Friendly URLs” in the server settings the site finally displays in a desk top browser.

I have iJoomla SEO installed.

So I assume the Mobil Joomla is bumping into a setting on my .htaccess file

Prior to the newest version of Mobil Joomla the following accees file worked. 
Any ideas of what to change. I do not know what ways it works? I want to be able to continue with some type of SEF and not starting with WWW.
Here is my access file data below.




AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4




<Files php.ini>
order allow,deny
deny from all
</Files>




##
# @version $Id: htaccess.txt 9100 2007-10-01 22:29:10Z jinx $
# @package Joomla
# @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
# @license www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##




#Match all www and do a permanent redirect from www.example.com to example.com
RewriteCond %{HTTP_HOST} ^www\.(.*) [NC]
RewriteRule ^(.*)$ %1/$1 [R=301,NC,L]




#####################################################
#  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.
#
# Only use one of the two SEF sections that follow.  Lines that can be uncommented
# (and thus used) have only one #.  Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
#####################################################




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




#
#  mod_rewrite in use




RewriteEngine On








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




RewriteBase /




#Make sure this is commented and not active, otherwise nothing will work.
#Options +FollowSymLinks




#Uncomment all RewriteCond and RewriteRule in this section
########## Begin - Joomla! core SEF Section




########## End - Joomla! core SEF Section




#Uncomment all RewriteCond and RewriteRule in this section
########## Begin - Rewrite rules to block out some common exploits




########## End - Rewrite rules to block out some common exploits
















########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
#
########## End - Joomla! core SEF Section








########## 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

Re: htaccess file conflict only after I have upgraded to 1.0 12 years, 1 month ago #7651

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4866
  • Karma: 105
When I turn off “Search Engine Friendly URLs” in the server settings the site finally displays in a desk top browser.

Looks like it's result of a kind of caching (maybe apache's mod_cache, maybe frontend/reverse proxy, etc).

PS. .htaccess doesn't affect MJ. iJoomlaSEO could, but it's easily to check, just set its order to -100 (MobileJoomla has order -99, so MJ will be run after iJoomlaSEO).

Re: htaccess file conflict only after I have upgraded to 1.0 12 years, 1 month ago #7658

  • dcox007trg
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Well i got to this point but not sure what to do to correct it. In Global configuration > Cache Settings set to no and below that Session Settings I set to 0.. I went to Cache Manager - Clean Cache Admin and cleared that, the went to Cache Manager - Purge Cache Admin. No change not sure what else to do. I would love any ideas. I am not a server expert.

Re: htaccess file conflict only after I have upgraded to 1.0 12 years, 1 month ago #7659

  • dcox007trg
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
I have changed the access file name and with that inactive it still does not work. I need to figure out the part about setting the order you refer to. Again thank for the fast response.

Re: htaccess file conflict only after I have upgraded to 1.0 12 years, 1 month ago #7663

  • dcox007trg
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
I did not fully understand were to look.  In Plugin Manager I went and set iJoomla SEO to -100  called file ijseo  Then set Mobile Joomla! to -99 file name mobilebot. In Module Manager  Mobile Menu is set to 0 for file name mod_mj_menu. The version of  ijoomla_seo is version 1.0.8. Also when I turn off iJoomla SEO  in plug in manager the site still will not display. I may be miss understanding your direction.

Re: htaccess file conflict only after I have upgraded to 1.0 12 years, 1 month ago #7678

  • dcox007trg
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Please consideer this matter resolved. I had also been working on virtumart. When I turn off all the virtuemart settings the full front end of the site works. The fact that the mobil site worked and the other did not. Added with having just up dating Mobil Joomla I thought it was with this program. So please concider the issue closed since it now works and I need to figure out What is configured wrong with virtue mart. The SEF works and both mobile and the desktop site work. 
  • Page:
  • 1
Time to create page: 0.12 seconds

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.